You are not logged in.

igor.socha

Intermediate

  • "igor.socha" started this thread

Posts: 177

Location: Tirol, Austria

Occupation: Photographer

  • Send private message

1

Monday, September 30th 2019, 2:42pm

dollhouse_view action?

Hi JOrdi,

i want to make the button for dollhouse view, similarly as here:https://krpano.com/viewsource.html?relea…l-tour/tour.xml

i found this layer, but can´t find the action behind it, can you please copy it here?
Thanks!


<layer name="dollhouse" style="button" html="Dollhouse" width="80" align="bottom" y="50" onclick="dollhouse_view();" />
Best regards,
Igor Socha

Tuur

Sage

Posts: 3,169

Location: Netherlands

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

  • Send private message

2

Monday, September 30th 2019, 3:41pm

Hi igor,

you should look better ;-)

it is at line 607.

Source code

1
2
3
4
5
	<action name="dollhouse_view">
		lookto(270,50,90,default,true,true);
		tween(view.oz|view.tx|view.ty|view.tz,calc(''+1200+'|'+image.ox+'|'+image.oy+'|'+image.oz));
		set(control.invert,true);
	</action>


Hope it helps,
Tuur *thumbsup*
http://www.virtualtuur.com
Skype:studiotuur

igor.socha

Intermediate

  • "igor.socha" started this thread

Posts: 177

Location: Tirol, Austria

Occupation: Photographer

  • Send private message

3

Monday, September 30th 2019, 6:46pm

WTF I´m already blind *g* *g* *g*
Thanks my dear *w00t*
Best regards,
Igor Socha