So before we start talking about our technique, I would like to give
you a high-level description of what we're going to do. We are going
to take a standard bitmap, shown here in blue at the
top left, and enhance it with something
we call a silhouette map, shown in red at the top right, to create
what we shall call
a "deformed texture" - a texture whose cells have been deformed
to match discontinuities in the texture.
We are going to need both the standard texture and the silhouette map in our technique, because the texture will give us the RGB color values while the silhouette map will allow us to preserve the sharp discontinuities by storing their position.