ccelio / TileCodeRayTracer

A simple ray tracer targeting both Tilera's TILE64 and x86 processors.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Christopher Celio, 2008 May
About

This is my first ever C++ program, written for a class project in parallelization techniques targeting the Tilera TILE64 many-core processor.

You can see an example output from my ray tracer here:

Example scene.

Features
  • cosine shading
  • specular lighting
  • reflections
  • runs once to render a static scene
  • outputs a .txt file for later, offline rendering

Not supported:

  • refraction
  • octree parsing
  • moving scenes

I make no promises about this code - the quality, the correctness, or even if it compiles anymore. It was originally set up inside Eclipse which auto-generated the build directories and makefiles. Memory leaks abound - coming in as a Java programmer, I was still struggling to learn proper pointer usage, and I didn't yet know about valgrind. Caveat emptor.


Here are some of the links that helped me learn both C++ and raytracing:

- http://www.devmaster.net/articles/raytracing_series/part2.php

About

A simple ray tracer targeting both Tilera's TILE64 and x86 processors.


Languages

Language:C++ 99.4%Language:C 0.6%