hi jim - this is a transform generated by osgdem (consumed via vpb) - i think it's a different transform than the kind you suggest, or at the least, it's not normalized. the transform _is_ correct for one of the images, and it's how robert has been generating these vpb config files for a while. so i think the elements are right, but just a bit off. full vpb config attached.

bob

Attachment: globe.vpb
Description: Binary data



but, On Nov 28, 2007, at 8:52 PM, Jim Brooks wrote:

how would i flip it? i suspect i need to change the
transform somehow:

      Transform {
        360 0 0 0
        0 180 0 0
        0 0 1 0

You're on the right track, but the matrix elements
are unit float {0.0,..,1.0} values, not degrees.
These 3 rows are 3D unit vectors that
define the 3 orthogonal axises.

-1 0 0   # -1 = 180' rotation
0 1 0
0 0 1

        -180 -90 0 1

No, the last row is the origin of the matrix
(coordinate space).
Changing them results in translation, not rotation.



____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page.
http://www.yahoo.com/r/hs
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

bob kuehne
founder and ceo - blue newt software
www.blue-newt.com    734/834-2696


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to