03-26-2005, 05:09 PM
Ok this is very wierd. I have a program that reads off a resource file for it's textures(might help). I will run the program then exit right? well when I open my next program I will get a flash of my other one! It is very creapy. I don't know if this is normal does anybody know?
03-26-2005, 05:23 PM
The problem seems to lie in the second program(same thing happens when i open different programs first).
it is supposed to draw a textured cylinder.
here is the code
float step = 1;
for float x = 0; x< 3.14159265359*2;x+= step
glVertex3f sin x,-1,cos x;
glVertex3f sin x,1,cos x;
glVertex3f sin x+step ,1,cos x+step;
glVertex3f sin x+step,-1,cos x+step;
glBindTexture GL_TEXTURE_2D, texture;
glRotatef 20, 1,0,0;
03-27-2005, 09:16 AM
I've tried copy and paste all around my other programs that work but it just doesn't change it. When it runs it also stops responding it's like it only clears the screen once and gives out. Yet when I hit escape it still exits the program like it should. Any one have any ideas?
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.