[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>, l- r: b2 R1 L3 i' A
- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->3 |* N: R/ y- U- P; J
- <view stereographic="true" ' k: Y8 x7 `& E' f. S
- fisheye="1.0" + i( G" o E# j1 _
- fov="155" " R% w. J( j( r8 W( e* J
- fovtype="VFOV" Q9 T, Q3 R7 M" W" `( }
- fovmax="150" 4 l: R& t) g* E# V
- hlookat="-60"
/ e$ [2 U, _8 N9 X/ _$ k9 m - vlookat="77" />
. d4 i* e% Z' r9 ]4 m' b$ B; B5 h - 插入到tour.xml中
& s2 q3 ~& I4 i! @) F+ @& 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 -->
Q9 Y7 s. ^- z( q+ ^( @ - <display flash10="off" details="24" /> ) g" d+ Y; _5 H
- <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view --> 7 F% k$ D, y+ K! K/ Z; d) ^
- <events onloadcomplete="delayedcall(2.0, normalview());" />
* h: h. i# A0 O6 ]3 U$ _ - <action name="normalview">
, R% ]' g) Y# D+ m6 ~6 i - tween(view.hlookat, -40, 2.5, easeInOutQuad);
( A" f, x, M9 t8 v: b/ @' h - tween(view.vlookat, -35, 2.5, easeInOutQuad); 5 E6 `8 o8 k' @
- tween(view.fov, 85, 2.5, easeInOutQuad);
; u* V( a7 o% J8 o - tween(view.fisheye, 0.0, 2.5, easeInOutQuad); + q5 _! E. ?) e. _! f7 I
- wait(2.7); " R. v9 w5 D$ _7 y3 J. [; X
- set(display.flash10, on); 3 F) h+ o$ V5 g' ?* D
- </action>
复制代码
" A6 h% M( D$ g: D* I( y/ Y/ r$ C5 U: ]5 \: z- g2 ]* S$ ^ c3 H/ X
|