Hello.
At the beginning of my project
Code
<action name="startup" autorun="onstart">
tween(view.fisheye, 1.0);
if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); );
loadscene(get(startscene), null, MERGE,BLEND(0));
if(startactions !== null, startactions() );
skin_hideskin('instant');
delayedcall(5.0, normalview(););
.......
</action>
I get the planet view in the first scene to the normal view with the following code
Code
<action name="normalview">
tween(view.hlookat, 80, 2.5, easeInOutQuad);
tween(view.vlookat, 25, 2.5, easeInOutQuad);
tween(view.fov, 360, 2.5, easeInOutQuad);
tween(view.fovmax, 140, 2.5, easeInOutQuad);
tween(view.fisheye, 0.0, 2.5, easeInOutQuad);
<!--stereographic="false"-->
</action>
first intro scene
Code
<view hlookat="150.00" vlookat="80.00" fovtype="MFOV" fov="160.00" maxpixelzoom="1.0" fovmin="360" fovmax="160" limitview="auto" />
next scenes
Code
<view hlookat="0.0" vlookat="41.133" fovtype="MFOV" fov="140.000" maxpixelzoom="1.0" fovmin="70" fovmax="140" limitview="auto" />
I have a problem when I call different scenes externally
or
As a result, the direction of the scene takes the value (80,25,140,0,0) in the normalview at the first input:
In short, how can I adjust the directions of the scenes?
Thank you for your help.
Muhammed