Giter VIP home page Giter VIP logo

raytracer's Introduction

raytracer

This is a raytracing library that is focused on speed and interactive rendering. It uses multiple threads to render parts of an image in parallel.

I started this project in my spare time in order to refresh my C++ skills and learn about the Google Test framework. Turns out you CAN write tests in C++ :-)

prerequisites

To compile, you need ruby and rake. You also need a development version of Qt4 installed on your system. I recommend MacPorts for that.

compile

To compile, simply type:

rake

You might have to adjust some variables to make things work on your system.

A couple of examples will be compiled. The most important one is

examples/SceneBrowser/SceneBrowser

features

  • Templatized library
  • Pluggable cameras:
    • Pinhole camera
    • Orthographic camera
    • Spherical camera
    • Fish eye camera
  • Pluggable materials
    • Matte
    • Phong
    • Reflective
    • Transparent
    • Portal (like in the game)
  • Pluggable view planes for different interactive experiences (mostly for fun)
  • Pluggable shapes
    • Sphere, Box, Plane, Disk, Rectangle, Triangle, Mesh
  • Shape compositions
    • Composition, Union, Intersection, Difference, Instancing
  • Support for the PLY mesh format
  • SSE3 optimizations

hack

  • Fork
  • Use the coding style
  • Write code
  • Write tests
  • Send me a pull request

raytracer's People

Contributors

tkadauke avatar

Stargazers

Sena Unit avatar Max avatar

Watchers

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