How to get the actual color of faces with no shading.

Ok, I have a face in my scene which eventaully ends up as a AIS_Shape, I have it set to red, but it's not red because of lighting/shading in the scene. What's the best way to eliminate shading/lighting and just end up with just the color I define. I've tried setting the V3d_Viewer ShadingModel to V3d_COLOR, turned on off lights, and nothing seems to give me what I'm after. Any ideas? Thanks!

Patrik Mueller's picture

Hi,

take a look at Graphic3d_MaterialAspect... I think you will find there some interesting methods ;-)

Greets,

Patrik