| 1 |
NAME |
| 2 |
Decal - node representing a decal of coplanar polygons |
| 3 |
|
| 4 |
INHERITS FROM |
| 5 |
SoSeparator |
| 6 |
|
| 7 |
SYNOPSIS |
| 8 |
#include "Decal.h" |
| 9 |
|
| 10 |
Methods from class Decal |
| 11 |
|
| 12 |
Decal() |
| 13 |
|
| 14 |
DESCRIPTION |
| 15 |
The first child of a Decal is defined to be the base and is drawn first. |
| 16 |
The other children are layers to be drawn above the base in the order |
| 17 |
defined. Some or all of the layers can be coplanar with the base. The |
| 18 |
geometries of the layers must lie within the geometry of the base |
| 19 |
otherwise the results are incorrect. |
| 20 |
|
| 21 |
METHODS |
| 22 |
Decal() |
| 23 |
Creates a decal node. |
| 24 |
|
| 25 |
FILE FORMAT/DEFAULTS |
| 26 |
Decal { |
| 27 |
} |
| 28 |
|
| 29 |
SAMPLE FILES |
| 30 |
coplanar.iv: |
| 31 |
A scene containing 3 coplanar squares (white base, and red and cyan |
| 32 |
layers on top) under a separator. Demonstrates depth buffer conflicts. |
| 33 |
|
| 34 |
decal.iv: |
| 35 |
The same scene with the coplanar faces defined under a decal node. |