Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Subimage bug (blur)

Author
Message
Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 18th May 2014 10:41
Hi

I have seen that when I use a subimage, the result isn't the same as if I use several images (exactly same image as the subimage).

With subimage, the sprite are "blurred".

You can see the difference :


is there a way to not have this blur or if it's a known result when we use atlas texture and subimage ?

http://www.dracaena-studio.com
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 18th May 2014 20:21 Edited at: 18th May 2014 20:22
That's not cool!
I've not noticed this with my assets.
What is the size of your sprite sheet? I keep mine to a max of 1024x1024. I also use SetGenerateMipmaps(1)
You can also try SetImageMagFilter and SetImageMinFilter, but in my experiments I've not noticed a difference with them.

Blendman
10
Years of Service
User Offline
Joined: 17th Feb 2014
Location: Arkeos
Posted: 19th May 2014 10:03
Hi

Thank you very much for your answer.
I have tried to use SetImageMagFilter(img,0) and it works fine, I have no more blur now .

The image is : 704*64 (11*64 / 64)
Even if I use a 256*256 image, I have the blur (without SetImageMagFilter(img,0)).

So, thanks again!

http://www.dracaena-studio.com
Naphier
13
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: St Petersburg, Florida
Posted: 19th May 2014 18:55
Glad that works!
Can't wait to see what you've cooked up

Login to post a reply

Server time is: 2024-04-27 22:50:02
Your offset time is: 2024-04-27 22:50:02