Simple Program Code

OpenGL Code Samples
Code Samples released by SGI with the OpenGL 1.1 distribution in 1997. These are very useful for beginning OpenGL coding and learning OpenGL program structure. Advanced rendering and later extensions are not covered in these examples.
Simple program to test accumulation. Source code: accum.c. |
Easy Computer Programming: A very EASY and FREE way for ANYONE to write their first computer program in TEN MINUTES. Note:This instructable is for people that think that programming is some sort of magical thing that you need expensive programs or high tech skills to do.
Simple program to test bitmap rendering. Source code: bitmap1.c. |
Simple program to test bitmap rendering. Source code: bitmap2.c. |
Program that demonstrates reading back the framebuffer and zooming the pixels. Source code: copy.c. |
Simple program to test depth buffering. Source code: depth.c. How to configure help desk for mac. Choose Apple menu System Preferences, then click Network. In the list at the left, select the network connection service you want to use (such as Wi-Fi or Ethernet), then click Advanced. Click DNS, then click the Add button at the bottom of the DNS Servers list. |
Not so simple test that does all sorts of stuff (see the source for more details). Source code: logo.c. |
Simple nurb (non-uniform rational b-spline) program. Source code: nurb.c. |
Program that uses packed pixel types for DrawPixels, ReadPixels, TexImage2D, and GetTexImage. Use -h option to display a list of command line options. Use Key h in the created window for key options. Source code: packedpix.c. |
Appraiser austin employee haynes software store. All the OpenGL primitives all in a row. Source code: prim.c. |
Another 'megatest' with lots of options. Source code: quad.c. |
Test of auto texture coordinate generation. Source code: sphere.c. |
Neat little warping program. Click in the window to add control points, and press space bar to start warping. Source code: stretch.c. |
Ye 'ole classic (red in this case) teapot. Source code: teapot.c. |
Simple example of using two textures. Source code: twotextures.c. |
Neat wave program with some contouring options (press 'c'). Source code: wave.c. |