Members - Reputation: 157
Posted 19 July 2005 - 03:26 AM
Members - Reputation: 182
Posted 19 July 2005 - 03:50 AM
The points will be square, unless you turn on glEnable(GL_POINT_SMOOTH), then they will be round and smooth and pretty.
Edit: Oh yeah, and turn on blending for the round dots, as Fruny notes. Something like this should do that:
(Not sure if setting the blendfunc is even necessary.)
Members - Reputation: 383
Posted 19 July 2005 - 04:03 AM
Senior Staff - Reputation: 2311
Posted 19 July 2005 - 06:24 AM
Quote:You wouldn't need to use billboards, you could just use glPointParameter to set up attenuation.
Original post by MENTAL
I should also point out that this size is fixed, regardless of how far away the point is (so a point at 10km is the same size as one at 1m). If you want your points to get bigger and smaller like other objects then you will need to look at billboards instead.