Using Cubic and Cylidrical without Simple Mode
Submitted by marley9 on July 6, 2008 - 14:43.
When doing a tour such as Hirshorn, if you have mostly cubic but also some Cylindrical, what is the best way to implement the latter? I have seen on many documents and posts to use simple mode, but since I do not want to use simple mode, what is the best way to implement? Nothing I adjust on the particular image in question will limit vertical pan, zoom, etc. My image is 4wx1h ratio, and using type="cylindrical" yields white box with red cross marks. Any guidance would be greatly appreciated.
Also, is it possible to combine xml snippet files into the main XML file you are using for the tour?
Any guidance would be greatly appreciated.
fieldOfView | SPi-V dev
Re: Using Cubic and Cylidrical without Simple Mode
> My image is 4wx1h ratio, and using type="cylindrical"
> yields white box with red cross marks.
That means something else is going wrong. Can you post your project online, so I can have a look at the XML and the images (working/not working together).
Re: Using Cubic and Cylidrical without Simple Mode
Thanks for getting back so promptly. Here is the link,
http://ova-media.com/360/tour2test.html
Also notice the way the first pan loads. Give it about 10 seconds. I see it jerk one way to start, and then starts suddenly back the other way. One issue at a time I guess.
Re: Using Cubic and Cylidrical without Simple Mode
In your first scene, add the following nodes:
<meta><cameralimits panoelement="hh00_pano">
</meta>
This sets the camera pan/tilt limits such, that the referenced panoelement is taken as a guide.
Re: Using Cubic and Cylidrical without Simple Mode
First image loads well here.
Windows Vista Ultimate 64bit. Internet Explorer 7.0.6001.18000.
I do notice the lack of Zenith/Nadir in the photo as "phunky"..
I would use camera limits myself>
http://fieldofview.com/spv-dev/docs/nodes/cameralimits
Re: Using Cubic and Cylidrical without Simple Mode
Exactly. The Zenith?nadir issue is what I am trying to resolve. I put in the camera limits, but they do not seem to be taking effect. I must have something wrong in the code...checking.
Re: Using Cubic and Cylidrical without Simple Mode
Try inserting this:
<meta>
<cameralimits
panmin="-180" panmax="180"
tiltmin="-38" tiltmax="38"
fovmin="50" fovmax="60" />
</meta>
Just after
<scene id="hirshhorn00">in your hirshhorn-trans.xmlRe: Using Cubic and Cylidrical without Simple Mode
My code (see above) is a bit more efficient, because you don't have to guestimate the values.
Re: Using Cubic and Cylidrical without Simple Mode
Yes, everything worked perfectly. Thanks to you all, the support here is fantastic.