Skip to content

Simple D3D11 renderer fwritten in C++ or rendering 3D primitives.

License

Notifications You must be signed in to change notification settings

wattsavolt/3DPrimitives

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3DPrimitives

Simple 3D renderer for rendering geometric primitives. Works on Windows only.

The renderer is a forward renderer with one pass and support for any number of point lights and one spot light. It uses the Phong shading model.

Project Structure

The project consists of a sample application and a renderer.

The renderer is in its own static library.

The sample application allows you to move and rotate the camera.

It adds 50 meshes to the scene and 10 point lights and a spot light.

The spotlight moves around with the camera and faces in the camera's forward direction..

Controls

  1. W, A, S, D buttons move the camera.

  2. The mouse rotates the camera.

  3. ESC exits the application.

  4. L turns off spotlight and O turns it on.

About

Simple D3D11 renderer fwritten in C++ or rendering 3D primitives.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published