Hi Robert, In fact both your code and mine work fine under my platform. It is OK to use addElement(), too and a triangle line (made up by the first three elements in the vertex array) will appear. Is there something wrong with your makefile or project settings? What is the error message?
Cheers, Wang Rui 2010/10/28 Robert Gosztyla <[email protected]> > Hi, > > Hmm, the same effect, doesn't work (why should?). There is something wrong > with elements->addElement() method? > > Thank you! > > Cheers, > Robert > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=33151#33151 > > > > > > _______________________________________________ > 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

