i've got boolean operations working,
right now the supported operations are csg union, csg subtraction, and csg hollow, also i've written a material library, where material properties(mass, #textures, and surface properties. e.g. slime, lava ) go in a .shader file that will be parsed upon loading. Great benefit of this is that textures aren't hardcoded anymore.
Textures, materials and shader programs will only get loaded once if they are already in memory i will just return a reference( that was the hardest part);
Paul
Geen opmerkingen:
Een reactie posten