Strange border around .png textures

For topics that don't fit under the other topics or forums.

Strange border around .png textures

Postby Dare » Tue Nov 09, 2010 7:09 am

I get a strange border around .png images when I import them to Algodoo, usually a black line or white line around the edges.

Algodoo:................................................................................GIMP:
Image

Perhaps this is not the best example, but hopefully you get what I mean. Is there any way to fix this? Or reduce the effect?

I don't understand why it does this. It also happens when I import 100% white images, it gives them a black border.

If you have any ideas, it is appreciated. Help me solve this strange problem! :thumbup:
ImageImage
TC42 wrote:Dare, you are creepy.

Official Algobox Admin! Please PM me if you have any issues regarding Algobox.
User avatar
Dare
 
Posts: 833
Joined: Sat Nov 21, 2009 4:27 pm
Location: Sydney, Australia

Re: Strange border around .png textures

Postby Kilinich » Tue Nov 09, 2010 8:08 am

I bet it's not Algodoo fault but video card (and openGL) quality settings. :idea:
Dream of Algodoo as game development engine...
User avatar
Kilinich
[Best bug reporter 2010]
 
Posts: 2098
Joined: Mon Aug 31, 2009 8:27 pm
Location: South Russia

Re: Strange border around .png textures

Postby Dare » Tue Nov 09, 2010 8:16 am

Kilinich wrote:I bet it's not Algodoo fault but video card (and openGL) quality settings. :idea:


So, you do not get these strange borders?
ImageImage
TC42 wrote:Dare, you are creepy.

Official Algobox Admin! Please PM me if you have any issues regarding Algobox.
User avatar
Dare
 
Posts: 833
Joined: Sat Nov 21, 2009 4:27 pm
Location: Sydney, Australia

Re: Strange border around .png textures

Postby Chronos » Tue Nov 09, 2010 5:48 pm

Maybe it has to do with the polygons in Algodoo cutting the texture off?
TheWinkits wrote:They both looks of cuking amazing
User avatar
Chronos
[Most Active Member 2010]
 
Posts: 4457
Joined: Mon Aug 31, 2009 6:00 pm
Location: Californania

Re: Strange border around .png textures

Postby Dare » Tue Nov 09, 2010 10:55 pm

Chronos wrote:Maybe it has to do with the polygons in Algodoo cutting the texture off?


No, this texture has not been cut out yet so there are no polygons anywhere near the texture.
ImageImage
TC42 wrote:Dare, you are creepy.

Official Algobox Admin! Please PM me if you have any issues regarding Algobox.
User avatar
Dare
 
Posts: 833
Joined: Sat Nov 21, 2009 4:27 pm
Location: Sydney, Australia

Re: Strange border around .png textures

Postby Rideg » Tue Nov 09, 2010 11:16 pm

I've noticed this too, It's better to save them in *.gif instead. Sometimes I get rid of the border that way, sometimes I don't.
Good luck :thumbup:
Image
make sure to check out my work.
User avatar
Rideg
 
Posts: 948
Joined: Tue Dec 15, 2009 5:17 pm
Location: Östersund, Sweden

Re: Strange border around .png textures

Postby Mystery » Wed Nov 10, 2010 7:42 am

I think the problem is the background. On gimp it is white so you can't see the white bits.
User avatar
Mystery
 
Posts: 2802
Joined: Thu Sep 03, 2009 1:16 pm
Location: Southern Australia

Re: Strange border around .png textures

Postby Chronos » Wed Nov 10, 2010 9:05 am

Look at the other picture he posted. The background of this page isn't white. It's a grayish-blue. It's not the background color.
TheWinkits wrote:They both looks of cuking amazing
User avatar
Chronos
[Most Active Member 2010]
 
Posts: 4457
Joined: Mon Aug 31, 2009 6:00 pm
Location: Californania

Re: Strange border around .png textures

Postby Mystery » Wed Nov 10, 2010 11:41 am

I mean if the white out line was on the gimp page he wouldn't be able to see it anyway making it a rather unfair comparison. It could in fact be the picture at fault not Algodoo.
User avatar
Mystery
 
Posts: 2802
Joined: Thu Sep 03, 2009 1:16 pm
Location: Southern Australia

Re: Strange border around .png textures

Postby Dare » Wed Nov 10, 2010 11:50 am

Mystery wrote:I mean if the white out line was on the gimp page he wouldn't be able to see it anyway making it a rather unfair comparison. It could in fact be the picture at fault not Algodoo.


Actually opening the picture in GIMP results in this style of background:

Image

I can assure you it's not the picture. The picture is fine.
ImageImage
TC42 wrote:Dare, you are creepy.

Official Algobox Admin! Please PM me if you have any issues regarding Algobox.
User avatar
Dare
 
Posts: 833
Joined: Sat Nov 21, 2009 4:27 pm
Location: Sydney, Australia


Return to Algodoo in general

Who is online

Users browsing this forum: No registered users and 4 guests