Hello all OSG users,
does anyone know how to use the Geometry::getColorIndices() method? I do
not know how to work with the returned IndexArray - how to access and
change the values.
My situation: Geometry uses generally one color and sometimes it's
necessary to draw some primitiveSets by
Hi Thomas,
I can only guess the tutorial your are copying has rather awkward
usage of the OSG, in normal OSG usage you would never reference the
TemplateIndexArray template directly, rather just use the typedef
UIntArray.
As for color indices, please don't use them unless you really really
need
Hi Robert,
many thanks for explanation. So, the best is to use just colorArray and
push the same color for each primitive, OK.
ColorIndices (what semmed to me to be the thing I need) are used in this
tutorial:
http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/Textures
Tomas
Hi Thomas,
On Wed, Jul 2, 2008 at 9:51 AM, Tomas Hnilica [EMAIL PROTECTED] wrote:
many thanks for explanation. So, the best is to use just colorArray and push
the same color for each primitive, OK.
ColorIndices (what semmed to me to be the thing I need) are used in this
tutorial:
4 matches
Mail list logo