Hi Anton, Please ignore color indices etc as they are deprecated as they force the OSG to use OpenGL slow paths that make rendering disproportionately expensive. Indices just exist for backwards compatibility with previous scene graphs that aren't even available any more...
We need to update tutorials such as these to remove all the deprecated elements from them. The tutorials were developed by members of the community of a number of years so it's a little awkward to keep track of them. Robert. On Mon, Apr 20, 2009 at 11:36 PM, Anton Lauridsen <[email protected]> wrote: > Hi, > > I'm trying to learn to use OSG using the tutorials on the wiki, starting with > this: > http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/BasicGeometry, > during the coding, I learned that setColorIndices has been deprecated, > unfortunately I'm having difficulties figuring out what the preferred > replacements are. > > I tried doing some searches, using the usual keywords, "deprecated", > "setColorIndices" etc, (hey I'm a newbie, I probably haven't got the > terminology right) I haven't had much luck with finding replacements. Is > there somewhere I can go and get some idea about what to use instead? or is > there a more up to date tutorial? > > Thank you. > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=10482#10482 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

