IBMIndexedFaceSet2D
IBMIndexedFaceSet2D.mp4
Description
IndexedFaceSet2D shapes. There are 6 columns. The 3 columns on the left have colorPerVertex=FALSE
and the 3 on the right have colorPerVertex=TRUE. In each column the top 2 rows have filled=TRUE
and the bottom 2 rows filled=FALSE. A background gray color has been set so that the
default lineProperties color can be seen clearly.
In each column from top to bottom the colors, colorIndex and lineProperties fields are as follows:
- Filled = TRUE; colors, colorIndex (no lineProperties)
- Filled = TRUE; colors, colorIndex with lineProperties: color is white.
- Filled = FALSE; colors, colorIndex (no lineProperties)
- Filled = FALSE; colors, colorIndex with lineProperties: color is white.
From left to right the three columns on the left hand side and the three on the right hand side are
as follows:
- colors and colorIndex
- colors but no colorIndex so colors in order listed
- No colors and no colorIndex
Note: colorPerVertex=TRUE rendering should ideally transition between the colors on the vertices smoothly.
In our renderer we currently select only one of the colors (the first one found) and apply it to the entire face.
Screenshot
Snapshot of rendered output.
Back to main index