Exploring the realm of floating point rounding errors

Z-Fighting Hypercube.

I randomly came across this interesting pattern playing around with blender. It’s essentially three glassy (RGB) cubes merging into the same location. Curious, I initially thought it to be some sort of 3d fractal caused by the reflective properties of the primatives within the scene.

Turns out, the pattern is caused by floating point rounding errors. Additional information about this phenomenon can be found in this wikipedia article.

Watch the video!

A look inside the box.   (Click for higher resolution)

In this series of frames, the perspective change is .01 degrees.
Exploring the realm of floating point rounding errors!

Leave a Reply

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