[osg-users] obtaining the display list ID from a geometry node

2008-05-12 Thread Sebastian Knödel
Hi there, I would like to obtain the display list ID of a geometry and use them inside my own CSG tool. Then I would like to render the result of the CSG process, which are also display lists. The main purpose of using OpenSceneGraph would be to manage my scene, like to load data, manage the

Re: [osg-users] obtaining the display list ID from a geometry node

2008-05-12 Thread Robert Osfield
Hi Sebastien, The Drawable method you are look for is: /** Return OpenGL display list for specified contextID. */ inline GLuint getDisplayList(unsigned int contextID) const { return _globjList[contextID]; } However, your usage model so sounds rather outside the usage for the