[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 k2 n- A3 s' z' ?2 j& y2 C- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->
, O4 \: M! j$ Y- H" ` - <view stereographic="true" ; _9 | _ W- K
- fisheye="1.0" 9 A2 V8 t0 M% I: S
- fov="155" 2 [. Q6 G9 u* P3 i7 R* L
- fovtype="VFOV"
7 [' Z% E2 W6 p4 O3 A - fovmax="150" " T% w0 @# H; c" N
- hlookat="-60"
: _9 n+ v1 q* i - vlookat="77" /> % m8 Q' J. g! F( g5 y5 n0 n
- 插入到tour.xml中
8 E: i3 J+ ^6 \6 H' J - <!-- 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 -->1 S# f) \& R- c A, _( n
- <display flash10="off" details="24" /> 8 U& ?: z2 @; J* J) a# C
- <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view -->
7 Y a1 d8 W- u. ~1 S - <events onloadcomplete="delayedcall(2.0, normalview());" /> 3 T; L6 m) f' d, a1 r0 }* i& _
- <action name="normalview">
9 A- r; B4 K: L5 X3 b: I - tween(view.hlookat, -40, 2.5, easeInOutQuad); - q2 x9 L, n/ q" B0 f8 y, Q
- tween(view.vlookat, -35, 2.5, easeInOutQuad);
; {, [1 r( P2 j, E' f% y - tween(view.fov, 85, 2.5, easeInOutQuad);
4 x" q1 ^6 I. L, q6 E6 }6 F - tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
! Y) Q3 \; V$ O N - wait(2.7);
6 B$ {+ i- V7 P9 o( i7 e3 n" W - set(display.flash10, on);
7 J' I) F0 e g, k5 w" P/ N - </action>
复制代码
. c* U: b3 F" F2 L; C& Y3 m( W. c! w8 |9 j8 u% k
|