Coder Social home page Coder Social logo

jtdaugherty / tracy Goto Github PK

View Code? Open in Web Editor NEW
23.0 4.0 0.0 47.79 MB

A Haskell ray tracer largely based on http://www.raytracegroundup.com/

License: BSD 3-Clause "New" or "Revised" License

Haskell 99.54% C 0.10% Shell 0.36%
ray-tracer haskell multi-core multi-host graphics tracer linear-algebra

tracy's Introduction

tracy - a Haskell ray tracer

Features:

  • Basic idealized primitives: triangles, spheres, concave spheres, boxes, planes, tori, rectangles, triangle meshes
  • Mesh shading modes: flat, smooth (when vertex normals are available), textured (when UV coordinates are available)
  • Mesh file formats: PLY
  • Acceleration aids: regular grids, bounding volume hierarchies
  • Materials and shading: phong, matte, perfect specular reflection, glossy specular reflection, blended materials
  • Image-based textures
  • Procedural textures: planar checkers, spherical checkers
  • Texture mappings: rectangular, tiled (planar), spherical
  • Object instancing
  • Object transformations
  • Samplers: regular, random, jittered, multi-jittered, correlated multi-jittered
  • Global illumation: ambient occlusion, path-tracing
  • Cameras: thin-lens
  • Light source types: ambient, point, area (rectangles only), environment
  • Console output with status information
  • Live GUI window with progressive rendering
  • YAML-based scene file format
  • Basic animation support for some scalar and vector parameters
  • Movie output when rendering more than one frame
  • Multi-core rendering engine using Haskell's parMap evaluation strategy
  • Network rendering (run tracy -d tcp://slave:9000 on the master, tracy-node on the slave(s))
Demo Image
Basic shapes with ambient occlusion
Thin-lens depth of field
Stanford Bunny
Dragon mesh
Area lights
Specular reflection
Path-traced table and chairs
Blended materials
Textures

tracy's People

Contributors

jtdaugherty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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