IBMImageOnIndexedFaceSet2D
IBMImageOnIndexedFaceSet2D.mp4
Description
IndexedFaceSet2D default texture mapping. Texture is rendered on the left (3 times vertically), three
different IndexedFaceSet2D are shown on the right, and the default texture mapped versions in the center.
The shapes have been chosen to have the same size bounding box as the size of the texture so that the
texturing result can easily be seen.
The upper shape is a simple single face. The middle shape has crossing edges and the interior is defined using a simple
inside rule. The lower shape is composed of two faces defined in the single IndexedFaceSet2D (and default texture is on
the bounding box for the shape - i.e. the bounding box of the two faces).
Screenshot
Snapshot of rendered output.
Back to main index