You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, September 11th 2012, 5:21am

load scene from a plugin call ??

<plugin name="map" url="map.png" keep="true" align="leftbottom" x="10" y="150" loadscene="scene_floorplan-flat"/>

how do I make this work?
Bill



http://astimegoesby.us Personal family history back to the 1800's

Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Tuesday, September 11th 2012, 5:27am

You use loadscene.

http://krpano.com/docu/actions/#loadscene

onclick="loadscene(scene1, null, MERGE, BLEND(1));"

or by index
loadscene(get(scene[0].name),null,MERGE);
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

Posts: 1,082

Location: Russia, Kaliningrad

  • Send private message

3

Tuesday, September 11th 2012, 12:34pm

Hi!
Or by plugin attribute
onclick="loadscene(get(loadscene), null, MERGE, BLEND(1));"

where loadscene is additional plugin attribute.

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

4

Tuesday, September 11th 2012, 5:58pm

Thank you
<plugin name="map" url="map.png" keep="true" align="leftbottom" x="10" y="150" onclick="loadscene(scene_floorplan-flat, null, MERGE, BLEND(1))"/>

works like a charm, it that null, merge, blend stuff that gets in my way *cool*
Bill



http://astimegoesby.us Personal family history back to the 1800's