GithubHelp home page GithubHelp logo

alphacharge / minirt Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 1.0 3.07 MB

42 miniRT Project. A small selfcoded Raytracer.

License: GNU General Public License v3.0

Makefile 0.65% C 89.56% CMake 0.60% C++ 7.48% GLSL 0.15% Batchfile 0.11% Shell 0.10% Python 1.35%
minirt42 mlx42 raytracing-one-weekend 42projects 42school raytracing

minirt's Introduction

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

minirt's People

Contributors

alphacharge avatar fkernbac avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

fkernbac

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.