Anti-aliasing

Anti-aliasing

Anti-aliasing is achieved through regular sampling. Of the two images below, the first has aliased edges, and the second is anti-aliased. This can be achieved with the following:
render samples 1
raytrace noanti.ppm 3 320 240
render samples 3
raytrace anti.ppm 3 320 240
aliased.jpg - vim3D.com
antialiased.jpg - vim3D.com

Jitter

The default is set to use regular sampling. However, you can use random sampling, and in particular, jittering or stratified sampling if you specify
render jitter 1
to set it back to regular, simply set it to 0. The images below were produced with
raytrace first.ppm 3 480 320
render jitter 1
render samples 4
raytrace second.ppm 3 480 320
nojitter.jpg - vim3D.com
jitter.jpg - vim3D.com