[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>* ^3 I7 b& Z/ c: h
- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->9 e5 B, f7 j0 |: o% z w
- <view stereographic="true"
; K2 z: b3 x. x9 i$ w4 ]) s8 t - fisheye="1.0" 1 b% ?. _0 N( S5 {
- fov="155" 6 P+ R8 A. e- t% B
- fovtype="VFOV" 7 k8 Y4 P; w! c* ^% a$ L2 V$ u
- fovmax="150"
* R5 S! i! v7 ?7 s' q( O6 b- r - hlookat="-60"
0 g% G- B# g1 b- {4 X! I8 L - vlookat="77" /> 2 k/ a1 ~6 W: U, X
- 插入到tour.xml中
) E' |, ~( _, ]" R. m - <!-- 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 -->
6 i0 R) u- i9 [9 P1 H; G8 W. }" j$ G - <display flash10="off" details="24" /> ' ~ |( { i! T" g
- <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view --> / F$ d) x$ q- P! w1 W7 m
- <events onloadcomplete="delayedcall(2.0, normalview());" />
! P7 X! r8 m( v5 v0 W3 o. W' A - <action name="normalview"> $ A! p7 n& d5 L
- tween(view.hlookat, -40, 2.5, easeInOutQuad);
7 e1 U7 a6 p$ z: b+ \3 |3 g - tween(view.vlookat, -35, 2.5, easeInOutQuad); 1 t9 {' g! o |, [. D$ k/ D* P
- tween(view.fov, 85, 2.5, easeInOutQuad); ! Y5 L. v, Q& p+ v5 q) z: ?" H8 m
- tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
0 d- o) ?3 G8 ]' J* J9 M - wait(2.7);
" r4 a0 l+ B& v X y - set(display.flash10, on); 7 n7 |! n* b8 p% |) s" c
- </action>
复制代码 : Z& |: a6 H& E6 [4 U
9 u; @1 L: Z# l' p |