[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> D1 M+ A) k7 p& i5 i
- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) --># R+ v: ]0 N4 }; q% C/ D) ]( |
- <view stereographic="true"
9 t1 o$ L$ K0 I' k$ x' H; g - fisheye="1.0"
, t' `/ K: u: N+ Y3 V3 j - fov="155" $ d6 W4 l# [9 }0 T$ v3 i+ c
- fovtype="VFOV" 0 M3 k1 j/ [' k. q3 y+ j
- fovmax="150" 7 W" \! D% t& B( X# n K
- hlookat="-60"
Y# T2 k" v- s) ~) c( P* h1 f - vlookat="77" /> 7 q" d& N ~# O6 v
- 插入到tour.xml中 4 s; x! N9 M2 Y% p
- <!-- 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 -->* N9 X! s; I2 f) S
- <display flash10="off" details="24" /> 9 a2 s3 }. ?8 W: c
- <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view -->
/ W: }+ N: j6 m' v - <events onloadcomplete="delayedcall(2.0, normalview());" />
7 j7 G8 {, w+ h* c - <action name="normalview">
8 w/ @. P+ v$ K5 D' m$ D - tween(view.hlookat, -40, 2.5, easeInOutQuad);
) O: [, @' F1 Z - tween(view.vlookat, -35, 2.5, easeInOutQuad); % w5 P% v2 e" y9 y' E0 u
- tween(view.fov, 85, 2.5, easeInOutQuad);
5 ? A; f, a* \/ t! l7 E - tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
6 {+ B; Y8 y" g% v - wait(2.7); 7 E; F$ w. N0 K
- set(display.flash10, on);
! @4 n( k3 V! A, p. e/ \' @3 a - </action>
复制代码
& D. ]3 D4 b' X/ \* K. `& T: l1 ?% \, J
|