[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>; Z' H4 `0 O8 \2 z/ o
- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->4 c: X7 v# J" i( f
- <view stereographic="true"
. j: D+ c& T$ U9 R# D# n - fisheye="1.0"
; U7 [! I7 e, K8 Z7 ` - fov="155" 3 R' s- R3 v* R# e& {
- fovtype="VFOV"
* W. _; H0 h- ?$ B5 S5 ^, X! B - fovmax="150" , W; ?' ?' U. g5 c& Z8 w
- hlookat="-60"
# d: N! O, A0 L - vlookat="77" /> . d. x. W9 z- t* z, [7 C2 t
- 插入到tour.xml中
( s( Z! H/ e" \ - <!-- 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: [0 \* L- J4 G- [9 W% V
- <display flash10="off" details="24" /> 3 C! ?) N1 `8 ~" F
- <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view --> 2 I: U3 `4 S$ G4 U
- <events onloadcomplete="delayedcall(2.0, normalview());" />
0 l* W" T1 j4 J6 S# A" p S - <action name="normalview">
. f2 D8 ?3 w M- R - tween(view.hlookat, -40, 2.5, easeInOutQuad);
. k8 _& U" d5 e& M* Y0 g+ S- k - tween(view.vlookat, -35, 2.5, easeInOutQuad); ' E4 v1 ~0 Q$ c' J& g: M
- tween(view.fov, 85, 2.5, easeInOutQuad); ; O7 d* O" P3 q4 y1 @3 S* S, X1 A
- tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
/ i- i$ f t+ j1 a# d( }0 B - wait(2.7);
+ S4 c' w, p" X5 A! Y- Q5 W$ b0 A. H - set(display.flash10, on);
, z& c6 r: L6 s3 q3 }) N - </action>
复制代码 ( E' P2 f+ V: a5 g" Q
/ t" F1 l% {6 q |