Skip to content
/ RT Public

This is a somewhat complex raytracing implementation. It supports reflection, transparency, light spots, multiple light sources, complex objects, textures, CPU multi-threading, and soft shadows.

Notifications You must be signed in to change notification settings

tpokalch/RT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RT

This is a somewhat complex raytracing implementation. It supports reflection, transparency, light spots, multiple light sources, complex objects, textures, CPU multi-threading, and soft shadows.

Click on video below:

Installation

Instructions for MacOS. This project uses minilibx, which in turn uses X11 library.

  1. For MacOS version newer that MacOS X install X11 and XShm exttension appropriate for your MacOS version.
  2. Install minilibx from (here)[https://github.com/gcamerli/minilibx] (instructions for instalation available). This version of the project is written for MacOS Big Sur, so use minilibx version bulid on X11. But it is better to use minilibx (version) [https://github.com/dannywillems/minilibx-mac-osx] that uses Cocoa from Mac OSX, if you have MacOS X. In that case you will have to change the keycode macros defined in rtv1.h
  3. You will definetely have to change -L /Location/of/mlx/static/library -lmlx to the location on libmlx.a on your computer as well as -L/Location/of/X11/dynamic/library -lX11 to the location of libX11.dylib on your computer.
  4. type make or make re in your command line.

About

This is a somewhat complex raytracing implementation. It supports reflection, transparency, light spots, multiple light sources, complex objects, textures, CPU multi-threading, and soft shadows.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published