You are not logged in.

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,839

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

1

Thursday, June 18th 2009, 3:32pm

little planet intro

hi,

i use this little planet intro and i like it to end at an certain place...

lookto(0,5,80,smooth(40,40,40))

i put that in the code to normal view

Source code

1
2
3
4
5
6
7
8
<action name="normalview">
		tween(view.fovmax,       155.0, distance(179, 0.9), easeoutquad);
  tween(view.architectural,  0.0, distance(1.0, 0.9, smooth(30,30,30)), easeoutquad);
  tween(view.fisheye,        0.35, distance(1.0, 0.9), easeoutquad);
  lookto(0,5,80,smooth(40,40,40))
   set(plugin[historie5].visible,true);
   
	</action>


and that works all nice but...

all my actions following, when you click on an hotspot to go elswhere take over or add this action lookto... so my question is..

How can i make that the intro moves to a certain point but that not all the following actions also use this parameter..

something like when the intro is finished use normal view 2 and that's without a lookto action...
*confused*


Thanx

Tuur *thumbsup*

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,839

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

3

Thursday, June 18th 2009, 5:56pm

ahh

i think i got it *thumbsup*

tuur
well share your success *whistling* and make us all happy *thumbsup*

Tuur

Sage

  • "Tuur" started this thread

Posts: 3,839

Location: Netherlands

Occupation: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Send private message

4

Friday, June 19th 2009, 1:43am

oke..

in the structure .xml i have this as a start.


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
<view stereographic="true"
		  fisheye="1.0"
		  fov="150"
		  fovmax="150"
		  hlookat="130"
		  vlookat="72"
		  />

<display flash10="off" details="14" />		


	<events onloadcomplete="delayedcall(1, normalview());" />
	
	 <control  movetocursor   ="arrow"/>

   <display
			
			fps="30"
	         details="32"
	         
	         movequality="LOW"
	         stillquality="HIGHSHARP"
	         flash10="off"
	        
	         stilltime="0.25"
			/>
 



and in the tour.xml i have onstart ... action(moveto10)
that's the picture

and then i made an extra action with an other part of the code..

Source code

1
2
3
4
5
6
7
8
9
<action name="moveto10">
action(load10);
wait(3);
    	tween(view.fovmax,       155.0, distance(179, 0.9), easeoutquad);
  tween(view.architectural,  0.0, distance(1.0, 0.9, smooth(30,30,30)), easeoutquad);
  tween(view.fisheye,        0.35, distance(1.0, 0.9), easeoutquad);
  lookto(0,5,80,smooth(40,40,40))
  
		 </action>




so it happend sort of .... *cursing* *confused*

but then i thought ..so i want just this picture as an opening so i could write an dedicated action for it..(( can also make a copy of it and load it from an other location later in the tour))... the human mind is a strange thing *g*

The case is that the normal view is triggered in the action(moveto10) and that's what it is keeping....
But i'm not shure yet if it changing the details to 32 in this case.... and i have to edit the normal view still a bit...

Cheers

Tuur *thumbsup*

Similar threads