All Projects → martingarcialopez → miniRT

martingarcialopez / miniRT

Licence: other
School project for 42 Paris

Programming Languages

c
50402 projects - #5 most used programming language
objective c
16641 projects - #2 most used programming language
Roff
2310 projects
Makefile
30231 projects

Projects that are alternatives of or similar to miniRT

DxrLattice
Real-time raytracing fly through
Stars: ✭ 80 (+247.83%)
Mutual labels:  raytracing
GPU-Pathtracer
GPU Raytracer from scratch in C++/CUDA
Stars: ✭ 326 (+1317.39%)
Mutual labels:  raytracing
1337
This repository contains a collection of 42School cursus projects in addition to the pool/piscine days (with a detailed step by step explanation). Enjoy!
Stars: ✭ 35 (+52.17%)
Mutual labels:  42
42 Projects
What is 42? How does curriculum look like? A manual reference for all 42 projects I've done so far (Zappy, Malloc, C++ Piscine... check out for more)! 💡📈
Stars: ✭ 111 (+382.61%)
Mutual labels:  42
currender
Currender: A CPU renderer for computer vision
Stars: ✭ 26 (+13.04%)
Mutual labels:  raytracing
Aurora
An offline ray tracing-based renderer for fun
Stars: ✭ 45 (+95.65%)
Mutual labels:  raytracing
Nabla
OpenGL/OpenGL ES/Vulkan/CUDA/OptiX Modular Rendering Framework for PC/Linux/Android
Stars: ✭ 235 (+921.74%)
Mutual labels:  raytracing
CLUSEK-RT
Vulkan based C++ ray-tracing game engine.
Stars: ✭ 24 (+4.35%)
Mutual labels:  raytracing
gnlTester
Tester for the get_next_line project of 42 school
Stars: ✭ 87 (+278.26%)
Mutual labels:  42
OpenTK-PathTracer
C# OpenGL Path Tracer, Real-Time GPU accelerated
Stars: ✭ 22 (-4.35%)
Mutual labels:  raytracing
RTRT-Trans-Caustics
A reference implementation of ”Rendering transparent objects with caustics using real-time ray tracing“ using Unreal Engine 4.25.1.
Stars: ✭ 12 (-47.83%)
Mutual labels:  raytracing
42tools
Making 42 life better
Stars: ✭ 43 (+86.96%)
Mutual labels:  42
vulkan-raytracing
"Simple" Vulkan raytracing
Stars: ✭ 27 (+17.39%)
Mutual labels:  raytracing
ftprintfdestructor
A script that destroys the school 42 project ft_printf
Stars: ✭ 20 (-13.04%)
Mutual labels:  42
42ShellTester
Integration test suite for Shell implementation
Stars: ✭ 35 (+52.17%)
Mutual labels:  42
BioExplorer
The Blue Brain BioExplorer (BBBE) is a tool for scientists to extract and analyze scientific data from visualization and interactive exploration
Stars: ✭ 18 (-21.74%)
Mutual labels:  raytracing
ArtOfIllusion
Art of Illusion modeling and rendering suite - core application and tools
Stars: ✭ 58 (+152.17%)
Mutual labels:  raytracing
minilibx
setup environment for minilibx library in Windows/Linux
Stars: ✭ 27 (+17.39%)
Mutual labels:  42
webrays
WebRays - Ray Tracing on the Web
Stars: ✭ 38 (+65.22%)
Mutual labels:  raytracing
CSharpDirectXRaytracing
DirectX Raytracing Tutorials in CSharp
Stars: ✭ 53 (+130.43%)
Mutual labels:  raytracing

miniRT

School project for 42 Paris. The subject -> miniRT_subject

A basic ray tracer using the CPU, featuring antialiasing via adaptative supersampling and a multithreaded render. The supported primitives are spheres, planes, cylinders, squares, triangles, cubes and pyramids. There aren't any acceleration structures like BVH, and although it supports triangles, a proper KD-tree for polygon meshes acceleration were not included.

Installation

git clone https://github.com/martingarcialopez/miniRT.git && cd miniRT && make

The Makefile will compile the project properly on Linux and macOS machines. It will detect the number of cores of your computer and will define the number of threads used to render accordingly.

Usage

  • ./miniRT <scene.rt> To render the .rt scene passed as a parameter

  • ./miniRT <scene.rt> --save To save the .rt scene passed as a parameter to a .bmp file

Example

./miniRT scenes/cornellbox.rt

======================   Some samples (click on the images for larger size)   ======================

alt text

alt text

alt text

alt text

alt text

alt text

alt text

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].