3D CPU rasterizer written for CSCE 441 at Texas A&M
CMake 0.43%C++ 18.54%C 81.03%
cpurasterizer's Introduction
3D CPU rasterizer written for CSCE 441 at Texas A&M
Features
Can load variety of .obj files (found in /resources)
Texture mapping and coloring (switch between modes using 't')
Anti-aliasing (using nearest neighbor, bilinear interpolation, and mipmapping methods). Switch between texturing modes using 'n', 'l', and 'm' (when in textured mode)
GLFW, GLM, and GLEW are dependencies. Click on the respective links to download.
After installing the above dependencies, set global environment variables GLFW_INCLUDE_DIR, GLFW_DIR, and GLEW_DIR to the respective install locations.
Download this project and create a new directory in it called build.
In build, run CMake using the CMakeLists.txt in the parent directory.
The result will depend on if you are using Windows or a Unix system. In the latter case, there should be an executable called CPURasterizer in build, that you can run.