You are not logged in.

aschakel

Beginner

  • "aschakel" started this thread

Posts: 22

Occupation: Designer and coder

  • Send private message

1

Monday, September 1st 2014, 8:35pm

Walking in a tour, back and forward

I've a question about walking in a tour and the startupview of a scene. I don't no how to call it, so
maybe there are other topics about this I didn't find with the search or with Google.

The question is simple. When I add a Scene, then every scene has a startup view.

But, when I have three Screnes: like this:

A <--> B <--> C

Then when I walk from A to B I want to have the startupview to see C
But, when I walk the other way, from C to B, then I want the startupview to see A..

Is this possible without duplicating every scene? Or do I really have to make a copy of
Scene B with 2 different Startupviews?

I hope my question is clear :-)

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

2

Monday, September 1st 2014, 8:44pm

You can set view attributes as you wish on scene start
for example
hotspot onclick="laodscene(b);set(view.hlookat,120);" - where 120 is point on some object in B or something

Hope it clear

Regards
Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN

aschakel

Beginner

  • "aschakel" started this thread

Posts: 22

Occupation: Designer and coder

  • Send private message

3

Tuesday, September 2nd 2014, 11:43am

Oh thanks!

Is this also possible with this code?

<hotspot name="spot1" style="skin_hotspotstyle" ath="115.480" atv="1.403" linkedscene="scene_pano-0" />

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

4

Wednesday, September 3rd 2014, 7:25am

Yep, it's possible with standard skin interface
just change hotspot style behaviour a bit
And, you need to add additional attributes manually to a hotspots tags in tour.xml
There is no such features in toureditor

Regards
Andrey
VRAP - desktop VR content player based on krpano.
Common tasks in one place in one click! Discussion thread
DOWNLOAD for MAC
DOWNLOAD for WIN