I just wrote a class for loading and displaying models. Everything works fine except for a problem with the materials. In every frame, I set up each material with glMaterialf() and glMaterialfv(), then I draw all the faces for that material. When I set the material, it ends up only drawing the faces that go with the last material. All faces are draw (but without materials) when I comment out the glMaterial*() lines. Any ideas?
sorry, could you clarify your question a little? post some code?