Skip to content
RickFqtPublic

About

Repository for Computer Graphics, used to make a simple Ray Tracing project.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

172 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intro

This is the basic architecture for the Ray Tracing Teaching Tool (RT3) Project.

Processing flow

The main.cpp calls the api.cpp, which, in turn, calls various API functions that create the objects, such as camera, integrator, scene, film. The information to create these classes are stored in the RenderOptions struct, while the scene is being parsed.

When the parser finds the tag world_end it creates all the objects (film, camera, scene, integrator) and calls the render() method. This method corresponds to the "main loop" of the rendering process.

To compile

cmake -S . -B build
cmake --build build
./build/basic_rt3 scene/scene_01.xml

TODO

  • Fix parsing of triangle boolean attributes (back_face_culling, compute normals)

About

Repository for Computer Graphics, used to make a simple Ray Tracing project.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages