[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>
- ^2 a1 |- k# E5 w5 R6 v3 p9 n- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->
& y, d% H0 u. k - <view stereographic="true" 2 x0 p7 |' t- u! B) Q8 ~/ S3 l w
- fisheye="1.0" " K- X; o: @* _" N I, p
- fov="155" 7 |5 P7 z9 F7 o0 f
- fovtype="VFOV"
8 k: i; Q9 Y9 h/ G5 a* A% P - fovmax="150"
+ W% [7 J4 k+ I$ |) I - hlookat="-60"
2 R# e- l9 K- d5 C7 M* S9 B% p - vlookat="77" />
& t; G) ~7 V8 A" w" ]' I2 b3 z* S+ p - 插入到tour.xml中 , C& {& Q3 N* s2 c w" K# Z6 v
- <!-- 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 -->
7 M! T! Q* C- X2 ?$ g - <display flash10="off" details="24" /> 2 [$ x4 _+ O" {3 J D
- <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view -->
$ _( b* z3 D# {3 L" H - <events onloadcomplete="delayedcall(2.0, normalview());" /> ; D) j: y1 _ ]& p' Y5 j
- <action name="normalview"> 5 N& P' @5 |* b! i O" e. d
- tween(view.hlookat, -40, 2.5, easeInOutQuad); $ J* p5 W( X$ I7 f- I
- tween(view.vlookat, -35, 2.5, easeInOutQuad);
1 ^8 ~+ F9 t, V1 E8 J& T - tween(view.fov, 85, 2.5, easeInOutQuad);
8 b$ b5 C+ W {! H/ A: ? - tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
! p) n7 N. j: B$ R) D - wait(2.7);
$ v$ D+ d$ p$ ]0 G9 p: t4 X - set(display.flash10, on);
* E6 M; i6 e* m, Y- I; ~% t - </action>
复制代码
1 Q3 [0 |* ^3 Y% r$ T8 u+ y, h0 B2 k/ P) d
|