Have an article about the topic in the context of game programming. The water surface is modeled as a mesh.
http://www.gamasutra.com/view/news/237528/Water_interaction_model_for_boats_in_video_games.php As you see, it's complicated subject matter even at the level of abstraction provided here. Also it is a generic simulation topic not related to OSG. The OSG related parts will be limited to providing an appropriate matrix transform to put the boat into its final position (including any rotation) in 3D space. Christian 2016-12-19 12:24 GMT+01:00 Christian Buchner <christian.buch...@gmail.com>: > > To do it correctly, you need physics simulation (mass of ship, buoyancy > forces as a function of immersion depth at different hull sections, water > forces due to flow currents and kinetic energy of the waves hitting the > ship) > > You could simplify this problem into a mass-spring system with lots of > damping. > > Again, your question is worded far too generic to provide a good answer. > > "Fire topedoes!" > > Christian > > > 2016-12-19 11:43 GMT+01:00 Rambabu Repaka <ramboram...@gmail.com>: > >> Hi,How to make Boat oscilate whenver water hits in osg ? >> >> ... >> >> Thank you! >> >> Cheers, >> Rambabu >> >> ------------------ >> Read this topic online here: >> http://forum.openscenegraph.org/viewtopic.php?p=69707#69707 >> >> >> >> >> >> _______________________________________________ >> osg-users mailing list >> osg-users@lists.openscenegraph.org >> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >> > >
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org