Skip to content

Swess/RayTracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ RayTracer

Basic RayTracer that renders some primitives and meshs. The current list of primitives supported are:

  • Infinite Planes
  • Triangles
  • Spheres

For this proof of concept application, the camera is always looking toward -z, with an up vector of (0,1,0).

Parser

A basic parser is included to support scene files to be read and rendered. You will be asked to type the file path of the scene file to use. Can load only load .obj right now.

Mesh files are load automatically form the /scenes folder

Examples

Here are example scene files with their renders.


Example1 SceneFile1

Example2 SceneFile2

Example3 SceneFile3


Dependencies

Using GLM for basic structs and geomatric manipulation. CImg is used to render/save/display the final image.

About

Basic c++ Ray Tracer renderer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published