kikonen / learnopengl

https://learnopengl.com
1 stars 0 forks source link

Add support for shared generated primitive meshes #67

Open kikonen opened 1 month ago

kikonen commented 1 month ago

Creating separate mesh for every separate, exactly same, primitive mesh does not make sense. Should implement logic to allow caching and sharing same similar instances, and allow to register them as shared meshes into glsl side via ModelRegistry.

May require generalizing ModelRegistry logic, to be not ModelMesh specific logic (i.e. to allow sharing VAO)

kikonen commented 1 month ago

DONE

kikonen commented 3 weeks ago

*DONE