brightness problem
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]
Check out Stargate
[edited by - cavendish on March 17, 2003 7:31:12 AM]
--------Whatever
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?
[edited by - redragon on March 17, 2003 11:51:29 AM]
- sighuh?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement