[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>9 e+ m. {( R& {- Z4 ~
- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->7 m4 c( G( ?, z" W. h$ d( z; ]
- <view stereographic="true" ( a$ l2 c& ]/ x8 d$ |+ |& v: k9 x
- fisheye="1.0"
7 b# v- P6 A- D) N+ D% F - fov="155" 5 l0 b4 w) e Z' l5 M. N& q6 s9 e
- fovtype="VFOV" , {# N( R; L) N3 H, k7 c/ X$ ]' D
- fovmax="150"
2 d+ ^7 T$ K8 E$ k9 Y - hlookat="-60"
# h$ X, @0 X4 S2 K" s - vlookat="77" /> : c, J! F0 w, p+ h
- 插入到tour.xml中 i- l( } C0 k
- <!-- 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 -->4 W/ P7 |* g* d% H; F7 ^; T
- <display flash10="off" details="24" />
2 r0 b+ l7 c2 X" q: u - <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view -->
6 M$ S/ \6 o' X6 w0 j* @$ F - <events onloadcomplete="delayedcall(2.0, normalview());" /> 4 U3 {* _ I3 i* p; K
- <action name="normalview">
+ D6 f. ]# Y) }' l p- M1 T - tween(view.hlookat, -40, 2.5, easeInOutQuad); 2 O* H/ c' _& g: D
- tween(view.vlookat, -35, 2.5, easeInOutQuad);
' f% P0 l+ ^! B) _' X - tween(view.fov, 85, 2.5, easeInOutQuad);
0 \5 ^" @: [7 s7 A; U T - tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
, h% w& T& y3 x& N2 T( d( `0 c - wait(2.7); - r7 O. v2 x& `1 U% F
- set(display.flash10, on); & |( c* d4 K1 u% J4 C' [: p' d
- </action>
复制代码 + ?- `- w2 R! k! S' B1 ^
, T \$ _0 d& L |