dynamic loading meshes (collada heightmap) from memory
Hi,
for a project I have to generate different objects which will dynamiclly generated and loaded during runtime of the simulation. Therefore I have to load the (collada/heightmap/meshes) files as fast as possible.
In the tutorial pluginsworldtutorial is an way described how I can load the sdf files without saving on the hard drive. But this plugins need an URI to load the mesh/heighmap files from the hard drive of the pc.
Now I have two questions:
Is there a way/function to create this meshes directly (without saving these files on the hard drive of the pc) for my plugin? if possible I want to skip caching on the hard drive.
Has gazebo an interface to create the meshes directly from calculated triangles and Polygon?
I hope you can help me.
Asked by mdingwer on 2016-03-21 03:59:42 UTC
Answers
You could try creating a Mesh, and adding the mesh the MeshManager.
Asked by nkoenig on 2016-03-21 11:39:57 UTC
Comments
I am doing something similar: procedurally generating a tree mesh (such that each instance is a unique tree). I create them in a Mesh and add them to the MeshManager (e.g. set name to Tree_123). Then for each tree instantiation I create a SDF string, e.g. ...
Asked by Galto2000 on 2017-11-11 16:30:50 UTC
Comments