summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/OpenStep/MesaView/README
blob: b8475d54203d417b2310f429ed003d8d83232169 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
This is an application which I wrote to play around with Mesa and
the rendering of surfaces. It is not particularly well written but does
demonstarte how to incorporate Mesa into an actual OpenStep application.
The Application generates a random surface of heights and colours
which can be viewed from any angle by rotating the viewpoint. During rotation
the Mesa projection functions are used to find the corners of the surface
which is then drawn in wireframe using PostScript operators for speed. Normals
to the surface my be generated for each face, or averaged for each vertex. The
colouring of the surface may also be switched between colours for the
individual points and a texture mapping of the colour matrix.

-Pete French. (pete@ohm.york.ac.uk) 28/5/98