I am seeing some problems when using CVA to render a mesh of triangles
(using OpenGL lighting and couple of different materials).

I set up the vertex and normal pointers and then render the 
triangles using couple of glDrawElements(GL_TRIANGLES...) calls.

The symptoms I see are (depending on different issues)
-drawing all the triangles using the material properties
 used for the first set of triangles

-display of old data (I change the modelview matrix between frames)

-glPolygonMode not working

-not all triangle batches being visible


I have included the rendering function at the end of this message
(hopefully I did not break it while "cleaning" it)
If I don't use the USE_GL_CVA macro then the rendering results are
as expected.

My problem is that I am not 100% sure whether I am doing something
illegal with CVA or is this a CVA bug. So I would appreciate if
somebody who has used CVA would take a look. If it looks
like that I am not goofing up, I will start a dig into the 
CVA code to see what is causing the problem.

                Eero
                [EMAIL PROTECTED])


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to