|
The picture at the top of the page is a trace of a 4-dimensional cube with a cylinder cut out of each major axis.
Here is a sample of the objects and textures that are possible with this raytracer. This is a slice from a trace of a four-dimensional scene. Here is the whole trace and the source file that generated it.
From left to right, these are:
Here, a (k,n)-cylinder means an n-dimensional cylinder where k of the dimensions are restricted by the sum of their squares being less than or equal to the square of the radius. The remaining (n-k) dimensions are independently clipped.
Feedback of any sort is welcome to rt@nklein.com
Latest version fixes template classes to be compatible with newer compilers.