<< Chapter < Page | Chapter >> Page > |
:Discussion The first example in this set of tutorials is a program to draw a simple wireframe sphere. We will take this first step and go further in the tutorials that follow, but this serves as a simple test bed for us to try displaying any object or figure. Simply change the line that draws the glutWireSphere with the line(s) for your object to easily test your coding for errors.
Sample code: Click here to see the sample code: simple.c
Executable example: Click here for a running demo: simple.exe
Notification Switch
Would you like to follow the 'Programming 3d graphics with opengl' conversation and receive update notifications?