Hi Martin,

That reminds me, is there a way to set the height of the ocean?

Not yet, but I'll be needing that soon too, it was on my ToDo list. You can always implement it and submit it here, if you get to it before I do... :-)

Theoretically it should just amount to inserting a transform between the OceanScene and the OceanTechnique, and making a setHeight() and getHeight() that set/get the transform's matrix's Z coordinate. Perhaps the OceanTechnique should even subclass MatrixTransform instead of Geode? Kim, what do you think?

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to