I want to draw 3d grid consists of points in OpenGL.Every edge and face also is collection of points. Cube inside also consist of points. Why I need it? I need to visualize temperature gradient, what happened if I will heat one of the faces of cube. How can I calculate VAO for such object?
Do you know another approach to visualize non-empty cube where I can color every point in cube with different color?