Ryan Siu and Connie Lei, period 4
Computer Graphics MKS66 Final Project
- Lighting
ambient
,light
,constants
- allow an MDL programmer to set the ambient light, create lighting constants and set multiple point light sources
- Polygon meshes
mesh
- allow an MDL programmer to specify a polygon mesh defined in an external OBJ file
To compile to an executable, run:
$ make all
After compilation, to run the graphics engine on a script:
$ ./mdl <script>
For example,
$ ./mdl robot.mdl
To compile and run the graphics engine on a pre-specified script (cow.mdl), and display the animation:
$ make
$ animate cow.gif