Hi,
I build a list with some objects which have some colors assigned and at run
time I would like to change the color of some objects in that list. Is a way
to define such a pointer to the color I want to assign to a given object of
the list?
Actually I do
glNewList(objMovieList, GL_COMPILE);
glColor4f(rCol, gCol, bCol, aCol);
// draw some quad
glEndList();
At run time, even if I change the values of rCol, gCol, bCol, aCol,
the object color doesn't change. Any pointer to the color in the list?
Any other way?
Thank you.
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden
This email sent to email@hidden