Programming
Notes on setting up OpenGL with Wxwidgets







Plot3d is coded in C++, using the OpenGL rendering library for 3d graphing.


The surfaces are plotted by creating an equally spaced grid on a rectangular domain in R2, and applying the user supplied function to the points in the grid to determine points in R3. The grid size specifies the mesh of points over which the function to be graphed is evaluated. The x and y axes are divided uniformly with a default initial grid size of 25 by 25.





It is this grid surface that Plot3D depicts in graphing.



In many instances it's best to use triangles to render the surface;