[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>& k. i' G& \: f0 r
- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->
6 H, L3 A" n4 {5 }: U - <view stereographic="true" * X/ V/ N. z1 a- ?3 Z* a& B0 b" v
- fisheye="1.0"
& g( M/ h7 @2 O& w - fov="155" 5 `; n) a" [/ n7 }
- fovtype="VFOV"
- M! `" X. H4 `7 N - fovmax="150"
( r' u; P9 }3 Z - hlookat="-60"
8 ^- |* t6 q4 w: Z4 L, s1 `! y - vlookat="77" /> 4 J) G0 c) y" K L9 A: x4 o
- 插入到tour.xml中
4 U3 X$ r$ R" } - <!-- 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 -->. n+ Y$ w# |- }& x9 r" W* g/ h
- <display flash10="off" details="24" />
9 F( C# Q$ k$ E; J9 R s, V2 H! Z - <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view -->
7 T# W3 O/ C3 W( u, m$ T - <events onloadcomplete="delayedcall(2.0, normalview());" />
0 m- x; C* L, F/ O - <action name="normalview"> : X" l- b7 ]7 @% ^# s# q3 Z5 A
- tween(view.hlookat, -40, 2.5, easeInOutQuad);
+ g4 [4 \' G- F# S& A. X - tween(view.vlookat, -35, 2.5, easeInOutQuad);
* ]3 l4 x7 h' b% B( j/ g- ^ - tween(view.fov, 85, 2.5, easeInOutQuad);
* c; R G" Q) ~; t5 t: M$ n - tween(view.fisheye, 0.0, 2.5, easeInOutQuad); ; ]! T2 N) e: ?8 \2 S7 |- X2 o8 p
- wait(2.7); ) t+ y. S @8 T' a: S8 V2 z, a2 G
- set(display.flash10, on);
9 F; H" E1 `: ]! | - </action>
复制代码 5 n& P0 y% v2 l6 J; c( B; D
' A# F0 v4 l0 h; t( i |