[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
GL3.2 for AIX: Graphics Library (GL) Technical Reference

Chapter 2. GL Example Programs

Functional List of GL Example Programs

Select an example program from the following list:

Example programs for drawing curves and surfaces

curve1.c Example C Language program draws three curve segments
curve2.c Example C Language program draws joined curve segments
curve3.c Example C Language program draws a Bezier curve segment
curved.c Example C Language program is a simple curve editor
patch1.c Example C Language program draws three surface patches

Example programs demonstrating hidden surface removal

backface.c Example C Language program draws a cube
octahedron.c Example C Language program draws meshes

Example Lighting Programs

cylinder1.c Example C Language program demonstrates simple lighting
cylinder2.c Example C Language program illustrates multiple surface materials and multiple lights
localatten.c Example C Language program illustrates the effect of light attenuation
platelocal.c Example C Language program illustrates the use of local lights.

Example programs for fonts

font3.c Example C Language program defines a font with three characters
xfonts.c Example C Language program demonstrates how to use Enhanced X-Windows fonts in a GL application.

Example programs demonstrating antialiasing

alias_back.c Example C Language program illustrates antialiased lines of multiple foreground colors on a monochrome background
alias_fore.c Example C Language program illustrates antialiased lines a single foreground color on a multicolored background
alias.c Example C Language program illustrates antialiased lines

Other Example Programs

boxcirc.c Example C Language program draws a 2D box and circle
circuit.c Example C Language program draws power circuitry using writemasks.
colored.c Example C Language program edits a color map
doublebuff.c Example C Language program illustrates double-buffered animation
depthcue.c Example C Language program draws a depth-cued 3D wire frame cube
doily.c Example C Language program draws a doily based on given point count
draw.c Example C Language program is a minimal line drawing program
gamma.c Example C Language program shows the use of gamma ramps to correct the appearance of photographs and antialiased lines and to implement color-map tricks
iobounce.c Example C Language program draws a ball bouncing on a 2D surface
overlay.c Example C Language program demonstrates overlay bitplanes
paint.c Example C Language program demonstrates minimal object space painting
pick1.c Example C Language program demonstrates picking
popup.c Example C Language program demonstrates writing pop-up menu routines
prompt.c Example C Language program demonstrates standard and user-defined prompts
scrn_rotate.c Example C Language program illustrates object rotation
select1.c Example C Language program demonstrates selecting
setshade.c Example C Language program moves a smooth-shaded polygon in and out of the graphics port
sunflower.c Example C Language program draws a sunflower pattern from circles
text.c Example C Language program demonstrates text drawing
tpbig.c Example C Language program illustrates arcs, polygons, character strings, and textport
vlsi.c Example C Language program shows a simple vlsi graphical editor
worms.c Example C Language program
zbuffer1.c Example C Language program draws two intersecting planes and requires the z-buffer option
zbuffer2.c Example C Language program draws three tumbling cubical objects.
zoing.c Example C Language program draws a spiral from circles

[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]