Problem about the pictures

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Guest

Problem about the pictures

Post 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.
Guest

Post 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.
Didine
Posts: 19
Joined: Wed Aug 24, 2005 1:22 pm
Location: France
Contact:

Post by Didine »

You can also use the software driver. Try this :

Code: Select all

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

Post by Guest »

lol, great idea... why not use win95 too? :)
Guest

Post 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.
Post Reply