[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>4 U* n& m' \ f
- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->% @2 X4 \3 o3 L X# `: D+ Q
- <view stereographic="true" 1 m- D6 t! j0 n, d
- fisheye="1.0"
& K& _( l6 w+ i; _4 \) N - fov="155" / ?; B% a3 P3 O b; E2 j- S# S: I
- fovtype="VFOV" 3 }: J3 J! I1 O7 `
- fovmax="150"
( I- L+ N( G1 o q" l - hlookat="-60"
7 T0 G4 i2 w" E, I) e7 b& k - vlookat="77" /> $ H! O8 B7 A% g+ u! Q
- 插入到tour.xml中
9 y4 `. k2 S0 C$ C1 A - <!-- 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 -->+ j" M3 q# E, I/ p9 t! U
- <display flash10="off" details="24" /> 8 \6 w+ t) z1 ]* ?+ ^, G- \) i" [& n
- <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view -->
5 j, r; J9 T r* l - <events onloadcomplete="delayedcall(2.0, normalview());" /> e- @: X! C) ^, P5 f& ~
- <action name="normalview"> ! s) `, ~# W6 [) ` j& D
- tween(view.hlookat, -40, 2.5, easeInOutQuad);
6 j: Z9 Q6 E& l: V4 f - tween(view.vlookat, -35, 2.5, easeInOutQuad); . {( D0 i# G) H/ w9 ~9 d4 r$ y
- tween(view.fov, 85, 2.5, easeInOutQuad); , {+ h* G: v0 j d( c
- tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
, |; p- h( a" Q3 O! z) m - wait(2.7); ' [, T6 B3 Z& Q. t! V: u. d0 ^
- set(display.flash10, on); 8 s4 C+ y) _0 \+ X% `$ ?/ u* _
- </action>
复制代码 " Z+ G& k7 P0 p; z* h5 W
# T( {" b) X+ W; U! f+ w: R8 ?3 V |