Skip to content
/ nocg Public
forked from mkvenkit/nocg

Notes on Computer Graphics - by Mahesh Venkitachalam

License

Notifications You must be signed in to change notification settings

Riles4/nocg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Notes on Computer Graphics

Exploratory programs on various topics related to 3D computer graphics.

By: Mahesh Venkitachalam (electronut.in)

Building the Examples

Windows

Install Visual Studio 2019. Clone this repo, create a build directory, cd into it from a VS 2019 cmd prompt and do:

cmake "Visual Studio 16" ..

This will create nocg.sln which you can load using Visual Studio. To run the torus application, right click on it in the Solution Explorer and select "Set as Startup Project". Now you can build and debug the project in Visual Studio. When you make major changes like adding new files, etc., clean out the build folder, run cmake again and reload nocg.sln in Visual Studio.

I have not tested the build with any other OS, but Linux support is coming soon.

Examples

Name Description
torus torus: Rendering a Torus: Gouraud/Phong shading, Texturing, Procedural Textures, and Bump Mapping.
shaderjig shaderjig: A simple Python + OpenGL setup to play with fragment shaders.

About

Notes on Computer Graphics - by Mahesh Venkitachalam

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 47.2%
  • GLSL 27.0%
  • Python 24.7%
  • Other 1.1%