Skip to content
Graphics Engine in Java for the Computer Graphics course at Stuyvesant High School, NYC
Java TeX Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/org/stuygfx
.classpath
.gitignore
.project
Drone.mtl
Drone.obj
LICENSE
Makefile
Notes.pdf
Notes.tex
README.md
StuyGFX-java7.jar
StuyGFX.jar
ball.gif
build.xml
dronelights.mdl
human.gif
human.obj
humanlights.mdl
jar-in-jar-loader.zip
monkey.gif
monkey.obj
monkeylights.mdl
script.mdl

README.md

stuy-gfx-utils

I got really lazy so I ported the entire C project to Java. So now, here it is! I did a lot of hackery with Java Reflects to get the Interpreter to work nicely and to make it easy to add functions.

There 2 main ways to build the project:

$ ant
$ make recompile

To run the project, simply do:

$ make run

If you wish to use another .pgi file (Procedurally Generated Image), do:

$ java -jar StuyGFX.jar file.pgi

Features implemented

  • Flat shading
  • Importing Waveform OBJ files
  • ZBuffer
  • Backface culling
  • Animation
You can’t perform that action at this time.