Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: glCallList trouble :-)

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2002

    glCallList trouble :-)

    I have trouble with the glCallList :-(.
    I read asc (3D-Studio) code from a file in my programm and use the GlNewList(..) and everything looks fine, the object appears when i use glCallList(..), but when i try to load the next object, the new object is not visible :-(. Without displaylist it works fine! Can i create a displaylist from any procedure or must i use the OpenGL init() procedure? Sorry about my bad english but its to late :-) and im tired.

  2. #2
    Intern Newbie
    Join Date
    Nov 2002

    Re: glCallList trouble :-)

    You can create a display list as long as you have a GL context (a window is already created) and you're not in a glBegin()/glEnd() sequence. Remember some commands cannot be stored in a display list, for example client commands or commands to retrieve the OpenGL state.
    Knowledge is Power

Posting Permissions

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