Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

representing ocean waves

I'm working on a simulation of boats on ocean, including waves (and a relatively realistic physics implementation) and one of the things that I'm wondering is how to represent the moving ocean "terrain". I currently use a png terrain heightmap to represent the ocean which has the issue that it's not moving, which is actually OK for certain types of simulation, but not all. I'm wondering about how to make the ocean move. In physics I can get the MeshURI and then access the mesh and modify it using the mesh manager. But that's all gzserver-side and I presume doesn't do anything for gzclient? Do I need to run the ocean wave generation algorithm twice and also modify some mesh (haven't looked where) in the client? Any suggestions overall for how to handle the ocean?