Sie sind nicht angemeldet.

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

1

Montag, 15. Februar 2010, 15:20

hotspot not working... area..

Yo,

i'm a bit expermenting with the area tag.. GREAT!!!

now i have a problem..

This is working... *confused*

Quellcode

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
<action name="moveto3">
	action(startloading);
	action(close menu);
	lookto(40,20,20,smooth(20,20,20));
	
	action(load3);
	lookat(0,0,40);
	wait(load);
	
	action(loadingdone);
		
	</action>


<hotspot name="horn"
	         keep="false"
	         visible="true" enabled="true" handcursor="true" capture="true" children="true"
 	         zorder="0"
	         fillcolor     ="0xffffff" fillalpha     ="0.00" borderwidth     ="0.0" bordercolor     ="0xffffff" borderalpha     ="0.00"
	         fillcolorhover="0xffffff" fillalphahover="0.20" borderwidthhover="0.0" bordercolorhover="0xffffff" borderalphahover="0.00"
	         fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
	         onover=""
	         onhover="showtext(Specificaties)"
	         onout=""
	         ondown=""
	         onup=""
	         onclick="delayedcall(1, lookto(20,6,51,smooth(10,10,10)););
	tween(area.x, 10);tween(area.y, 10);tween(area.width, 70%);tween(area.height, 70%);tween(plugin[specs].alpha,1,1);
	set(plugin[border_top].visible,true);
		set(plugin[border_bottom].visible,true);
		set(plugin[border_left].visible,true); 
		set(plugin[border_right].visible,true); 
	delayedcall(2,set(plugin[specs].visible,true);tween(plugin[specs].alpha,1,1); ):
		"
	         
		>
		
		<point ath="  8.1965" atv=" 17.9662" />
		<point ath="  9.3699" atv=" 17.5584" />
		<point ath=" 10.5986" atv=" 16.8493" />
		<point ath=" 11.7547" atv=" 15.8985" />

..........


	



and this not:

Quellcode

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
<action name="moveto3">
	action(startloading);
	action(close menu);
	lookto(40,20,20,smooth(20,20,20));
	
	action(load3);
	lookat(0,0,40);
	wait(load);
	delayedcall(1, lookto(20,6,51,smooth(10,10,10)););
	tween(area.x, 10);tween(area.y, 10);tween(area.width, 70%);tween(area.height, 70%);tween(plugin[specs].alpha,1,1);
	set(plugin[border_top].visible,true);
        set(plugin[border_bottom].visible,true);
	set(plugin[border_left].visible,true); 
	set(plugin[border_right].visible,true); 
	delayedcall(2,set(plugin[specs].visible,true);tween(plugin[specs].alpha,1,1); ):
		
	action(loadingdone);
		
	</action>
	




<hotspot name="horn"
	         keep="false"
	         visible="true" enabled="true" handcursor="true" capture="true" children="true"
 	         zorder="0"
	         fillcolor     ="0xffffff" fillalpha     ="0.00" borderwidth     ="0.0" bordercolor     ="0xffffff" borderalpha     ="0.00"
	         fillcolorhover="0xffffff" fillalphahover="0.20" borderwidthhover="0.0" bordercolorhover="0xffffff" borderalphahover="0.00"
	         fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
	         onover=""
	         onhover="showtext(Specificaties)"
	         onout=""
	         ondown=""
	         onup=""
	         onclick=""
	         
		>
		
		<point ath="  8.1965" atv=" 17.9662" />
		<point ath="  9.3699" atv=" 17.5584" />
		<point ath=" 10.5986" atv=" 16.8493" />
		<point ath=" 11.7547" atv=" 15.8985" />
		<point ath=" 12.6580" 


it's when you are in the lamborghini and you click on the horn ( in the middle of the stearingwheel)..

http://www.virtualtuur.com/helfferich/

any idea??

should i do smwthing with parent or children? ..
lately i have more problems getting the hotspots working.... did i miss something?


thanx

Tuur *thumbsup*

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Tuur« (15. Februar 2010, 16:33)


2

Montag, 15. Februar 2010, 21:57

Hi,

what does not work?

when I click the horn the area will be resized and the specificities, the car and a logo will fade-in outside of the area...
(btw - looks great )

best regards,
Klaus

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

3

Montag, 15. Februar 2010, 22:18

Thanx but i want when you enter the car that it already does this area (52 ;-) thing..

so i had this in the action and hotspot and that does not work ?!?!

Quellcode

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
<action name="moveto3">
	action(startloading);
	action(close menu);
	lookto(40,20,20,smooth(20,20,20));
	
	action(load3);
	lookat(0,0,40);
	wait(load);
	delayedcall(1, lookto(20,6,51,smooth(10,10,10)););
	tween(area.x, 10);tween(area.y, 10);tween(area.width, 70%);tween(area.height, 70%);tween(plugin[specs].alpha,1,1);
	set(plugin[border_top].visible,true);
        set(plugin[border_bottom].visible,true);
	set(plugin[border_left].visible,true); 
	set(plugin[border_right].visible,true); 
	delayedcall(2,set(plugin[specs].visible,true);tween(plugin[specs].alpha,1,1); ):
		
	action(loadingdone);
		
	</action>
	




