[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>
! W' K w3 g; f9 f( X$ z4 m- <!-- startup view settings for 'little planet view' (stereographic=true + fisheye=1.0 + fov>120 + vlookat>70) -->. Z* o9 K! F2 D8 n$ `) z" G: s
- <view stereographic="true"
' c% M; a$ W. r6 k4 i2 P/ Y) v- T - fisheye="1.0"
* i6 w+ `" \. ?! s - fov="155" 3 @7 j+ e. i7 d0 }1 {9 z, z% P
- fovtype="VFOV"
0 Z2 o, m) f H; m( m7 P - fovmax="150"
! v; q4 B, ~' i2 x - hlookat="-60"
/ X% A0 w9 C2 v# x+ Y T - vlookat="77" /> 4 }! |; t7 u z) v$ D7 b& S& _
- 插入到tour.xml中
8 t+ \0 B# P; T4 K, G - <!-- 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 -->
5 _4 G* F" `% X3 n7 W - <display flash10="off" details="24" />
. C; u. j" y# [* @+ b( r& N - <!-- when the loading is done, wait 2 seconds and then start with the animation to an normal view -->
6 h' W' Q+ E# R/ ` - <events onloadcomplete="delayedcall(2.0, normalview());" />
# K0 P, E \) q7 W) r) h: f - <action name="normalview">
6 H1 G6 m' P0 x- ] - tween(view.hlookat, -40, 2.5, easeInOutQuad);
# p3 W6 H3 B% g" S. A; q - tween(view.vlookat, -35, 2.5, easeInOutQuad);
' `1 y: o K4 e$ y - tween(view.fov, 85, 2.5, easeInOutQuad); 7 H& Q5 N: s% J0 j
- tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
* r9 Y$ ~: o3 z# B - wait(2.7);
0 p* S% i# w# y& S8 P! \ - set(display.flash10, on); ( K0 ]( B# J) k* ?/ V4 ?
- </action>
复制代码
6 T0 T0 k2 D8 n
+ x5 E, }. |4 Z# f7 W |