So I'm here in Brazil, studying.. Why would you otherwise visit Brazil? >_<
Anywho! I'm reading the following courses:
? Introduction to Graphics programming
? Compilers and languages
? Online businesses
? Introduction to Automisation
oh they're all so fun!! *cries*
Anyway, the current and last assignment for Graphics programming is a raytracer. (OK we've got a theory paper to answer and another written test but this is the last code assignment)
I got the basic part down on the raytracer. Ray / sphere collision and rendering a scene with 4 spheres, pretty simple. Now when I wanted to move on to multiple light sources and reflections, I realize that I have to do some stupid crap things for the assignment. Namely parse a file and build a scene from that and render to a .ppm image, I'll do the image thing laaaater.
Notice how the green ball is darker, because it has a lower diffuse material than the other balls =D. The white is just there to test my depth testing, since it's in front of the red ball it should be rendered just like in the pic.
OK now I'm off to create a triangle and maybe the assignment optional disc. *procrastinating the read config file - set up scene part*