Dear,
What is the best method to include in V-REP a nonlinear deformation or skinning model with bone structures?
I was looking on cal3D and Assimp but it seems that they has been long time since they are updated and burdensome.
This feature would be mainly applied in kinematic simulations.
Soft Body Deformations
Re: Soft Body Deformations
Hello,
if I understand you correctly, you just want a way to be able to display deformable meshes? If this is the case, you have several options:
You could also constantly erase a shape and create a new one with simRemoveObject and simCreateMeshShape, but this operation could be quite slow. But then, you could check collisions and distances on it (but slow, since the fast data structure used in collision detection/distance calculation needs to be initialized over and over again). Simple mesh scaling could be faster, specially if you do isometric scaling, since then the fast data structure will not have to be initialized over and over again.
Cheers
if I understand you correctly, you just want a way to be able to display deformable meshes? If this is the case, you have several options:
- you can visualize a collection of triangles using simAddDrawingObject and simAddDrawingObjectItem. You can then update the triangles in each simulation loop. This is however not meant for large meshes.
- you can write a plugin that will do its own OpenGl rendering into the V-REP scene. For that, check in the plugin message function for a call with sim_message_eventcallback_opengl. You will have to enable that functionality first with simEnableEventCallback.
You could also constantly erase a shape and create a new one with simRemoveObject and simCreateMeshShape, but this operation could be quite slow. But then, you could check collisions and distances on it (but slow, since the fast data structure used in collision detection/distance calculation needs to be initialized over and over again). Simple mesh scaling could be faster, specially if you do isometric scaling, since then the fast data structure will not have to be initialized over and over again.
Cheers