Results 1 to 2 of 2

Thread: glCallList trouble :-)

  1. #1
    Junior Member Newbie
    Join Date
    Nov 2002
    Location
    germany
    Posts
    1

    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
    Member Newbie
    Join Date
    Nov 2002
    Location
    Germany
    Posts
    48

    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

Similar Threads

  1. glCallList(); behaving strangely.
    By SporreKing in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 09-25-2013, 03:23 PM
  2. glCallList not working
    By NossC in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 10-27-2009, 07:43 PM
  3. glCallList very slow
    By David Doria in forum OpenGL: Basic Coding
    Replies: 19
    Last Post: 11-21-2008, 04:35 PM
  4. glCallList() and glNewList()
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-01-2005, 05:59 PM
  5. glcalllist
    By fobru in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 10-13-2003, 06:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean