Skip to content

Moridar/minirt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

141 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screenshot_20241130_171351

Thy first raytracer

a great mathematics project based on random googled facts to make objects, all the formulas are taken from wikipedia, or just derived them ourselves

42 Minirt

  • we got 125 point on the project, it supports multiple lightsources, has uv mapping for the supported objects which allow textures and the tiled pattern.
  • the window is resizeable but slow, as the graphics library doesnt really allow us to have proper shaders so CPU abuse is expected, not even -Ofast was able to save us
  • Some scenes are provided that we used for evaluation or that just looked good

To run it yourself

  • if it complains at compilation, remove WWW from the makefiles, some compilers have different standards for these
git clone <repo>
make # for macos
make wsl # for linux or windows wsl
./minirt <scene>

Some pretty imigary

Screenshot_20241130_171002 Screenshot_20241130_170912 Screenshot_20241130_170842 Screenshot_20241130_170810 Screenshot_20241130_170740

About

42 Project R4 - Mini RayTracking using MLX

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •