Archive for November 2011

A Ray Tracer - Part 1

Submitted by PurpleAlien on Sun, 11/13/2011 - 15:28

Tags: C, Graphics, Mathematics, Programming, Ray Tracing

I've always been fascinated with computer graphics. One of the first things I learned to code when I was a kid was a ray tracer. It was a simple and straight-forward assembly implementation on an early home computer, but it taught me a lot about how computers deal with graphics and just programming in general and its connection to mathematics.
[null, null, {"document_url": "https://www.purplealienplanet.com/sna/2011/11/story/all", "unformatted_src": "/sites/default/files/image/pa_twitter.png", "src": "https://www.purplealienplanet.com/sites/default/files/image/pa_twitter.png", "formatted_filename": "pa twitter", "alt_text": "Follow on Twitter", "rendered_width": 100, "rendered_height": 48}, null, {"document_url": "https://www.purplealienplanet.com/sna/2011/11/story/all", "unformatted_src": "/sites/default/files/raytracescene.png", "src": "https://www.purplealienplanet.com/sites/default/files/raytracescene.png", "formatted_filename": "raytracescene", "alt_text": "Raytrace Scene"}, null, {"document_url": "https://www.purplealienplanet.com/sna/2011/11/story/all", "unformatted_src": "/sites/default/files/image/pinguino-tux-gentoo.png", "src": "https://www.purplealienplanet.com/sites/default/files/image/pinguino-tux-gentoo.png", "formatted_filename": "pinguino tux gentoo", "alt_text": "Tux Gentoo", "rendered_width": 148, "rendered_height": 150}, null]