Problem with Draw2d

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
Nezumi

Problem with Draw2d

Post by Nezumi »

I use Irrlicht.NET...

I can draw a 2d image with transparency or not but... my image is pixalised, not clean (I don't know how to explain is engllish :p)

[Click here to Elarge]
Image
[Click here to Elarge]

Original Image is in BMP format
Spintz
Posts: 1688
Joined: Thu Nov 04, 2004 3:25 pm

Post by Spintz »

What is the dimension of the image?
Image
Nezumi

Post by Nezumi »

800*600 and Engine is running in 800*600 too...
Nezumi

Post by Nezumi »

The problem continue...

nobody to help me ?
Nezumi
Posts: 15
Joined: Fri Sep 30, 2005 9:42 pm

Post by Nezumi »

Nobody to solve this problem?
I can't solve this... but i try !
puh
Posts: 356
Joined: Tue Aug 26, 2003 3:53 pm

Post by puh »

You can try to search forum, this was discussed soooo many times before.
I think you have to use squared image 1024x1024 with just added solid color borders. Then you have to draw the image with function draw2DImage with core::rect<s32>(0,0,800,600) (see API)

Your problem - in image size - it MUST BE POWER OF 2!!!
(and of course your main problem - inability to search in the forum but ask, ask and ask again...)
Nezumi
Posts: 15
Joined: Fri Sep 30, 2005 9:42 pm

Post by Nezumi »

thanks for the answer and sorry...
But i don't speak english very well and it is a little bit hard to shearch and find...
Post Reply