android - Optimize rendering of multiple Model instances using Textures from a TextureAtlas -
i have model g3dj file loaded on android device:
assets = new assetmanager(); assets.load("my_3d_obj.g3dj", model.class); i want create approx. 80-100 instances of model each unique texture textureatlas optimal performance. optimal way understand combine objects 1 mesh in example:
https://xoppa.github.io/blog/a-simple-card-game/
my question how best combine multiple models 1 mesh using textureatlas.
can how create sprite textureatlas , apply on model extract vertices , indices model , add them using meshbuilder each instance of model.
Comments
Post a Comment