cannot show the true color

Hi,

I am writing code supporting a 3rd party program. My 3D objects perfectly show the colors I specify, until when a 3rd party square is enabled. The square is translucent and has two colors on its two sides. At this moment my objects can only show the color the square is showing. If the square is disabled, then my 3D objects are back to normal. My objects are the last rendered ones. Do you have any idea? Please help. Thansk.

Tony

Is the extra object changing the current colour (or material) between the places where you change it and where you draw your objects?

You could try saving state (with pushAttrib) before showing the extra object, and popAttrib it back afterwards.