I recently came to work on an open-source project based on MonoGame. It is currently completely 2D, however I would like to implement some 3D functionality in it.
What I have is a propriertary voxel model file that is loaded into memory as essential a list of voxels’ vertices. I have open-source code in OpenGL that renders it from another project, but I have no idea where to even start to be able to implement that in MonoGame.
Ideally (at least in my mind), I would pre-render a set of rotations of the voxel as textures and save those for future use, but I wasn’t quite able to figure out a way to do that. There are the Vertex*** structs, but I do not know how to eventually render it all to a texture.
If anyone could advise, I’d be grateful. Thanks.