Page 1 of 1

Problem about the pictures

Posted: Sun Sep 04, 2005 9:55 am
by Guest
I am trying to make a 2D game by using Irrlicht, I have a question about the pictures.

When I use DirectX or OpenGL render driver, my pictures look a bit hazy. I have tried the two pictures in the Irrlicht SDK: /Media/irrlichtlogo.bmp and /Media/irrlichtlogoalign.jpg. While using DirectX or OpenGL render driver, /Media/irrlichtlogo.bmp looks a bit hazy, but /Media/irrlichtlogoalign.jpg looks clear.

I wanna ask: Why? What's the difference between these two ones? How can I convert my pictures to "that format"?

Sorry for my poor English, I'm Chinese.

Posted: Sun Sep 04, 2005 10:17 am
by Guest
hazy? do you mean fuzzy? the pictures/textures have to be a power-of-two, e.g. 256x256 ... 123x543 will be fuzzy. if that does not work, try to turn off mipmapping for the textures.

Posted: Sun Sep 04, 2005 2:55 pm
by Didine
You can also use the software driver. Try this :

Code: Select all

device = createDevice(EDT_SOFTWARE, dimension2d<s32>(Xres, Yres));

Posted: Sun Sep 04, 2005 4:04 pm
by Guest
lol, great idea... why not use win95 too? :)

Posted: Mon Sep 05, 2005 11:02 am
by Guest
GFXstyLER wrote:hazy? do you mean fuzzy? the pictures/textures have to be a power-of-two, e.g. 256x256 ... 123x543 will be fuzzy. if that does not work, try to turn off mipmapping for the textures.
Thank you very much.
And thank you for correctting my word.