PDA

View Full Version : texture mapping problem



p55dom
04-17-2005, 11:12 PM
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-17-2005, 11:20 PM
what do you mean by at the same time, could you describe this a bit more please?

mikael_aronsson
04-17-2005, 11:21 PM
Hi !

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

Mikael

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

jide
04-18-2005, 12: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, 02: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:)