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 » Tue Jul 28, 2009 6:10 pm

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 » Tue Jul 28, 2009 6:18 pm

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 » Tue Jul 28, 2009 6:30 pm

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 » Tue Jul 28, 2009 7:06 pm

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 » Thu Jul 30, 2009 5:54 am

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 » Thu Jul 30, 2009 11:26 am

So you're requesting a way to draw ONE pixel?
Now posting IN STEREO (where available)

User avatar
rude
Administrator
Posts: 1051
Joined: Mon Feb 04, 2008 3:58 pm
Location: Oslo, Norway

Re: Smallest Point Size?

Post by rude » Thu Jul 30, 2009 4:34 pm

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 » Thu Jul 30, 2009 9:20 pm

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: Google [Bot] and 25 guests