osrf / gzweb

Web client for Gazebo classic simulation
http://gazebosim.org/gzweb
Other
63 stars 60 forks source link

Spawning multiple instances of a mesh causes WebGL error #36

Open osrf-migration opened 10 years ago

osrf-migration commented 10 years ago

Original report (archived issue) by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


Pull request #36 solved the issue of multiple meshes for many models, such as bowl, beer and bookshelf.

However, trying to spawn more than one instance of models such as coke_can, construction_cone or dumpster now gives the following WebGL error:

Error: WebGL: drawElements: bound vertex attribute buffers do not have sufficient size for given indices from the bound element array

osrf-migration commented 10 years ago

Original comment by Louise Poubel (Bitbucket: chapulina, GitHub: chapulina).


osrf-migration commented 10 years ago

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


for reference, pull request #38 commented out code for reusing models.