Imaginary PhysicsA Programming and Design Community ImaginaryPhysics |
|
Imaginary Physics Meetup The weekly general meeting will be about greeting new members, good tea, and good conversation. These meetings will be held in a general public venue. We like to try to inspire new individuals to our group projects. If you are interested in the topics, mathematics, design, or programming, this is a great time to meet people with common interests. See the full event details, including location, at http://www.meetup.com/Imaginary-Physics/calendar/grndqypcbzb/. |
How is lighting being handled then when using openGL? I have some understanding of openGL i just finished reading the red book and have been using Processing for some time. I am trying to pick apart how Processing is implementing openGL.// LIGHTING
// We're not actually turning on GL lights right now
// because our home-grown ones work better for now.
// public void lights() {
// super.lights();
// gl.glEnable(GL.GL_LIGHTING);
// }
// public void noLights() {
// super.noLights();
// gl.glDisable(GL.GL_LIGHTING);
// }