gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.16k stars 478 forks source link

Rendering deformable meshes #981

Open osrf-migration opened 10 years ago

osrf-migration commented 10 years ago

Original report (archived issue) by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


We are working to add support for deformable bodies using the DART physics engine, and one of the new required features is to render deformable meshes. I discussed this briefly with @iche033 and he said that ogre has some support for this, so perhaps we can use that.

cc: @jslee02 @karenliu

osrf-migration commented 10 years ago

Original comment by Steve Peters (Bitbucket: Steven Peters, GitHub: scpeters).


@iche033 Do you have any recommendations on how to implement this?

osrf-migration commented 10 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


We did something similar with actors. It's possible to modify vertex positions using vertex buffers in Ogre.

The tricky part is not Ogre, but the communication that has to happen. The server has to transmit new and custom meshes to the render engine.

osrf-migration commented 10 years ago

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


manually editing the vertices seems like the way to go. Ogre's water demo is an example of doing this.

Ya communication will be hard. We need this feature nevertheless for any custom meshes users spawn in gazebo.

Maybe for deformable models we can just send a diff of vertices changes across the network in order to minimize amount of data being transferred.

osrf-migration commented 10 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


Parse SoftMeshShape to get vertices updates.

osrf-migration commented 9 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


Latest updates in branch gazebo_3.0_dart_4.0_render.

Deformable tire on treadmill test (741844f27ce520c0458146a76348d71dd2bef628).

osrf-migration commented 9 years ago

Original comment by John Hsu (Bitbucket: hsu, GitHub: hsu).


resolve conflicts in https://osrf-migration.github.io/gazebo-gh-pages/#!/osrf/gazebo/branches/compare/gazebo_3.0_dart_4.0_render..default#diff

osrf-migration commented 7 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


osrf-migration commented 5 years ago

Original comment by Mauricio (Bitbucket: llllFenixllll).


is this still happening? thnx

osrf-migration commented 5 years ago

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


It's currently not on our roadmap so it may not happen any time soon