When I uncomment the call to glutWireCone, which makes a pyramid, nothin happens! No pyramid’s drawn. But when I comment it out and call glutWireCube, the cube is drawn. What’s happening? I ain’t got the time. Gotta invade Iraq.
When I comment out the call to glutWireCube and include only glutWireCone, the wire cone is not drawn, but the teapot is. And what is depth testing? I am a beginner. I have glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGB | GLUT_DEPTH) in my main function. Is that it?
I changed the zero to one, and it drew the pyramid. Thanks. However, when I compiled the program in my college using GNU C on NetBSD, OpenGL drew the pyramid with the number of stacks being zero. At home, using Borland C++ 5.5 on Windows 2000, it didn’t draw the pyramid with zero stacks.
Since a cylinder need at least one stack, I would guess the behaviour with zero stacks is undefined. Some implementations may ignore the solid, some may draw it with one stack. If it’s undefined, any behaviour is “correct”.
Originally posted by George Bush: Gotta invade Iraq.
Funny, really funny. Next time you should note that this is not an “americans-only” board. There are people in this world, who may have different opinions about war, than you do (but those will be dead in some years, because as Bush expressed: “either you are a friend or an enemy”).
Also i don´t like your name, and i don´t think G. W. Bush writes OpenGL-Apps in his free time.
I think we all should stick to OpenGL stuff on this board.
I don’t support the war on Iraq. In fact, I will attend the March on Washington on October 26 to protest the war on Iraq. It was just trying to imitate Bush. End of discussion. Also, when I call glWireCube with one stack, the same picture is drawn as with zero stacks.