GithubHelp home page GithubHelp logo

palucena / minirt Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.15 MB

My first RayTracer with miniLibX

License: MIT License

Makefile 1.05% C 90.20% C++ 6.95% GLSL 0.14% Batchfile 0.19% Shell 0.18% Python 1.30%

minirt's Introduction

miniRT

MiniRT is a ray tracing project developed as part of the curriculum at Campus 42. The project aims to implement a basic ray tracer capable of rendering simple scenes with basic shapes and lighting effects.

Features

  • Ray-Sphere Intersection
  • Ray-Plane Intersection
  • Ray-Cylinder Intersection
  • Ray-Cone Intersection
  • Phong Shading Model (Ambient, Diffuse, and Specular lighting)
  • Shadows
  • Support for .rt files for Scene Description

Installation

Clone the repository to your local machine:

git clone https://github.com/PaLucena/miniRT.git

Navigate to the project directory:

cd miniRT

Build the project:

make / make bonus

Usage To run the ray tracer with a scene file:

  Example:

./miniRT scenes/standart.rt

scene.rt should be a valid scene description file in the provided format.

Contributing

Contributions are welcome! If you'd like to contribute to miniRT, feel free to open an issue or submit a pull request with your changes.

License

This project is licensed under the MIT License - see the LICENSE file for details.

minirt's People

Contributors

ealgar-c avatar palucena avatar

Stargazers

 avatar

Watchers

 avatar

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.