View Full Version : Better way to make the faces
08-16-2000, 03:17 AM
Witch is the better way to calculate the faces, in quads or triangles ?
If you mean by calculate render a geometry, u should use GL_TRIANGLE_STRIP or GL_QUAD_STRIP.
If not, i don't understand you'r question :
08-16-2000, 06:34 AM
I know witch function I have to use, but witch of the ways will give me the best result ?
u can also use (if u have a good card) the vertex arrays. It send the values directly to the card and u can have good results.
U should test different ways because it depends of what u want to render.
If you just need geometries and static colors and static textures, u can use the vertex arrays.
If the colors and the texture are not static during your appli, use GL_TRIANGLE_STRIP...
08-16-2000, 10:40 AM
But using the vertex array, will I be able to render it ???? As I know, I can render a surface, just using quads or triangles...
The vertex array, that you are talking about, is the X,Y,Z data ???? or the vertex of the quads or triangles...
Thank you for the moment
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.