Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > Re: Object alwa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 10 of 11 Topic 4875 of 5017
Post > Topic >>

Re: Object always white.

by crjjrc <crjjrc@[EMAIL PROTECTED] > Aug 20, 2008 at 07:25 AM

On Aug 20, 6:46=A0am, Flark <flark...@[EMAIL PROTECTED]
> wrote:

> I tried this, and the object is still white:
>
> float mc[4] =3D { 1.0, 0.0, 0.0, 1.0 };
> glMaterialfv (GL_FRONT, GL_AMBIENT_AND_DIFFUSE, mc);

These material calls won't affect anything if GL_COLOR_MATERIAL is
enabled.  What parameters do you pass to glColorMaterial()?

- Chris
 




 11 Posts in Topic:
Object always white.
Flark <flarkino@[EMAIL  2008-08-19 10:26:53 
Re: Object always white.
"jbwest" <jb  2008-08-19 11:23:37 
Re: Object always white.
Flark <flarkino@[EMAIL  2008-08-19 11:50:44 
Re: Object always white.
mi76 <mi333@[EMAIL PRO  2008-08-19 23:48:29 
Re: Object always white.
"jbwest" <jb  2008-08-19 17:06:12 
Re: Object always white.
fungus <openglMYSOCKS@  2008-08-19 15:07:10 
Re: Object always white.
Flark <flarkino@[EMAIL  2008-08-20 04:39:57 
Re: Object always white.
"jbwest" <jb  2008-08-20 08:04:03 
Re: Object always white.
Flark <flarkino@[EMAIL  2008-08-20 04:46:38 
Re: Object always white.
crjjrc <crjjrc@[EMAIL   2008-08-20 07:25:59 
Re: Object always white.
Flark <flarkino@[EMAIL  2008-08-20 08:21:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 3:58:36 CST 2008.