Original Post
Hi, Before you make any judgements: I'm going to try to make a ray-tracer without OpenGL. It will use only Python and Pygame. The idea is that the rays will be rendered to a Pygame surface and then the surface will be drawn. Again, no OpenGL, so no, this is not a graphics question. I have made a basic raytracer, just by sitting down and coding it. It renders as many objects (I've only got spheres) as you want, but it is very slow and it only does basic colors. As of yet, there are no shadows, reflections, refractions, lights, anti-aliasing, etc. These are, of course, the things which most attract me about ray-tracing, so they must be added now. As far as code goes, I get the feeling I'm doing it all wrong. So, I'm looking for a basic ray-tracer's code, in Python, which can render polygons, (triangles and/or quads) with shadows and color. After that, I think I can figure out how to do reflections, refractions, and anti-aliasing. Thanks, Geometrian