rylanharwood2 / CS461-SimulationCapstone

Other
0 stars 0 forks source link

Chunk, mesh optimizations #23

Open JoshuaLim007 opened 6 months ago

JoshuaLim007 commented 6 months ago

Optimize chunks and meshes. Chunks and meshes are created before the application starts. This follows the object pooling design architecture. We reuse these instanced entities and meshes when we want to load new chunks in. Essentially it is a virtualized entity creation system where we fake destroying chunks and fake creating chunks. Thus, no new memory is allocated nor freed.