Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: glClear in Open Inventor

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2010
    Posts
    18

    glClear in Open Inventor

    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.

    Thanks,
    artmansoft

  2. #2
    Junior Member Newbie
    Join Date
    Jan 2005
    Location
    San Diego, CA
    Posts
    20

    Re: glClear in Open Inventor

    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.

    -Mike

  3. #3
    Junior Member Newbie
    Join Date
    Feb 2010
    Posts
    18

    Re: glClear in Open Inventor

    Dear Mike,

    Thanks for the info.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •