[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># g& n" {" i9 g
- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->
# d) N) m' J1 Y' X - <view stereographic="true" 1 Y: U9 P6 g0 f
- fisheye="1.0" 5 a5 ~) t4 A( u
- fov="155"
7 m4 e( B4 G, ^8 |% t - fovtype="VFOV" : `8 z6 @5 [% r, |) k) Y0 p
- fovmax="150"
" ^3 h7 K/ b: g D2 x - hlookat="-60"
$ s- Q2 t2 X" h0 y - vlookat="77" /> 4 U2 V$ {: U& p0 P$ ?- X
- 插入到tour.xml中 2 V, E( P3 ]' [* ^$ \) ]$ i4 B
- <!-- 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 -->5 X" u, v) x3 y+ L, l0 v( T
- <display flash10="off" details="24" />
8 K7 u. H8 x: o/ I* e - <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view -->
1 f+ `# i4 n+ d - <events onloadcomplete="delayedcall(2.0, normalview());" /> - R6 x% O) ^* i' C0 ~1 `9 X1 m: _
- <action name="normalview">
; R% R$ l* {8 k5 K2 b - tween(view.hlookat, -40, 2.5, easeInOutQuad);
* N; I9 [2 D# y4 M! x( ^: j' h - tween(view.vlookat, -35, 2.5, easeInOutQuad); 1 V8 A# r8 q. V M1 |
- tween(view.fov, 85, 2.5, easeInOutQuad); h0 j( i b R6 }# A
- tween(view.fisheye, 0.0, 2.5, easeInOutQuad); 5 c& a/ X) z. c7 ^8 z2 k9 L
- wait(2.7);
, Y' _5 ]; s0 m5 s2 B- K* |3 d - set(display.flash10, on); . ~ h# e, g* O0 V' ~
- </action>
复制代码 ) d2 Y3 k) [, M) S
( L. N, `' E5 O( j9 H, B
|