I hope this is something really simple, which I've just overlooked, but as
it is I can't get per-face material/color assignment to work for
SoIndexedFaceSet.
I've attached a simple iv file with a single plane in it. There are two
colors in the 'orderedRGBA' field (red and green), and the associated
'materialIndex' assigns one color to half the plane and the other color to
the other half.
Or so I think :-/ When I look at the file in ivview it's all just gray. Am
I missing something ? Is ivview broken ? Or is this a known problem
elsewhere ?
Thanks,
Rasmus
-----------------------------------------------------------------------------
Rasmus.Tamstorf@xxxxxxxxxx "A problem worthy of attack,
Walt Disney Feature Animation proves its worth by hitting back" Kumbel
-----------------------------------------------------------------------------
test.iv
Description: Text document
|