Skip to content. Skip to navigation

Illuminate Labs

Sections

Using Adaptive Super Sampling

In this tutorial we are going to demonstrate how to use Turtle's adaptive super sampling scheme.

In this tutorial we are going to demonstrate how to use Turtle's adaptive super sampling scheme. Lack of super sampling will lead to aliasing (flicker/jaggies/stair stepping) in animations and still images. But you shouldn't use higher super sampling settings than necessary since it can affect the render times.

No Super Sampling

Let's enable super sampling. The result is much better but not good enough.


Super Sampling 1 8

  • Min Samples: 1
  • Max Samples: 8
  • Contrast: 0.1
  • Advanced Edge Tracing: Off

To get a decent result with the "standard" super sampling, we need to set the Minimum Samples setting to at least 8.

Super Sampling 8 8

  • Min Samples: 8
  • Max Samples: 8

A much better way to achieve the wanted result is to use Turtle's edge tracing features. Turtle will then identify edges in the scene and sample them more aggressively. The sampling rate is decided by the Forced Sampling Level attribute.

Super Sampling 1 8 contrast

  • Min Samples: 1
  • Max Samples: 8
  • Contrast: 0.1
  • Advanced Edge Tracing: Contrast
  • Forced Sampling Level: 8

The result is almost as good as when we sampled 8/8, but we use a lot less samples. The image below illustates the sampling level. White means 8 an black means 1. The image is created by enabling the Diagonse Sampling Level setting.

Diagnose Super Sampling

In the 8/8 case. We would have a pure white picture. The difference in render times in a test scene like this isn't really that great. But in a proper production scene the difference in render times can be huge.

Contrast versus Geometry

Turtle's edge tracing works in two different modes, Geometry and Contrast. Geometry edge tracing tries to find edges between different geometry objects. In our test scene, this means that the pipes will be edge traced, but not the shadows. The contrast mode super samples based on the contrast differences between neighbouring samples. Contrast super sampling is also very useful for reflection and refractions.

Conrast Edge Tracing

Contrast Edge tracing

Geometry Edge Tracing

Geometry Edge Tracing

Choose your battles

Super sampling is a necessary tool to get great looking results. However, sometimes it is better to rethink your modelling approach. The left grid are made of geometry cylinders. The right is a plane with a grid texture as transparency map. The image is rendered with one sample per pixel. When texture sampling can be used, use it. It is always much more cheaper than super sampling.



Return to Tutorial index

Last modified 2006-03-07