Advertisement

brightness problem

Started by March 17, 2003 06:14 AM
2 comments, last by OSXRules 21 years, 11 months ago
I am implementing an OpenGL based facial rendering program for my senior honours project on mac os x but the model is too dark. I have ambient lighting set at max (1.0f,1.0f,1.0f,1.0f) but I still have trouble seeing it. The model has >65000 vertices. I have also rendered a texture mapped cube and that shows up fine. Note, the model has no texture mapping - just coloured polygons. I have tried altering the material settings with glMaterialfv etc. but nothing seems to make it brighter. Can someone tell me what I am doing wrong??
You could post some code... On the material properties you are defining

Check out Stargate

[edited by - cavendish on March 17, 2003 7:31:12 AM]
--------Whatever
Advertisement
I'd also say that it could be an issue with normal values...if your normals are wrong (or none), and you enable lighting, it looks really dark.

- sighuh?

[edited by - redragon on March 17, 2003 11:51:29 AM]
- sighuh?
How about using diffuse light as well... Not sure it wil help, but it''s worth a try.

This topic is closed to new replies.

Advertisement