06-20-2002, 05:42 PM
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
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