I'm building a few tours, and I've found that I've started adding hotspots without documenting them, so I have to open the project file and then find the hotspot and the associated data. I then realise that this is of course in the .p2vr file, in an xml format.
To make this easier, I've written an xslt stylesheet and an html page that will show the data on the screen (or stolen other peoples bits of code and glued them together would be more accurate). You can then print and create a pdf for your documentation.
The two required files are attached as a zip. You need to put the html file and the xslt file in a directory, then execute the html file. Then you can paste the name of the pano2vr project file into the text box and click the button. The hotspot parameters are then shown. For some reason it doesn't work if you hit enter - but I've already spent too long on this to fix it!
It is of course possible to extend this to show the FOV parameters etc. for the hotspots - or if you wanted the whole project file could be transformed
Hope this helps. I could have extracted the data in a tenth of the time this has taken to write - but it's quite rewarding
Comments/improvements are welcome - but this is essentially unsuported.
Gareth
Documenting hotspot data
-
- Posts: 73
- Joined: Tue Jun 22, 2010 10:28 pm
- Attachments
-
- hotspot doc tools.zip
- the 'program' html file and the transformation file
- (2.5 KiB) Downloaded 332 times
awesome!
but only works with Safari
explore (not)
G-Chrome (not)
Firefox (yes I no column)
but only works with Safari
explore (not)
G-Chrome (not)
Firefox (yes I no column)
Laurent BIZIEN Photographies
MacBook Pro 2,6 GHz Intel Core i7 : Mojave 10.14.6 - 6.1 beta3b pro
MacBook Pro 2,6 GHz Intel Core i7 : Mojave 10.14.6 - 6.1 beta3b pro