View Full Version : glClear in Open Inventor

03-11-2010, 09:59 PM
I'm using IVuPy to write an open inventor code. As you may know it does not have built in opengl and various opengl versions are in conflict with it (specially in linux).

What is the equivalent function for glClear in Open inventor? Note that SoSceneManager.render does the work but it lowers the performance. I need a fast fucntion which does the same as glClear.


03-12-2010, 08:12 AM
SoSceneManager::render is about the only place Open Inventor calls glClear.
Lowers performance compared to what? Calling glClear should take about the same amount of time whether you call it directly or indirectly through the render() method. Of course the render() method goes on to traverse the scene graph, which could take some time... but you could call it with an empty or temporarily empty scene graph.


03-12-2010, 09:51 PM
Dear Mike,

Thanks for the info.