3 ms·
Students will use the "print" function and printf-style debugging frequently in production coding environments. Students will never use the OpenGL immediate AP
by jjoonathan 13y ago
Students will use the "print" function and printf-style debugging frequently in production coding environments.
Students will never use the OpenGL immediate API in a production coding environment.
One of these is a much better didactic stepping-stone than the other.
- kbenson 13y agoBut will using the immediate API hepl them grasp some of the concepts of OpenGL? Is there truly nothing that's learned that applies to other tasks in OpenGL? I find that unlikely. In C, the canonical hello world example can help teach about the program starting point, return codes, argument passing, and IO. This extremely simple program can help the student learn these core concepts, even if in practive their program may ignore all of that for main except what the instruction starting point is. Was the exercise pointless, or did it help cement core concepts which may help later?
- greggman 13y ago> But will using the immediate API help them grasp some of the concepts of OpenGL? No, not a single one. immediate mode had gl_Vertex, gl_Normal, gl_Color. Those are all gone. immediate mode had lighting, that's now hiding the fact that modern GL has no lighting, you have to write it yourself. Old GL has no normal maps, no opacity maps, no specular maps. Old GL had a matrix library. That's gone to. You learn almost nothing from immediate mode GL that is relevant to modern GL. You could argue you learn about some common 3D concepts like a projection matrix and a model matrix but since you don't actually work with the math in old GL you aren't really learning anything more than you could learn from any other 3D library built on top of GL.