You are not logged in.

gabriel

Beginner

  • "gabriel" started this thread

Posts: 28

Location: Paris, France

Occupation: photographer

  • Send private message

1

Wednesday, January 20th 2016, 12:09am

How to go to a "normal" view, once the intro effects are finished ?

Hi All,

i have make a tour with intro effects, who works well, but i don't know how to switch to "normal" view when they are finished,
here is my code :

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!-- startup action - load the first pano/scene -->
<action name="startup" autorun="onstart">
if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); );		
loadscene(get(startscene), null, MERGE);		
if(startactions !== null, startactions() );	
</action>	<events onloadcomplete="delayedcall(0.0, vue_1());  delayedcall(6, vue_2());  delayedcall(10, vue_3()); delayedcall(10, vue_4());" />		

<action name="vue_1">		
tween(view.hlookat, 0, 4, easeOutBack);		
tween(view.vlookat, -90, 4, easeOutBack);		
tween(view.fov,    360,  5, easeInCirc);	
tween(view.fisheye, 1, 5.25, easeInOutQuad);		
tween(vlookat_moveforce,+1);	</action>

<action name="vue_2">		
tween(view.hlookat, 0, 5, easeOutBack);		
tween(view.vlookat, -90, 4, easeOutBack);		
tween(view.fov,    360,  10, easeInCirc);	
tween(view.normal, 10, 10, easeInOutQuad);		
tween(vlookat_moveforce,-1, 10); );	</action>

<action name="vue_3">
tween(view.hlookat, 0, 5, easeOutBack);
tween(view.vlookat, 0, 4, easeOutBack);
tween(fovtype, MFOV, 4, easeOutBack);
tween(view.fov,    120,  10, easeInCirc);
tween(view.normal, 10, 10, easeInOutQuad);
</action>				

<action name="vue_4">
skin_view_look_straight();	
tween(view.architectural, 0.0, distance(1.0,0.5));		
tween(view.pannini,       0.0, distance(1.0,0.5));		
tween(view.fisheye,       0.0, distance(1.0,0.5));		
tween(vlookat_moveforce,+0.5, 3);
</action>



<scene name="scene_equi-02_final" title="equi-02 final" onstart="" thumburl="panos/equi-02_final.tiles/thumb.jpg" lat="" lng="" heading="">
<view stereographic="true" fisheye="100" hlookat="180" vlookat="90" fovtype="VFOV" fov="360" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/equi-02_final.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512">			
<level tiledimagewidth="6144" tiledimageheight="6144">
<cube url="panos/equi-02_final.tiles/%s/l4/%v/l4_%s_%v_%h.jpg" />			
</level>			
<level tiledimagewidth="3072" tiledimageheight="3072">				
<cube url="panos/equi-02_final.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />			
</level>			
<level tiledimagewidth="1536" tiledimageheight="1536">				
<cube url="panos/equi-02_final.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />			
</level>			
<level tiledimagewidth="768" tiledimageheight="768">				
<cube url="panos/equi-02_final.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>		
</image>
		<!-- place your scene hotspots here -->


Thanks for your help and have a nice day.

Gabriel.

Similar threads