pierzchalski/cs3421ass2
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
WASD and arrow keys both control movement. Space and shift move the player up and down, respectively. Z switches between shaders (and one option which indicates no shader, i.e. the built-in pipeline). The current list of shaders is None, Simple, Phong, and a simple cell-shader, in that order. The Phong shader also implements normal mapping on the terrain. C toggles the day/night cycle (the cycle is 1 minute long, with shifting colors). L toggles the flashlight. When using shaders, the normal cosine cutoff isn't implemented because it looks ugly as hell. Since I use key bindings (KeyEventListeners are apparently considered deprecated), the frame/panel will sometimes lose focus upon creation. I've done my best to automatically get focus upon creation, but if it loses it, it seems the only solution is to re-run the program. Apologies to the marker :(
About
Assignment 2 for CS3421: Computer Graphics.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published