[osg-users] About Boat Movement

Christian Buchner christian.buchner at gmail.com
Mon Dec 19 08:21:19 PST 2016


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.buchner at 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 <ramboram488 at 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 at lists.openscenegraph.org
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20161219/ae3fd313/attachment-0003.htm>


More information about the osg-users mailing list