[html] view plaincopyprint? 插入到scene标签中 <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) --> <view stereographic="true" fisheye="1.0" fov="155" fovtype="VFOV" fovmax="150" hlookat="-60" vlookat="77" /> 插入到tour.xml中 <!-- fisheye and little planets projections are needing more cpu rendering performance, to reduce the cpu need and get better performance and frame rate, switch to Flash9 rendering while in fisheye/littleplanet/stereographic mode --> <display flash10="off" details="24" /> <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view --> <events /> <action name="normalview"> tween(view.hlookat, -40, 2.5, easeInOutQuad); tween(view.vlookat, -35, 2.5, easeInOutQuad); tween(view.fov, 85, 2.5, easeInOutQuad); tween(view.fisheye, 0.0, 2.5, easeInOutQuad); wait(2.7); set(display.flash10, on); </action>
$ |$ {4 d3 f2 S% c9 R+ x0 g# z/ h- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->
; [2 p5 v/ ]& N' U- V - <view stereographic="true" 9 c( n3 F- G5 l- r I
- fisheye="1.0" 0 ]: A8 r; M8 y. z
- fov="155" + W5 {( u1 H5 c7 n
- fovtype="VFOV" % Z0 E/ C; E$ ?9 y* Y! s
- fovmax="150"
8 K' o, x; @! O9 Q7 X6 @) r - hlookat="-60"
7 A e1 z/ g: x- b( i - vlookat="77" /> ( |3 t+ C$ ?/ U2 r0 y0 O
- 插入到tour.xml中
4 s- G2 x& r8 d# h" Q+ k$ V% h - <!-- fisheye and little planets projections are needing more cpu rendering performance, to reduce the cpu need and get better performance and frame rate, switch to Flash9 rendering while in fisheye/littleplanet/stereographic mode -->0 t0 c5 N! Z' V
- <display flash10="off" details="24" />
, L, k: Q: o' s1 A8 ] - <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view --> $ x. N0 D! E' `$ ?
- <events onloadcomplete="delayedcall(2.0, normalview());" />
6 G' C. Y! G0 e. s - <action name="normalview"> , M) \* ?/ j( R8 M1 z7 E
- tween(view.hlookat, -40, 2.5, easeInOutQuad); y/ j0 ~, ]0 O: N/ i6 ^; m
- tween(view.vlookat, -35, 2.5, easeInOutQuad); 1 @9 X% |/ X7 K! T' U
- tween(view.fov, 85, 2.5, easeInOutQuad); 4 C* R1 H N* v8 J. M( s3 @
- tween(view.fisheye, 0.0, 2.5, easeInOutQuad); - y; c" j+ @. r1 N/ i
- wait(2.7);
3 D5 |, k' u* [1 I- ~ - set(display.flash10, on); " v" Z6 w/ S) |5 I$ T; }" X1 U* e
- </action>
复制代码
/ f( O8 x) C5 I" f6 `- C& W
1 [9 O) X [3 f; X" ^- J/ C9 S |