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.

dahai

Beginner

  • "dahai" started this thread

Posts: 7

Location: china

  • Send private message

1

Friday, April 15th 2016, 6:17pm

syncscreen with tour

The basic idea is to have 2 screens installed in front of each other to display "front" and "back" of the panorama at the same time...

I thought I could try to use the syncscreen example




<events onmousedown="set(syncother,true); events.onviewchange();"
onmousewheel="events.onmousedown();"
onnewscene="set(syncother,true); events.onviewchange();"
onviewchange="if(syncother, js( sync_1to2() ) );"
/>




krpano2.set("view.hlookat", krpano1.get("view.hlookat"));
krpano2.set("view.vlookat", krpano1.get("view.vlookat"));
krpano2.set("view.fov", krpano1.get("view.fov"));
krpano2.set("scene.name", krpano1.get("scene.name")); //krpano2.loadscene( "scene.name");


Thanx ! *tongue*