Skip to content

BoppleOpple/Terminal-Raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terminal Raytracer

This repository is for a horrible renderer written in c that will pivot a camera mesh around a mesh and render a depth map to stdout (very very slowly) written from scratch. This program uses multithreading, though it may be best to set NUM_THREADS in render.c to 1 if using with valgrind.

Running

Download the code and run make in the root directory, then run ./build/render path/to/file.obj. For convenience, the code is currently configured for the command ./build/render res/suzanne.obj, since suzanne is included in the repository. The more rows/cols in the terminal, the longer it takes to run (which is very long). By default, it will render 60 frames to text files in the output directory before freeing everything, but this can be changed in main.c:150.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors