Mohido / BRDFA_Engine

A 3D engine for the purposes of analyzing different "Bidirectional Reflectance Distribution Function"s over environment maps.
GNU General Public License v3.0
1 stars 0 forks source link

Optimization: Faster Meshes Uploading and Deleting #30

Closed Mohido closed 2 years ago

Mohido commented 2 years ago

Currently, we can upload meshes to the engine. Uploading meshes to the engine requires a full restart of the engine (The lazy way). Therefore, we need to make it a bit faster. For solving the descriptor sets problem, we can specify a maximum set count in the pool creation and then we limit the meshes count in the scene to N meshes. Moreover, we don't need to recreate the pipelines, compiling the shaders and whatever.

Mohido commented 2 years ago

Done faster objects uploading and now working on faster object deletion.

Mohido commented 2 years ago

Done objects deletion at real-time speed. Now we don't really need to worry about object creation nor deletion throughput. It will be merged to the development with the next PR.