View Full Version : Opengl Functions
I just have a quick question, how do i make opengl drawing commands work in functions? All my attempts failed.
I already know about display lists, but i need to show my object at multiple places at once, and i cant doo that with display lists.
07-03-2005, 06:38 PM
Yes you can, just perform your transformation before you call your display list.
As for OpenGL calls not working in "other functions" are these functions operating in the same thread in which your rendering context is current?
What do you mean by
are these functions operating in the same thread in which your rendering context is current Sorry, I'm new to opengl, and pretty new to C++
post the code you have so far?
07-03-2005, 10:22 PM
I'll take that as a single threaded application.
Are you using GLUT?
Please explain more by what you mean about OpenGL drawing commands not working in functions.
Never mind, it turns out that i wasn't declaring the function at the beggining of the program
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.