RayTracing – Day 1

Behold, the progress I’ve made in a day!

Well, not a lot to show yet admittedly. Visually I’ve just got a Form with a blank 800×600 PictureBox on it, which the raytracer will eventually render onto.

However in the background I’ve been laying out some of the framework functionality needed including some annoying mathy bits like the actual raytracing algorithms, I’ve done some of this before with my dissertation so it hasn’t been too difficult yet. I’ve also programmed in a few other trivial math things like 3D vectors and planes (no, not the flying kind). There is also a basic scene manager which can have three types of objects added to it: spheres, lights and flat planes, each with their own material colour and diffuse/reflection variables.

But as mentioned, there’s currently no actual rendering functionality yet, these are just the boring beginning steps of it. Hopefully I will have something a bit more interesting to show soon.

Sidenote: C# is a great language, I’m pretty sure its going to become my language of choice.

-Thomas

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">