PDA

View Full Version : texture mapping problem



p55dom
04-18-2005, 12:12 AM
hi, i have a problem with my bitmap images. once i load a bitmap onto the glscreen i cant display any other cubes or squares or text on the screen at the same time. any help will be grately appreciated.

powerpad
04-18-2005, 12:20 AM
what do you mean by at the same time, could you describe this a bit more please?

mikael_aronsson
04-18-2005, 12:21 AM
Hi !

It's not very easy to give any help without looking at the code.

Mikael

p55dom
04-18-2005, 01:11 AM
hi makeal and powerpad i can email u the code if u like?. thanks for replying so quickly

jide
04-18-2005, 01:56 AM
Don't be scared and post that piece of code. :)
And I'm almost sure this is due to colors.

p55dom
04-18-2005, 03:27 AM
hey sorry guys it was a stupid mistake,lol, i kept on adding the

glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);

bit of code and it was clearing the screen. doh

thanks for the help anyway:)