PDA

View Full Version : Absolute newbie question...



theSlotty
06-19-2001, 10:51 AM
I'm having this stupid problem with my first self-coded openGL program. It just doesn't draw the stuff i wrote in the Render()-function... i only get a cleared background.
any idea what i did wrong?

T2k
06-19-2001, 11:02 AM
some more infos, or code fragments would help, because the list of possible problems is to big, for example, you could have forgotten to set the drawingcolor, or you have enabled lighting without generating normals, or you simply forgot to use glBegin()/glEnd() ...

[This message has been edited by T2k (edited 06-19-2001).]

theSlotty
06-19-2001, 11:13 AM
ok, i uploaded the source file. the url is: http://www.crosswinds.net/~slotty/main.cpp (doesn't seem to work if you click on it, you'll have to type it into you browser)

[This message has been edited by theSlotty (edited 06-19-2001).]

theSlotty
06-19-2001, 11:44 PM
looks like i found the problem myself anyways. for some reason, the rendering isn't shown when the window gets a WS_VISIBLE styleflag.