On Tue, 14 Oct 2008, Kao Cardoso Felix wrote:
> On Sat, Oct 11, 2008 at 11:47 PM, Richard Jones <[EMAIL PROTECTED]> 
wrote:
> > I think we need to have the current tile code raise a warning if the
> > cocos director window isn't initialised with the do_not_scale_window=True
> > flag.
>
> Well, I don't know what exactly the flag does, to be honest, I will
> check on the docs/source later.

The straight-forward answer is that you will get erroneous thin lines drawn at 
the edges of tiles and text glyphs.

The long answer is that the lines appear because the rendering is no longer 
matching opengl coordinate system 1:1 with screen pixels so opengl has to 
compute a blended pixel. This blending uses a pixel from the tile (or text 
glyph) texture and its adjacent pixel in the texture (or wrapping) which is 
usually the wrong colour.


     Richard


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cocos2d discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to