[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>! H$ V! d! S/ i5 T
- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->" ~2 |4 Z; n5 O! A9 z, @
- <view stereographic="true" 1 [9 ]* Q% k6 @- Q- G# O, U
- fisheye="1.0" 1 C' z+ |" Y1 u6 L
- fov="155"
1 f- I* H# L: r3 _- r - fovtype="VFOV" 1 z* o) n% d m1 u1 U7 W* B
- fovmax="150"
0 b, s0 j0 j3 F' n - hlookat="-60"
! X! l4 V" j* k, j8 ^# Z) h - vlookat="77" />
/ Z7 O2 R, K$ R3 ] - 插入到tour.xml中
& V& q% L1 Q) c- w - <!-- 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 -->
3 n8 m+ z5 V0 d8 P# B - <display flash10="off" details="24" />
2 a# y7 `& H6 _; ? D - <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view -->
) e( U8 z y+ A+ ^" I - <events onloadcomplete="delayedcall(2.0, normalview());" />
% K0 A7 K) h( U! a7 B9 d7 f - <action name="normalview"> 2 o; j+ z& ^7 e1 t7 j1 T$ X# X
- tween(view.hlookat, -40, 2.5, easeInOutQuad); ; ]5 W( d$ M. e6 q; ]1 w
- tween(view.vlookat, -35, 2.5, easeInOutQuad);
7 p2 h; V K" K1 Q; t" E9 I2 N# b - tween(view.fov, 85, 2.5, easeInOutQuad); 4 H& y9 e! S5 G0 ~- T8 w
- tween(view.fisheye, 0.0, 2.5, easeInOutQuad); " w# N* ]& R0 n# f) M
- wait(2.7);
! o1 L# u) T7 y - set(display.flash10, on); # z& S! b. h( G* t( {
- </action>
复制代码
s4 i F! x, f' K6 b, t
% V0 E7 h0 B! N$ r: ]0 e |