Results 1 to 7 of 7

Thread: Data loaded and now ?

  1. #1
    Guest

    Data loaded and now ?

    Hi,

    I wanted to ask you a question.
    I load the Vertices, Normals and TexCoords form an OBJ-File.
    Now I wanted to ask how to render the Data most efficent.
    It's all static meshes and so I think Vertex Array would be not bad. Or is there a better way ?
    First I showed the Data with glBegin(GL_TRIANGLES) and looped all Vertex3fs, but it is not efficent enough for larger models.
    Second: I want to use vertex programs and i wanted to know if i can use them together withvertex arrays. What about NV_VAR ? What Data do i need to use this extension.

    Hope you can help me. Thanks in advance

    Tom

  2. #2
    Senior Member Regular Contributor
    Join Date
    Sep 2001
    Location
    Eastern USA
    Posts
    218

    Re: Data loaded and now ?

    If your model is static, display lists can be very fast, and for even better performance optimize your vertices for use with "cheaper" primitives like triangle fans and strips.

    To the best of my knowledge, vertex arrays are just rapid fire vertex calls, so vertex programs should work with them. I'm sort of new to vertex programs so I may be wrong.

  3. #3
    Guest

    Re: Data loaded and now ?

    What about the usage of NV_VAR ? What does it exactly offer. And how is it related with NV_FENCE ?

    Tom

  4. #4
    Guest

    Re: Data loaded and now ?

    Hi,

    I optimized my data for vertex-stripes. Ofcourse some polys remain alone, but the speedup was noticeable. After that i began to use vertex arrays and it really becomes fast. Thanks for the help so far.

    What data-types can i use with NV_VAR ? Are there ARB_VARs or EXT_... ?

    Tom

  5. #5
    Member Newbie
    Join Date
    Apr 2002
    Posts
    48

    Re: Data loaded and now ?

    You can story any kind of vertex data in NV_vertex_array_range.
    It's for storing raw vertex data on video memmory | AGP mem.
    The acces from there is a lot faster ( uses DMA ).
    ATI has ATI_vertex_array_object ( didn't use it ).

  6. #6
    Guest

    Re: Data loaded and now ?

    You mean it is not possible to store the VAs on the graphics card's memory ? Or is the AGP bus fast enough for the Vertex data ?

    Tom

  7. #7
    Guest

    Re: Data loaded and now ?

    I got the picture ( video mem | AGP mem).

    Tom

Similar Threads

  1. which texture is loaded
    By minidrive in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 01-14-2013, 03:01 PM
  2. Texture not loaded
    By Jon8 in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-22-2004, 02:48 AM
  3. when is texture data loaded into texture memory
    By guoxusheng in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 02-12-2004, 04:49 AM
  4. When are textures loaded?
    By tsewell in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-13-2002, 08:35 AM
  5. [Q] Where is the loaded texture data stored ??
    By wonwoolee in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 08-08-2002, 12:36 AM

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