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 5 of 5

Thread: please help me in display lists

  1. #1
    Junior Member Newbie
    Join Date
    Apr 2013
    Posts
    5

    Question please help me in display lists

    can every body help me?
    when I create more display lists for example more than 200 list when I click in run
    game before run exit from gl window
    and when I use few lists its work Correctly
    Does opengl have limitation about more than 200 lists
    please help me?
    I sure my objects are correct
    every objects size is Range of 100kB in .obj format

  2. #2
    Senior Member OpenGL Pro Aleksandar's Avatar
    Join Date
    Jul 2009
    Posts
    1,077
    No. OpenGL has no such limit in the number of DLs (in fact, there is, but it is pretty high - defined by max. integer number used for their IDs). Even if there is no space in video memory, OpenGL still works and swaps objects to/from video memory. I, personally, displayed scene with 64K DLs without any problem many years ago.

  3. #3
    Junior Member Newbie
    Join Date
    Apr 2013
    Posts
    5
    thanks alot for you
    but I dont know what do I do for fix this wrong
    in my opinion every things are ok
    can I want you to write your display lists in your codes
    for example write your code only from glint index=glGenLists(1000);
    to glEndList();
    They are my lists:

    Glint index = glGenLists(91);
    glNewList(index,GL_COMPILE);
    .......use object
    glEndList();
    ............
    glNewList(index+90,GL_COMPILE);
    .......use object
    glEndList();

    and then I use

    Glint index2 = glGenLists(100);
    glNewList(index2,GL_COMPILE);
    .......use object
    glEndList();
    ............
    glNewList(index2+99,GL_COMPILE);
    .......use object
    glEndList();

    Is this code correct ?

    thank you

  4. #4
    Junior Member Newbie
    Join Date
    Apr 2013
    Posts
    5
    when I want run my program my windows give an error about visual memory
    my graphic card is nVidia GeForce 7100 GS
    Brand
    GIGABYTE

    Model
    GV-NX71G512P8-RH

    Interface

    Interface
    PCI Express x16

    Chipset

    Chipset Manufacturer
    NVIDIA

    GPU
    GeForce 7100GS

    Core Clock
    350MHz

    PixelPipelines
    4

    Memory

    Effective Memory Clock
    700MHz

    Memory Size
    512MB(128MB on Board)

    Memory Interface
    64-bit

    Memory Type
    GDDR2

    3D API

    DirectX
    DirectX 9

    OpenGL
    OpenGL 2.0

    Ports

    D-SUB
    1 x D-SUB

    DVI
    1 x DVI

    TV-Out
    HDTV / S-Video / Composite Out

    VIVO
    No

    General

    Tuner
    None

    RAMDAC
    400 MHz

    Max Resolution
    2048 x 1536

    RoHS Compliant
    Yes

    SLI Support
    SLI Ready

    Cooler
    Fanless

    Features

    Features
    Intellisample 4.0
    UltraShadow II
    TurboCache Technology
    CineFX 3.0 Engine
    nView Multi-Display Technology
    Microsoft DirectX 9.0 Shader Model 3.0
    PureVideo HD
    Screen-Cooling

  5. #5
    Junior Member Newbie
    Join Date
    Apr 2013
    Posts
    5
    when i write glDeleteList and delete lists after create program work correctly
    but if i dont use gldeletelist my program crashed

Posting Permissions

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