<div dir="ltr"><div><div><br></div><br>Have an article about the topic in the context of game programming. The water surface is modeled as a mesh.<br><br><a href="http://www.gamasutra.com/view/news/237528/Water_interaction_model_for_boats_in_video_games.php">http://www.gamasutra.com/view/news/237528/Water_interaction_model_for_boats_in_video_games.php</a><br><br></div><div>As you see, it's complicated subject matter even at the level of abstraction provided here.<br><br></div><div>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.<br></div><div><br></div>Christian<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-19 12:24 GMT+01:00 Christian Buchner <span dir="ltr"><<a href="mailto:christian.buchner@gmail.com" target="_blank">christian.buchner@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><br></div>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)<br><br></div><div>You could simplify this problem into a mass-spring system with lots of damping.<br></div><div><br></div>Again, your question is worded far too generic to provide a good answer.<br><br></div><div>"Fire topedoes!"<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br>Christian<br></div><br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-12-19 11:43 GMT+01:00 Rambabu Repaka <span dir="ltr"><<a href="mailto:ramboram488@gmail.com" target="_blank">ramboram488@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,How to make Boat oscilate whenver water hits in osg ?<br>
<br>
...<br>
<br>
Thank you!<br>
<br>
Cheers,<br>
Rambabu<br>
<br>
------------------<br>
Read this topic online here:<br>
<a href="http://forum.openscenegraph.org/viewtopic.php?p=69707#69707" rel="noreferrer" target="_blank">http://forum.openscenegraph.or<wbr>g/viewtopic.php?p=69707#69707</a><br>
<br>
<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org" target="_blank">osg-users@lists.openscenegraph<wbr>.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" rel="noreferrer" target="_blank">http://lists.openscenegraph.or<wbr>g/listinfo.cgi/osg-users-opens<wbr>cenegraph.org</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>