GithubHelp home page GithubHelp logo

cs430-proj4-raytracing's Introduction

cs430-proj4-raytracing

NOTE: There is currently an issue with this program where it takes a very long time to render. It does finish, but takes around 1 minute

Applies basic shading and lighting techniques to spheres and planes. Supports multiple light sources and spotlights as well as pointlights.

Installation

The steps below are what is required to install the program on different architectures. Note that this project was built with Clion by jetbrains, so cmake is a dependency to build the program.

Note: All commands should be run from the project root directory

Linux

$ export LDFLAGS="-lm"
$ cmake .
$ make

Mac OSX and Windows

Note: Must have cmake version >= 3.3.2 installed

$ cmake .
$ make

Running the program

Mac OSX and Linux

$ ./raytrace <width> <height> <input.json> <output>

Windows

> raytrace.exe <width> <height> <input.json> <output>

Example Output Image

raycase example

cs430-proj4-raytracing's People

Contributors

mkgilbert avatar

Watchers

James Cloos 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.