/inno-cg

`Computer Graphics in Game Development` Lab exercise solutions

Primary LanguageC++MIT LicenseMIT

CG Assignment 1

Solutions for Computer Graphics in Game Development course assignment.

NOTE: shadow mapping is not implemented yet

Building

  1. Clone this repo
cd your-projects-folder
git clone https://github.com/modbrin/inno-cg
  1. Pull dependencies
git submodule update --init --recursive
  1. Open in Visual Studio (tested with VS2019+):

A) Using bundled CMake (recommended due to it's tested)

  • Open Visual Studio
  • Select Open a local folder
  • Navigate to and open project folder
    At this point CMake project will be recognized by VS (if not, open CMakeLists.txt and click Generate in notification on top)
  • Select desired executable and run:

NOTE: linalg-* entries come from dependencies, you can hide them using Show/Hide Debug Targets... menu

  • If elements are not showed or they fail to work, check out (project root)/.vs/launch.vs.json file to be same as in repository.

B) Using Premake5

cd inno-cg
premake5 vs2019
  • Open generated solution