RIB Setup

To help debug shaders, I usually reduce the anti-aliasing performed by the renderer. Leaving the anti-aliasing on will tend to cover up problems in the shader. For 3Delight, this can be done by adding the following options to the rib file:

PixelSamples 1 1
Hider "hidden" "jitter" 0
PixelFilter "box" 1 1

Here are a couple of images showing the difference between the two settings, using a very simple surface shader:

Ci = 0.5*step(t, s);
Before
After

Quick Note: There are some jpeg compression artifacts in these images so the non-supersampled version doesn't look as aliased as it really is.

This page last edited: 2006/10/24 20:01:14
Copyright © 2003-2006 Peter Stuart