DigitalLibrarian / VS2010Projects

Bunch of unorganized mess
1 stars 1 forks source link

Experiment with sharing a single InstancingClass among all Chunks #45

Open DigitalLibrarian opened 8 years ago

DigitalLibrarian commented 8 years ago

If it overflows the gpu, then attempt to buffer in shared instance before giving up.

It would be very advantageous to separate the mesh generation and rendering from the chunk model.

DigitalLibrarian commented 8 years ago

Chunk should not have an InstancingClass at all. Chunk is going to implement an interface representing an arbitrary volumetric model and visualization will be done completely exterior to it.

This has lots of advantages. Chunk is way simpler. Merely being an in memory database of interactive voxels. By having it implement a read only volumetric model interface, we open up the ability to do cool things without chunks at all. Like taking surface data from google earth, or using blended noise generators to arbitrary precision.