This is my graphics learning project. Currently supports a mouselook based camera, colored directional lighting, and shadow mapping. It also contains a resource system, which preprocesses model files (with assimp
) and images (with stb_image
).
Polytope is actually two projects, Polytope, under Polytope/
and PolytopeTools, under PolytopeTools/
.
You'll need to gather dependencies yourself. Dependencies go in a deps/
folder under each project root, divided into include
, lib/x64/
and dll/x64/
.
For Polytope, you'll need:
cereal
(header-only)glm
(header-only)glad
(from this link, just addglad.c
as a source file)GLFW
(copyglfw3.lib
intolib/x64/
)
For PolytopeTools, you'll need:
cereal
(header-only)glm
(header-only)assimp
(Download the VS 2019 version, and copyassimp-vc142-mtd.lib
intolib/x64/
andassimp-vc142-mtd.dll
intodll/x64/
.stb_image
(copy the header file here intoinclude/
)
PolytopeTools preprocessses files for Polytope. Run it with PolytopeTools.exe <input directory> <output directory>
. By default, the input directory is at Polytope/resource
and Polytope will look for the output in Polytope/data
. Once run, PolytopeTools will watch the input directory for changes.