I want to build an html interface to display my QTVR files and have a flash animation that shows a "radar" to indicate the direction the user is currently viewing, just like the Flash example.
The reason I want to use QTVR .mov files is because the Flash versions are very clunky and don't pan very smoothly. The Quicktime versions pan much smoother. I can write the javascript to interface a flash object with the QTVR object, but I don't know if the QTVR movie exposes the angle as a property.
Thomas, is this possible?
How to determine the QTVR rotation angle?
-
- Posts: 11
- Joined: Tue Jan 02, 2007 8:09 pm
- Location: Fort Worth, Texas
- Contact:
Mark LaBoyteaux
http://www.hawkeyemedia.com
http://www.hawkeyemedia.com
Yes, it is. You can find an example for the Javascript code f.e. at http://www.pinlady.net/vr/#anchor7
MfG, Thomas
-
- Posts: 11
- Joined: Tue Jan 02, 2007 8:09 pm
- Location: Fort Worth, Texas
- Contact:
I did some research and found another good document at:
http://developer.apple.com/documentatio ... TP40001526
Basically it looks like the javascript calls to get and set the properties are:
float GetPanAngle()
void SetPanAngle(float angle)
float GetTiltAngle()
void SetTiltAngle(float angle)
float GetFieldOfView()
void SetFieldOfView(float fov)
Once I get something working, I'll post an example.
Thanks Thomas!
http://developer.apple.com/documentatio ... TP40001526
Basically it looks like the javascript calls to get and set the properties are:
float GetPanAngle()
void SetPanAngle(float angle)
float GetTiltAngle()
void SetTiltAngle(float angle)
float GetFieldOfView()
void SetFieldOfView(float fov)
Once I get something working, I'll post an example.
Thanks Thomas!
Mark LaBoyteaux
http://www.hawkeyemedia.com
http://www.hawkeyemedia.com