|
| These
GLUT source codes have been tested with Pelles
C. Some very minor modifcations may have been made to the original sources
such as configuring header file paths. Be sure to use Getting
Started with openGL GLUT using Pelles C to set up your environment.
|
| | Mark
J. Kilgard - The creator of the OpenGL Utility Toolkit (GLUT) A member
of the Technical Staff at Silicon Graphics, Inc.
|
| dinoball.c | Spaceball
demo, works with mouse. Vertical rotational axis. IMAGE |
| scene.c |
This
program demonstrates the use of the GL lighting model. Objects are drawn using
a grey material characteristic. A single light source illuminates the objects.
IMAGE |
| stars.c | The
classic starfield. Be sure to check out fullscreen! IMAGE |
| lightlab.c | Lighting
Laboratory. Experinment with changing lights, colors, materials, shading methods.
Very nice! IMAGE |
| | Pavel
Tisnovsky - Awesome Czech OpenGL Coder Who needs to be able to read Czech?
C is a universal language!
|
| glut03_1c.c | Priklad
cislo 1 - Autor: Pavel Tisnovsky Zakladni kostra programu pro praci s knihovnami
OpenGL a GLUT. Program pouze otevre okno, do ktereho lze vykreslovat pomoci
OpenGL. (Could it be the usual first blank OpenGL screen project?) IMAGE |
| glut04_1c.c | Priklad
cislo 5 - Autor: Pavel Tisnovsky Zpracovani udalosti od klavesnice - ASCII
klavesy (Window title changes with keypresses) IMAGE |
| glut05_1c.c | Priklad
cislo 7 - Autor: Pavel Tisnovsky Program otevre jedno okno a dle stlacenych
klaves meni tvar kurzorumysi. (Change cursor types with keypresses) IMAGE |
| glut06_1c.c |
Priklad
cislo 10 - Autor: Pavel Tisnovsky Jednoducha animace - reakce na udalost Idle (Spinning
triangle without double buffering? shaky effect) IMAGE |
| glut07_1c |
Priklad
cislo 12 - Autor: Pavel Tisnovsky Vytvoreni jednoducheho menu, ktere je navazano
na leve tlacitko mysi (GLUT menu system to change background colors) IMAGE |
| glut08_1c |
Priklad
cislo 14 - Autor: Pavel Tisnovsky Vykresleni bitmapovych fontu (Font types,
colors, sizes example) IMAGE |
| glut09_1c.c | Priklad
cislo 18 - Autor: Pavel Tisnovsky Vykresleni trojrozmernych objektu vytvorenych
v knihovne GLUT. (Mouse rotations, GLUT Menu system with shape picker) IMAGE |
| | David
Astle - Code from OpenGL Game Programming
|
| chap1.zip |
A
simple OpenGL/GLUT demonstration showing a texture mapped, lit, spinning cube
reflecting in a surface. Converted to Pelles C by Pelle
Orinius. Open the project from Pelles C. You can replace the bitmap with your
own image. IMAGE |
| | Code
from California State University
Stanislaus |
| equinox.c |
Program
to display the earth and its equatorial plane moving around the sun, with
the plane intersecting the sun at the spring and autumn equinoxes. (c) 2001,
Steve Cunningham IMAGE |
| heatflow.c |
Project
example - heat flow in a thin rectangular body Assumptions
are simple -- body is modeled as a set of small squares, and heat flows between
squares based on the relative heats of the two squares and a diffusion function
that includes a constant that models the heat conductivity of the bodies. (c)
2001 Dr. Steve Cunningham, class example, fall 2000; modified to serve as the
basis for a course project, fall 2001 IMAGE |
| barchart.c | Example
for CS496, SDSU, Spring 2000. Based on work of Ben Eadington, student at CSU
Stanislaus, Fall 1998. Must be used by permission. This
project defines an NXM array of numbers. It then constructs a grid of 3 dimensional
boxes corresponding to the entries in the array. Each box has a height proportional
to the number stored in its corresponding array entry. It also draws a 3 dimensional
arrow pointing at the top of the highest box. IMAGE |
| conics.c |
Program
to present conic sections by creating a cone and using a clipping plane to
create planar figures. Menu allows the user to modify the shape of the clipping
plane. Proof of concept for mathematics project for intro graphics course. (c)
February 2001, Steve Cunningham & Ken Brown.
IMAGE |
| gasChromatograph.c | The
top half of the screen is the representation of 3 gases (analytes) traveling
through a GC column. The bottom half of the screen shows the resulting chromatogram.
The chromatogram shows the number of molecules exiting the column per unit
time. (c)
October 7, 2002 Mike Dibley IMAGE |
| blancmange.c |
Mathematical
surface that is everywhere continuous and nowhere differentiable. (c) February
2001, Steve Cunningham & Ken Brown IMAGE |
| paramcurve.c |
Example
of plotting a spiral around a torus. (c) February 2001, Steve Cunningham &
Ken Brown IMAGE |
| lorenz.c | Dynamical
system simulation; example for possible introductory computer graphics project. (c)
February 2001, Steve Cunninghan & Ken Brown IMAGE |
| paramsurf.c | Mathematical
surface defined by three parametric functions of two variables. IMAGE |
| mathanim.c | Mathematical
surface, with the ability to move the surface around and see all parts.
(c) February 2001, Steve Cunningham & Ken Brown IMAGE |
| pool.c |
This
program draws a pool using Bézier surfaces. (c)
Ben Eadington IMAGE |
| | |
| | |