[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>& c( ~6 V$ V0 D+ z" ]2 V
- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->
0 M+ x( W4 ` O5 l" \# I3 u5 b4 W - <view stereographic="true" ( M, R0 N/ z# h$ S* M
- fisheye="1.0"
1 ?* a8 l5 i: y% D( l s0 M - fov="155" 1 d: t/ {3 A7 A* s* L9 [. X
- fovtype="VFOV" 2 y6 @6 T7 T/ B; Y; \/ g
- fovmax="150"
- m, r0 ~3 S" O: O( { - hlookat="-60" 1 d$ h* t& J/ `9 e! x+ H* b2 Y
- vlookat="77" /> ( T0 u8 w1 g1 k; y# w+ X0 t
- 插入到tour.xml中
1 X# Z* \4 L: k$ J4 z - <!-- 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 -->. M6 d+ r+ \, }3 o
- <display flash10="off" details="24" /> # l) h3 ?0 Q9 L0 x+ A- w {- p
- <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view -->
2 k# E! R1 F4 M0 n J+ w: e - <events onloadcomplete="delayedcall(2.0, normalview());" /> # A' N) p. g: L S+ i7 C
- <action name="normalview">
$ Z0 G4 F+ c+ H, T( d - tween(view.hlookat, -40, 2.5, easeInOutQuad);
6 g# _$ N& R. f; p- I - tween(view.vlookat, -35, 2.5, easeInOutQuad); 7 k- u' S6 z# J# s1 q7 n6 a
- tween(view.fov, 85, 2.5, easeInOutQuad); 6 y. f) \' N4 q# E" Z7 u. ~
- tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
7 n* T+ ^2 |' M - wait(2.7); 6 }, K- O6 c) S4 o# L
- set(display.flash10, on);
1 Z0 W2 f6 r4 W2 d5 B - </action>
复制代码 8 j& r$ G8 O0 F6 I+ ~+ i. i1 G w
) {4 i1 x9 C- _: o2 }3 F7 X |