Skip to content

shivrm/c3d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c3d: Real-time 3D Renderer

Usage

To build the project:

make build

To run:

./c3d <path to model> <path to texture?

Some example models are included in the models/ directory, and some example textures are included in the 'textures/' directory.

As of now, the code has to be edited to change parameters such as FOV and screen resolution.

Features

  • Load models from file
  • Custom normals
  • Smooth shading
  • Support for image textures (PPM only)
  • .mtl file handling
  • Config file format/command line arguments

License

This project is licensed under the MIT License.

About

Realtime 3D Renderer made in C.

Resources

License

Stars

Watchers

Forks