Group: http://groups.google.com/group/cocos-discuss/topics
- Image Artifacts [2 Updates]
Jason <theni...@gmail.com> Mar 19 01:49PM -0700
I'm making a game with PNGs ( .png for those searching). And I get weird
artifacts when it's in game. What do I need to check/set to fix this? Is it
a limitation on using PNGs in sprites? Should I be using some other format?
claudio canepa <ccan...@gmail.com> Mar 19 07:49PM -0300
> I'm making a game with PNGs ( .png for those searching). And I get weird
> artifacts when it's in game. What do I need to check/set to fix this? Is it
> a limitation on using PNGs in sprites? Should I be using some other format?
png should be fine.
Can you post a screenshot to see how it looks ? ( in cocos ctrl S takes a
snapshoot and saves as a .png in the app current working directory)
If the artifact is something like a halo or border and the image has areas
fully transparent it can be similar to the cases mentioned in
http://thread.gmane.org/gmane.comp.python.pyglet.user/4884/focus=4886
and also discussed in
http://article.gmane.org/gmane.comp.python.pyglet.user/3333
You received this message because you are subscribed to the Google Group cocos-discuss.
--
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.
You received this message because you are subscribed to the Google Groups "cocos2d discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cocos-discus...@googlegroups.com.
To post to this group, send email to cocos-...@googlegroups.com.
Visit this group at http://groups.google.com/group/cocos-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Claudio,Thanks for your help as always. First attachment is a screen shot of the cattleskull (the white and black thing) down on the right side of the screen showing artifacts.
And the second attachment is the actual PNG that's used.
Jason Spittel <theni...@gmail.com> Mar 20 08:53PM -0700
Hi Claudio,
Thanks for your help as always. First attachment is a screen shot of the
cattleskull (the white and black thing) down on the right side of the
screen showing artifacts.
And the second attachment is the actual PNG that's used.
claudio canepa <ccan...@gmail.com> Mar 21 02:56AM -0300
> cattleskull (the white and black thing) down on the right side of the
> screen showing artifacts.
> And the second attachment is the actual PNG that's used.
The grey borders close to the skull are interpolation artifacts, and the
explanation and possible workarounds can be seen in the two threads I cited
previously.
The short grey vertical line up and left from the left horn is probably a
bleeding from another texture in the same atlas, you can see by example
http://groups.google.com/group/pyglet-users/browse_thread/thread/3bd2c1064904e3be/f65e7aaeeb9eb6b1
or google
pyglet atlas transparent border
You received this message because you are subscribed to the Google Group cocos-discuss.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.