brenocq / atta

Simulator for multi-robot systems
https://atta.brenocq.com
MIT License
19 stars 4 forks source link

Not loading all model meshes #12

Closed brenocq closed 2 years ago

brenocq commented 2 years ago

Describe the bug When a model has multiple meshes, only the first one is loaded, and sometimes it is loaded with incorrect indices.

Expected behavior Should load all meshes to the same Mesh resource. In the future should also generate individual mesh resources for each mesh.

Screenshots Only loading first mesh for each model DeepinScreenshot_select-area_20220421201307 Computer mesh triangles wrong indices? DeepinScreenshot_select-area_20220421203509

brenocq commented 2 years ago

All meshes are being loaded to the same mesh resource. In the future it is a good idea to be able to load each mesh to a different mesh resource. Support for baked textures should also be added.

DeepinScreenshot_select-area_20220421210050