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

Thread: same performance with direct draw & Vertex array

  1. #1
    Junior Member Newbie Rondey's Avatar
    Join Date
    Mar 2009
    Location
    ARGENTINA
    Posts
    20

    same performance with direct draw & Vertex array

    Why I have low performance result with direct draw mode and also with vertex array ?

    the 3000 records in the file (data.txt) are show with a animation motion slow; its the same performance in twice cases.

    I believe so with vertex array to have a faster motion but... don't.

    who have any comment ?...please...!


  2. #2
    Senior Member OpenGL Pro BionicBytes's Avatar
    Join Date
    Mar 2009
    Location
    UK, London
    Posts
    1,171

    Re: same performance with direct draw & Vertex array

    I think we need a bit more information and detail here.
    What are you trying to do? and what's in the data.txt file ? (model positions, model matricies, vertex attributes?)
    Do you access the file each draw call, or do you read the entire file into memory first?

  3. #3
    Junior Member Newbie Rondey's Avatar
    Join Date
    Mar 2009
    Location
    ARGENTINA
    Posts
    20

    Re: same performance with direct draw & Vertex array

    what I try to do....Well; show all records (draw)the scene; the animation environment. Into the file to have model matrix for build triangles, squares, lines...simple geometry.

    How is the file access; well reading all the file since the first record until the bottom. and draw all the scene in one
    call.

    How many record ?
    3000


  4. #4
    Member Regular Contributor Rosario Leonardi's Avatar
    Join Date
    Aug 2008
    Location
    Italy
    Posts
    352

    Re: same performance with direct draw & Vertex array

    how slow is your program?
    I get very high frame rate plotting graph with more than 5000 point.
    Can you post the drawing part of the code?
    ~ ~ I tell you, realtime 3D is made of blood, sweat and screams! ~ ~

Posting Permissions

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