[osg-users] Triton Ocean

Chris Hanson xenon at alphapixel.com
Wed Dec 14 08:52:10 PST 2016

You should be able to see my email address in the headers.
xenon at alphapixel.com.

In order to have breaking shore waves in Triton, you need to supply it with
a raster image of the bathymetry (sea floor) underneath the water surface,
as well as a texture matrix that allows for transformation of a world
coordinate into the texture space of that raster. Triton will then use this
information to modify the waves as they approach the shallow shore areas to
make them larger, and break on the shoreline.


"OpenSceneGraph users may refer to the OSGDynamicHeightMap sample included
with the SDK. This sample generates a height map from the scene surrounding
the camera automatically, and feeds it to Triton for smooth coastline
blending. This sample also includes code for a vertex program that can
compute accurate height map data for geocentric or ECEF terrains."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161214/420d0e01/attachment-0002.htm>

More information about the osg-users mailing list