[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>0 q* s. w( [6 Q# W
- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->$ n! p! C1 L. ?0 X7 u
- <view stereographic="true" 4 {: W3 D( B4 b" ^8 ?
- fisheye="1.0"
" Q9 @; S, b! S7 ~ - fov="155"
- T" j V* k0 I2 p4 P9 s - fovtype="VFOV"
) @( u& q* V& C3 d4 j" l: K5 m7 f - fovmax="150" / R, W, ^8 N5 j4 K9 J
- hlookat="-60" - P& ~% E+ [1 f! S# U4 x H$ j
- vlookat="77" /> % J: s, w% {7 j4 x! [
- 插入到tour.xml中 . y9 Y: B! w2 G& n& H
- <!-- 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 o: W+ v9 d9 `& S - <display flash10="off" details="24" />
0 ? a9 |1 B! ?$ K8 O/ J - <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view -->
7 J& [9 x8 r8 c$ K6 [ - <events onloadcomplete="delayedcall(2.0, normalview());" /> 8 K6 J" S/ H6 ~+ @# ^* L
- <action name="normalview"> ; M1 ] i1 s/ I# S8 ?
- tween(view.hlookat, -40, 2.5, easeInOutQuad); . D! k* ~9 u( Y4 ^
- tween(view.vlookat, -35, 2.5, easeInOutQuad);
, n) D9 v1 A- Y6 ]! H) v - tween(view.fov, 85, 2.5, easeInOutQuad);
: D& P% u0 ^+ n. x0 `* e - tween(view.fisheye, 0.0, 2.5, easeInOutQuad); # T% M0 y9 h a0 b3 d
- wait(2.7); / ~' L# R! Z8 k# r, `+ h4 U1 G) ]- |
- set(display.flash10, on); : r" ^3 e# Y. c8 \: K" C
- </action>
复制代码
/ c( \1 \" d+ w+ y$ J9 D, Z0 q# F6 H0 b2 m7 l
|