21 years, 9 months ago
Highlights
21 years, 9 months ago
21 years, 9 months ago
When i clear the backbuffer using glClear and GL_BLEND enabled , does OpenGL actually perform blending? I thought it should , because glClearColor takes the alpha component as f…
21 years, 9 months ago
Hi all This is regarding the Milk Shape 3d model loading tutorial (lesson31) . What are the #pragma pack and the other macros meant for ? And what is the byte alignment involved…
22 years ago
vPosition in your code is a STRUCTURE rite..?VertexArrays have to be arrays of floats in openGL for it to run properly .. thus a vertex array containing "N" vertices .. with 3 c…
21 years, 9 months ago
Latest Activity
See all in DiscussionsvPosition in your code is a STRUCTURE rite..?VertexArrays have to be arrays of floats in openGL for it to run …
21 years, 9 months ago
// set our vertex, normal and texcoord arrays glVertexPointer( 3, GL_FLOAT, 0, &pObject-;>pNormals[0].x ); glNormalPointer( GL_FLOAT, 0, &pObject-;>pNormals[0].x ); You …
21 years, 9 months ago
Try out glVertexpointer , glNormalpointer and a glDrawElemets call .. you can completely avoid looping and calling glVertex* !! THere …
21 years, 9 months ago