PDA

View Full Version : Yet another Texture Problem.



nickcartwright
10-07-2003, 04:36 AM
Hiya,

I'v got a little problem with my textures.

I load everything in fine, bind a texture to my object and run my program. The texture appears on the object for a split seccond - then the object is engulfed in white.

Any Ideas?

10-07-2003, 04:40 AM
FFS Man, use the grey stuff you got inside your skull...

nickcartwright
10-07-2003, 04:46 AM
I'm sorry if my question offends you, but this form is 'OpenGL for beginners' - and although I'm not an idiot, I happen to be a beginner at OpenGL.

If this is going to be your attitude toward beginners asking questions, I suggest you take your superior intellect elsewhere.

Leyder Dylan
10-07-2003, 05:05 AM
Are you disabling the texture in your draw GL function ?

If yes, remove it otherwise, post your draw GL function.

nickcartwright
10-07-2003, 05:10 AM
I just managed to figure out what I was doing wrong. I wasn't binding my texture correctly to the identifier on creation of the texture.

Thanks anyway though http://www.opengl.org/discussion_boards/ubb/smile.gif

10-07-2003, 06:44 AM
Hehe http://www.opengl.org/discussion_boards/ubb/smile.gif
Doesnt it feel better to have discouvered the bug by yourself?!

(Next time put some code where you think the error is.. we cant guess what is wrong with your code with just a brief explanation of the problem.. so dont be mad at me, I love you to http://www.opengl.org/discussion_boards/ubb/smile.gif )

nickcartwright
10-09-2003, 02:31 AM
Yeah, it does feel much better http://www.opengl.org/discussion_boards/ubb/smile.gif