C

C programming language

A Ray Tracer - Part 2

Last time we build up the basics of the raytracer: some essential math and the corresponding function implementations and structures in the C programming language. We will expand the ray tracer this time to generate actual graphics and to generate these images with multiple spheres, light sources, and reflections.

Painter

A Ray Tracer - Part 1

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 it's connection to mathematics.

Raytrace Scene

C: Structs and Pointers

This blog entry covers parts of a recent C programming exam I held for my course C programming at VAMK. I know some of my students read this blog, so it might be of help to them, or anyone else interested in some more, dare I say, 'advanced' C stuff. It is by no means intended to be a complete tutorial, but it might provide a starting point for further study.

Syndicate content