antialias

Ive set antialias to both false and true and it does nothing. The vector lines are never antialiased.

application =
{
content =
{
width = 320,
height = 480,
scale = “none”,
antialias = false
},
} [import]uid: 5354 topic_id: 1838 reply_id: 301838[/import]

I don’t see it doing anything myself so I logged it as bug #920 (internal).

-Tom [import]uid: 7559 topic_id: 1838 reply_id: 5658[/import]

Did this ever get fixed? antialias = false, seems to do nothing when I object.xScale, object.yScale [import]uid: 100299 topic_id: 1838 reply_id: 70056[/import]

Provide an example please.

Antialias is working in .591 - switch between true/false using this code and you’ll notice a difference.

[lua]local star = display.newLine( 0,-110, 27,-35 )
star:append( 105,-35, 43,16, 65,90, 0,45, -65,90, -43,15, -105,-35, -27,-35, 0,-110 )
star:setColor( 255, 102, 102, 255 )
star.width = 3
star.x = 160
star.y = 160[/lua]

Peach :slight_smile: [import]uid: 52491 topic_id: 1838 reply_id: 70110[/import]

ug. What am I doing wrong here then in my main.ui ?

http://erickinkead.com/code/spriteTest/ [import]uid: 100299 topic_id: 1838 reply_id: 70112[/import]

To get your code looked at/debugged you’d want to use this link; http://www.anscamobile.com/corona/support/ (Where you’re posting now is the bug forum.)

Alternatively make a thread in Developer Support to ask the community to check it out.

Peach :slight_smile: [import]uid: 52491 topic_id: 1838 reply_id: 70119[/import]

Hey Lava / Peach

Looking at the .zip and the discussion you do not need the initialising setting, that smooths the edges of vector lines and objects.

What you are after is a way of being able to set the smoothing of a texture. At the moment as the images is scaled opengl applies a routine to scale the texture which ends in it becoming blurred at scales over 100%.

What you need is nearest neighbour smoothing which then makes everything look pixelated as it is scaled.

Unfortunately Corona does not support this. I have been asking for this for about a year now along with other graphical techniques but so far nothing has been added.

[import]uid: 5354 topic_id: 1838 reply_id: 71017[/import]

Yeah. I know. Don from Spriteloq filed me in on this. It’s a real shame, and it seems like an easy thing for them to implement. I have had to create some work arounds. :frowning: [import]uid: 100299 topic_id: 1838 reply_id: 71020[/import]

antialias = true does not work on android, what to do?
tested on SGS2 and nexus 7

antialias = true:
http://blenderhome.com/1/Screenshot_2012-11-07-00-32-22.png

antialias = false:
http://blenderhome.com/1/Screenshot_2012-11-07-00-32-34.png

no difference [import]uid: 138593 topic_id: 1838 reply_id: 130056[/import]

antialias = true does not work on android, what to do?
tested on SGS2 and nexus 7

antialias = true:
http://blenderhome.com/1/Screenshot_2012-11-07-00-32-22.png

antialias = false:
http://blenderhome.com/1/Screenshot_2012-11-07-00-32-34.png

no difference [import]uid: 138593 topic_id: 1838 reply_id: 130056[/import]

People what to do? [import]uid: 138593 topic_id: 1838 reply_id: 130130[/import]

People what to do? [import]uid: 138593 topic_id: 1838 reply_id: 130130[/import]

take solace that I feel your pain.

Out of curiosity is it doing it with text as well?
Have you logged it as a bug/issue? [import]uid: 100299 topic_id: 1838 reply_id: 130205[/import]

take solace that I feel your pain.

Out of curiosity is it doing it with text as well?
Have you logged it as a bug/issue? [import]uid: 100299 topic_id: 1838 reply_id: 130205[/import]

no, incidentally in simulator smoothing works. [import]uid: 138593 topic_id: 1838 reply_id: 130347[/import]

no, incidentally in simulator smoothing works. [import]uid: 138593 topic_id: 1838 reply_id: 130347[/import]

Antialias does not work correctly in Corona and should not be used (or set to false). If you set it to true, it can cause problems with some display objects. We are looking at ways to make it work in the future. [import]uid: 7559 topic_id: 1838 reply_id: 130561[/import]

Antialias does not work correctly in Corona and should not be used (or set to false). If you set it to true, it can cause problems with some display objects. We are looking at ways to make it work in the future. [import]uid: 7559 topic_id: 1838 reply_id: 130561[/import]