Results 1 to 4 of 4

Thread: How to make it faster

  1. #1
    Junior Member Newbie
    Join Date
    Jul 2001
    Location
    Cologne, NRW, Germany
    Posts
    13

    How to make it faster

    Hi,

    at the moment I am using GL_TRIANGLES to draw my faces. I read thought the Red Book and found i even can use FANS and STRIPS. But how can I convert a tiangle bases 3D object to a object that is optimized for triangles strips?

    My object looks like this:

    struct
    {
    float x;
    float y;
    float z;
    } veclist;

    struct
    {
    int a;
    int b;
    int c;
    } face;

    struct
    {
    int facecount;
    face *faces;
    veclist *list;
    } object;

    I even got some more variables (texture, dimension, normal, u, v).

  2. #2
    Junior Member Newbie
    Join Date
    Apr 2001
    Location
    London, UK
    Posts
    11

    Re: How to make it faster

    Originally posted by Dominik:
    But how can I convert a tiangle bases 3D object to a object that is optimized for triangles strips?
    Nvidia have a library for converting triangle objects into triangle strips. It is optimised for GeForce T&L caches but I believe it does not require Nvidia extensions at all.

    It is at http://partners.nvidia.com/Marketing...256A3B000FF831

  3. #3
    Junior Member Newbie
    Join Date
    Jul 2001
    Location
    Cologne, NRW, Germany
    Posts
    13

    Re: How to make it faster

    fast reply.

    thank you!

  4. #4
    Member Newbie
    Join Date
    Jul 2001
    Location
    boston, ma, usa
    Posts
    30

    Re: How to make it faster

    You can try the "glVertexArray", "glNormalArray" and "glDrawArrayElement".

Similar Threads

  1. how to make glTexImage2D faster?
    By freesui1984 in forum OpenGL ES
    Replies: 3
    Last Post: 09-15-2009, 09:39 AM
  2. how can i make my rendering faster
    By mithun_daa in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 11-20-2003, 11:53 AM
  3. How can i make my lighting even faster...?
    By ewan_s in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 11-05-2003, 04:51 AM
  4. how can i make my 3D program run faster ?
    By sjinny in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 07-06-2003, 04:57 AM
  5. tips how make it faster
    By jirkamelich in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-24-2002, 10:27 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