Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

150 Commits
150 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42 miniRT Project

This project is a selfcoded raytracer from fkernbac and rbetz. It's using the glfw Lib, MLX42 V2.3.0 and my libft Lib.

If you want the original school project with Norm then use v1.0.0.

You need to install 'cmake' and 'glfw3' manually!

Installation

This project should compile under Mac OS and Unix:

git clone https://github.com/Alphacharge/miniRT.git
cd miniRT
make

Description

It contains following objects:

  • Cameras
  • Ambientlights
  • Lights
  • Planes
  • Spheres
  • Cylinders
  • Rectangles

Additionaly you can declare a * Resolution * in the scenefile.

This raytracer is multithreaded, handles hard shadows as soft shadows also.

You can declare all objects multiple times, expect resolution.

Usage

./miniRT scenes/box.rt

Keyhooks:

  • ESC Exit programm
  • Space switch to next camera
  • W Move up
  • S Move down
  • A Move left
  • D Move right
  • E Zoom in
  • Q Zoom out

(Moving depence on absolut axis)

Pictures

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.