QUOTE (djellison @ Mar 30 2006, 06:16 AM)
Interesting - I've downloaded and installed the demo version of SGI OpenGL Performner
Nice. I didn't know they had a demo version available. It propably won't let you export stuff to other formats, right?
QUOTE (djellison @ Mar 30 2006, 06:16 AM)
My experience so far with playing with these things is that getting the VST's into the right place is actually quite hard. Importing them with Blender, 3ds Max or Polytrans - they all end up being in the same 'place' and tilted 'down' by about 70 degrees.(also attached)
What I can tell you is that VST's are definetely in camera coordinate system. In X3D at first I couldn't even find the model in the viewer, had to roll it in some random direction until I find it. But X3D format lets you to specify the camera position and orientation, so I put the camera in (0,0,0) and pointed it at negative Z direction, and everything worked - the view is just like from the left camera.
So I think you need to first compensate the elevation "tilt" by rotating the mesh around X axis, then compensate for azimuth by rotating it around vertical Y axis (I guess by 36 degrees to each other)
Let me know if that works. If not, maybe I could read the .IMG files instead of .PNG
IMG files contain stuff like this:
CODE
/* ARTICULATION DEVICE STATE: PANCAM MAST ASSEMBLY */
GROUP = PMA_ARTICULATION_STATE
ARTICULATION_DEVICE_ID = "PMA"
ARTICULATION_DEVICE_NAME = "PANCAM MAST ASSEMBLY"
ARTICULATION_DEVICE_ANGLE = (-2.09779 <rad>,-0.197983 <rad>,
-2.09777 <rad>,-0.198054 <rad>,
3.58163 <rad>,-0.298422 <rad>)
ARTICULATION_DEVICE_ANGLE_NAME = ("AZIMUTH-MEASURED",
"ELEVATION-MEASURED",
"AZIMUTH-REQUESTED",
"ELEVATION-REQUESTED","AZIMUTH-INITIAL"
,"ELEVATION-INITIAL")
ARTICULATION_DEVICE_MODE = DEPLOYED
END_GROUP = PMA_ARTICULATION_STATE
And many more...
Maybe I could figure out that stuff and rotate OBJs so they're all in rover frame or site frame...
Meanwhile you can try to figure out that too, and use such angles (I think that info is in "PDS label" tab on anserver1.eprsl.wustl.edu site )
QUOTE (djellison @ Mar 30 2006, 06:16 AM)
so yes, you can probably see where I'm going with this
Something good, no doubt.