I trying to render a 3D surface, IsoSurfae, in an openGL c++ setting. The data is in a 3D matrix format. I am not sure how to code this up. Right now I have the 3D matrix at hand in a double format and have hte OpenGL engine started and ready to render. I do not know how to interpret and render the Matrix.
Has anyone rendered a 3D matrix in openGL as an isosurface?
Do you mean a voxel grid? I.e. you’re trying to render a surface which separates voxels whose values are less than some constant from those whose values are greater?
If that’s the case, you probably want to use marching cubes to generate a triangle mesh, which you can then render.