<hotspot name="horn"
	         keep="false"
	         visible="true" enabled="true" handcursor="true" capture="true" children="true"
 	         zorder="0"
	         fillcolor     ="0xffffff" fillalpha     ="0.00" borderwidth     ="0.0" bordercolor     ="0xffffff" borderalpha     ="0.00"
	         fillcolorhover="0xffffff" fillalphahover="0.20" borderwidthhover="0.0" bordercolorhover="0xffffff" borderalphahover="0.00"
	         fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
	         onover=""
	         onhover="showtext(Specificaties)"
	         onout=""
	         ondown=""
	         onup=""
	         onclick=""
	         
		>
		
		<point ath="  8.1965" atv=" 17.9662" />
		<point ath="  9.3699" atv=" 17.5584" />
		<point ath=" 10.5986" atv=" 16.8493" />
		<point ath=" 11.7547" atv=" 15.8985" />
		<point ath=" 12.6580"


btw...This pic in the car is very dusty.. you can seee when your monitor is some more clear in display.. :-( but when my new horizontal pano set up is ready i can do it again..

Thanx for the help..
Tuur *thumbsup*

4

Montag, 15. Februar 2010, 22:30

sorry, I still don't understand - what should it do? (or not?)

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

5

Montag, 15. Februar 2010, 23:17

i just like to make what happens when you click on the horn... that that happens in a moveto action... or just in an action..

like:

<action name="moveto3">
action(startloading);
action(close menu);
lookto(40,20,20,smooth(20,20,20));

action(load3);
lookat(0,0,40);
wait(load);
delayedcall(1, lookto(20,6,51,smooth(10,10,10)););
tween(area.x, 10);tween(area.y, 10);tween(area.width, 70%);tween(area.height, 70%);tween(plugin[specs].alpha,1,1);
set(plugin[border_top].visible,true);
set(plugin[border_bottom].visible,true);
set(plugin[border_left].visible,true);
set(plugin[border_right].visible,true);
delayedcall(2,set(plugin[specs].visible,true);tween(plugin[specs].alpha,1,1); ):

action(loadingdone);

</action>



but that doesn't work...

so that you click on the car, it zoomsin... loads.. pans a bit to the right and then after 3 or 4 seconds does the area trick in one action..

Thanx

Tuur *thumbsup*

6

Mittwoch, 17. Februar 2010, 13:32

Hi,

I'm really sorry, but I still don't understand...

first I click the black Lamborghini,
then it zoom into pano and loads the inside view,
now I click the horn and the area gets smaller and the infos and logos were shown around,
when I click the specs the area will be back to fullscreen,
whats next?

best regards,
Klaus

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

7

Mittwoch, 17. Februar 2010, 15:46

Hi Klaus,

so simple..

i just want that when you click on the car ..that happens what now happens when you click on the horn...

and loads the new pano,... the inside of the car

so in an action (this action is triggerd when you click on the car..!

you click on the car and then it does the area trick and loads a new pano..

<action name="moveto3">
action(startloading);
action(close menu);
lookto(40,20,20,smooth(20,20,20));

action(load3);
lookat(0,0,40);
wait(load);
delayedcall(1, lookto(20,6,51,smooth(10,10,10)););
tween(area.x, 10);tween(area.y, 10);tween(area.width, 70%);tween(area.height, 70%);tween(plugin[specs].alpha,1,1);
set(plugin[border_top].visible,true);
set(plugin[border_bottom].visible,true);
set(plugin[border_left].visible,true);
set(plugin[border_right].visible,true);
delayedcall(2,set(plugin[specs].visible,true);tween(plugin[specs].alpha,1,1); ):

action(loadingdone);

</action>

but this doesn't work this way...
*confused*

Tuur
*thumbsup*

8

Mittwoch, 17. Februar 2010, 16:07

tuur maybe you are trying to many actions. or 1 action is takign to long and thus preventing certain things from happening. sometimes i run into that and have to change the way the action runs or the order in which thigns happen.

Tuur

Erleuchteter

  • »Tuur« ist der Autor dieses Themas

Beiträge: 3 839

Wohnort: Netherlands

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

  • Nachricht senden

9

Mittwoch, 17. Februar 2010, 23:45

mmm that could be ..

but i also have an auto tour in 1 action 13 pano's inclusive tweens an dthe rest...

..

i think i should try to put the first delayed call after the area thing..

but first
*sleeping* *sleeping* *sleeping* *sleeping*


Tuur *thumbsup*

10

Freitag, 30. April 2010, 21:25

Hello,
I have a question, how to add these items like "step out the car"? *w00t* I tried to add it as a normal plugins, but with no results. Is that in xml or html file?
Thanks for any suggestions! *smile*

11

Samstag, 1. Mai 2010, 15:41

Hi
add on plugin

Quellcode

1
2
3
....
parent="STAGE"
....