GithubHelp home page GithubHelp logo

demos's Introduction

Demos Signed-Distance Field Raytracer
Robert Dionne
February 25, 2012

Demos is a signed distance field raytracer. See http://en.wikipedia.org/wiki/Signed_distance_function. It has a debug rendering mode that shows the number of loop iterations per fragment, an eye-tracker level-of-detail mode that lowers the raytracer accuracy for fragments towards the edges of the screen and a toggleable mesh intersector mode.

Video: http://goo.gl/3QiIu OR https://docs.google.com/file/d/0B5t1j58WWjsiOTkwOWU5MWMtMDBmMS00NDFiLWE1YWYtMDBjMTY5NTk5MjQw/edit

Requirements:
1) Macbook Pro running Mac OS X Snow Leopard.
2a) Google Chrome 17.0.963.56 or better: http://www.google.com/chrome
  OR
2b) Mozilla Firefox 10.0.2 or better: http://www.mozilla.com/en-US/firefox/new/

Running:
1) Visit http://robertsdionne.github.com/demos/ in Google Chrome 17 or Mozilla Firefox 10.
2) Select a demonstration to run by clicking the corresponding link:
  * Simple demonstration with specular and diffuse lighting.
  * Temple demonstration with approximate ambient occlusion.
  * Ambient occlusion demonstration with approximate ambient occlusion and "infinite" geometry.
  * Solar demonstration with Perlin simplex-noise generating the geometry in space and time.

Controls:
  W - Move shape up.
  S - Move shape down.
  A - Move shape left.
  D - Move shape right.
  Q - Move shape away.
  Z - Move shape toward.

  N - Cycle to next shape.
  P - Cycle to previous shape.

  Y - Toggle debug rendering mode in some demonstrations.
  U - Toggle lower level-of-detail near edges of screen.
  I - Toggle intersector mesh to demonstrate the coexistance of raytraced and
      traditional polygon geometry in the same scene with correct depth
      interaction.

demos's People

Contributors

robertsdionne avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

zz85

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.