Skip to content

WalterPlinge/rtic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rtic

ray tracer in c

so far

  • spheres, planes, triangles
  • emissive, diffuse, metal, dielectric materials
  • multi-sampling (naive sampling tbh)
  • png output
  • command line config (set width, height, samples, depth, world file)
  • loads world info from file (see example/test.world)

building

  1. make a build directory
  2. cd into build directory
  3. compile ../build.c
  4. now you can run the build executable
    • pass -r for release build
    • pass -e to run app after build
    • pass -mold to use the mold linker
    • pass -[ clang (default) | gcc | msvc | mingw ] to build using specific toolchain
  • a basic CMakeLists.txt file is provided

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published