Giter Site home page Giter Site logo

0ctobyte / raytracer Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 1.0 184.12 MB

A ray tracer implemented in C++ capable of rendering scenes described by a Lua based DSL. Developed as a project for the CS488 course.

Home Page: http://0ctobyte.github.io/raytracer/

Lua 21.76% Makefile 0.32% C++ 77.92%

raytracer's Introduction

Ray Tracer

A ray tracer implemented in C++. It traverses a scene file described by a Lua based DSL. This was written for a project for the CS 488 course at the University of Waterloo.

Check out the site to see some of the images rendered with the ray tracer!

Build & Usage

Run make in the src directory to compile the program.

To run the program (<scene> is the lua scene file):

./rt <scene>.lua

Features

  • Standard Primitives
    • Sphere
    • Cube
    • Polygonal Mesh (faces are assumed to be convex and planar)
    • Cone
    • Cylinder
    • Torus
    • Disc
  • Constructive Solid Geometry
  • Soft Shadows
  • Anti-Aliasing
  • Texture Mapping
  • Bump Mapping
  • Refraction
  • Phong Shading (Normal Interpolation)
  • Perlin Noise
  • Glossy Reflection

raytracer's People

Stargazers

Jan van Bergen avatar Alper Şahıstan avatar Oles avatar Michael Sumner avatar  avatar Tobias Ulrich avatar ayrton avatar Wellbye Smith avatar Wilfried Le Cor avatar Robin Sloan avatar  avatar Raunaq Sawhney avatar  avatar  avatar Preshoth Paramalingam avatar

Watchers

James Cloos avatar Sekhar Bhattacharya avatar

Forkers

t433wang

raytracer's Issues

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.