Thank you for your reply, I actually never call the setWindow function where the glOrtho function is so I thought that using the screen coordinates would work?
Found the problem! I needed...
Type: Posts; User: calvarado777
Thank you for your reply, I actually never call the setWindow function where the glOrtho function is so I thought that using the screen coordinates would work?
Found the problem! I needed...
I have been at this project for weeks....and it finally works!! yay!!! But now I have a new problem..I want to be able to just show the X and Y axis throughout my entire animation. I have tried...
Hello! I am so confused...I have a very simple loop that I would really like to be a while loop..however when I do use while, I get nothing...so I started working with a for loop and I do get a...
Hello! I am working on an animation that shows how an actual rotation is handled in openGL. So far, I have a shape that starts at a position and I have it animated moving back and forth from the...
Ha! It was the logic..I had to read it out loud..in case this helps anyone...
if (xDirection==0 && xPos > 0.0) {
xDirection=0;
}
if (xDirection==0 && xPos < 0.0) {
xDirection=1;
}
Hello! I have been staring at this for hours and have played around with all of the logic and numbers and nothing seems to do what I want. I am trying to create an animation that shows how a shape...
Hello all! I am in week 3 of learning how to program in openGL and I am having a tough time making a program interactive. There are several parts to my assignment but I am getting stuck on my...
newbie mistake...I forgot my glFlush() at the end..works great!
Hello! I am doing a super quick crash course in OpenGL to prepare myself for some research in graphics that I am doing. I have been going through tutorials of drawing simple polygons and all was...