• Advertisement

Archived

This topic is now archived and is closed to further replies.

brightness problem

This topic is 5422 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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??

Share this post


Link to post
Share on other sites
Advertisement
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]

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites

  • Advertisement