Code Monkey home page Code Monkey logo

ray-tracer-challenge's Introduction

Ray Tracer Challenge

test_banner

This is a ray tracer written in Rust following the book "The ray tracer challenge" by Jamis Buck.

The book provides language agnostic test cases, pseudocode and explanations. The rest is up to the reader to implement.

What is ray tracing?

Ray tracing is a technique for rendering digital images by simulating how light behaves as it interacts with different materials. It produces realistic results but is relatively slow.

Ray Tracing (Wikipedia)

Why?

My objectives with this project is to

  • Learn about 3D graphics
  • Learn Rust

No dependencies

Yay ๐ŸŽ‰

Run

cargo run --release

Examples

Chapter 16, Constructive Solid Geometry

Chapter 15, Triangles

Chapter 14, Groups

Chapter 13, Cylinders and Cones

cylcone

Chapter 12, Cubes

cubes

Chapter 11, Reflection and Refraction

sphere

Chapter 10, Patterns

sphere

Chapter 9, Planes

sphere

Chapter 8, Shadows

sphere

Chapter 7, Scene made from multiple spheres

sphere

Chapter 6, First 3D sphere

sphere

ray-tracer-challenge's People

Contributors

agentbellnorm 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.