Smallest Point Size?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Matkins
Citizen
Posts: 53
Joined: Mon Mar 23, 2009 5:12 pm

Smallest Point Size?

Post 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?
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Smallest Point Size?

Post 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.
Help us help you: attach a .love.
Matkins
Citizen
Posts: 53
Joined: Mon Mar 23, 2009 5:12 pm

Re: Smallest Point Size?

Post 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)...
Matkins
Citizen
Posts: 53
Joined: Mon Mar 23, 2009 5:12 pm

Re: Smallest Point Size?

Post by Matkins »

Just realized that 1 pixel png and love.color_modulate, I can do exactly what i want. :)
User avatar
Pliskin09
Citizen
Posts: 89
Joined: Fri Jul 24, 2009 8:30 am

Re: Smallest Point Size?

Post by Pliskin09 »

you shouldnt not have to though. this should get fixed huh
User avatar
mike
Administrator
Posts: 364
Joined: Mon Feb 04, 2008 5:24 pm

Re: Smallest Point Size?

Post by mike »

So you're requesting a way to draw ONE pixel?
Now posting IN STEREO (where available)
User avatar
rude
Administrator
Posts: 1052
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Smallest Point Size?

Post by rude »

love.graphics.setPointStyle(love.point_rough)?
Matkins
Citizen
Posts: 53
Joined: Mon Mar 23, 2009 5:12 pm

Re: Smallest Point Size?

Post 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.
Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 47 guests