Hi Quintijn, Really cool work! Can you also specify the height/depth of the river to change the speed of the flow?
-- Nico On Mon, Jun 14, 2010 at 11:58 PM, Quintijn Hendrickx < [email protected]> wrote: > > Dear all, > > Recently there were several requests for rendering rivers using osgOcean. > I'm a student at the TU Delft and have been researching this topic. My > advisor Ruben Smelik responded to a request made by Daniele for rendering > rivers and there seemed to be some interest for me to submit the code. > > We based our implementation for river rendering on osgOcean but at this > point rivers and ocean are not compatible (i.e. there is no transition > between ocean and river). The osgOcean project didnt seem to be designed > with rivers in mind. I'm not sure if or how rivers could be integrated best > into the project. Currently most of the code for rendering rivers is placed > in a seperate project osgRiver, however some modifications to osgOcean and > oceanExample were needed. > > It is possible to switch between the default ocean rendering and the river > rendering using a compile time definition in oceanExample. > > This submission includes a link to a rar file with my latest source code > integrated into the svn head from the osgOcean. Im not familiar with CMake > so the rar file only contains a visual studio 2008 project (possibly with > wrong library references). > > Note that most of my work was focused on simulating water movement and not > on the final shading of the water. Because ocean water and river water do > look differently some improvements should still be made on the look of the > water (e.g. decreasing translucency, because river water is often less clear > then ocean water). > > Hopefully this code will be helpful for others rendering rivers. Any > feedback on if or how this code could best be integrated further with the > osgOcean project is greatly appreciated. > > Archive with source files: > http://graphics.tudelft.nl/~ruben/osgOcean_Rivers.rar > Poster with technical information: > http://graphics.tudelft.nl/~ruben/PosterI3D2010.pdf > > Kind regards, > > Quintijn Hendrickx > > _______________________________________________ > osg-submissions mailing list > [email protected] > > http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org > >
_______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
