Code Monkey home page Code Monkey logo

rust_raytracing_weekend's Introduction

Rusty Raytracer

Working on completing Ray Tracing in One Weekend The Book Series in Rust.

Progress

cornell box

  • Motion Blur: Done
  • Bouding Volume Hiararchies: Done
  • Quadrilaterals: Done
  • Instances: Done
  • Lights: Done
  • Textures: In Progress

random world

  • Completed!

Building

  • Clone this repo
  • cargo build or cargo build --release

Usage

Usage: raytracing_weekend.exe [OPTIONS]

Options:
  -o, --output <OUTPUT>          Output image path.  Only TGA output is supported. [default: output/image.tga]
  -d, --demo-scene <DEMO_SCENE>  Demo scene to render:
                                        0 = Random Spheres
                                        1 = Cornell Box.
                                        2 = Qauds [default: 0]
      --width <WIDTH>            Output image width. [default: 1920]
      --height <HEIGHT>          Output image height. [default: 1080]
  -s, --spp <SPP>                Samples per pixel. [default: 50]
  -m, --max-depth <MAX_DEPTH>    Max ray bounce depth. [default: 50]
  -t, --threads <THREADS>        Max number of threads. 1 means disable threading. [default: 32]
  -h, --help                     Print help (see more with '--help')
  -V, --version                  Print version

rust_raytracing_weekend's People

Contributors

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