Skip to content

Ray tracer for rendering obj files, with octree optimization

License

Notifications You must be signed in to change notification settings

james-can/OBJ-Ray-Tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

As of now the name of the obj to be rendered as well as output file are hardcoded into main.cpp under the "fname" variable, output image gets saved into "Output" folder. In the future will add gui options for this. There are currently are obj, mtl and texture files included which are rendered by default. Also to be added, and option to reset and specify a new file without need to reinitialize the program.

Needs to be run on x86 platform.

Here are some sample outputs:

With shadows, no texture on car:

car-on-street

No shadows, with texture:

car-on-street1

No shadows or texture:

car-on-street2

Relies on the following library to parse obj and mtl files:

https://github.com/Bly7/OBJ-Loader

About

Ray tracer for rendering obj files, with octree optimization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published