At the spot where you set the colors, try to add a
UInt16 pind = geo->calcMappingIndex(Geometry::MapPosition);
geo->getIndexMapping()[pind] |= Geometry::MapColor;
to tell the Geometry to use the same index for positions and colors.
That did the trick! I have an idea of how the multi-indexing is supposed to
work, but those two lines have me scratching my head. I'm going to have to
read through the devguide and source code to figure out what exactly is
going on here. Thanks, Dirk!
.jg
_________________________________________________________________
Enjoy the holiday season with great tips from MSN.
http://special.msn.com/network/happyholidays.armx
-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills. Sign up for IBM's
Free Linux Tutorials. Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users