Page 1 of 1

Smallest Point Size?

Posted: Tue Jul 28, 2009 6:10 pm
by Matkins
Hey. I don't seem to be able to draw points that are just a single pixel. I've tried setting it as small as 0.1, but still my points seem to be a square block of 4 pixels. Any ideas?

Re: Smallest Point Size?

Posted: Tue Jul 28, 2009 6:18 pm
by Robin
Have you tried using a 1x1 pixel image file?

BTW, I think your problem is caused by the anti-aliasing LÖVE uses. I don't know if you can turn it off.

Re: Smallest Point Size?

Posted: Tue Jul 28, 2009 6:30 pm
by Matkins
Unfortunately the image idea wont be convenient for what i'm trying to do, I want them to randomly change color (i'm trying to make twinkling stars)...

Re: Smallest Point Size?

Posted: Tue Jul 28, 2009 7:06 pm
by Matkins
Just realized that 1 pixel png and love.color_modulate, I can do exactly what i want. :)

Re: Smallest Point Size?

Posted: Thu Jul 30, 2009 5:54 am
by Pliskin09
you shouldnt not have to though. this should get fixed huh

Re: Smallest Point Size?

Posted: Thu Jul 30, 2009 11:26 am
by mike
So you're requesting a way to draw ONE pixel?

Re: Smallest Point Size?

Posted: Thu Jul 30, 2009 4:34 pm
by rude
love.graphics.setPointStyle(love.point_rough)?

Re: Smallest Point Size?

Posted: Thu Jul 30, 2009 9:20 pm
by Matkins
love.point_rough doesn't do it. Doesn't seem to be anything to do with anti-aliasing. But the .png method works fine, I honestly don't mind if you bother to fix this or not.