I tried with quads and apparently they'd solve the texture-mapping but
halves the fps. I also lose the ability to use round points.
Pointsize is not an issue since it's typically only 3-6 px in my case.
With the method you suggested I get only whole texture mapped to each
point (is this the bug you mentioned? I AM using Radeon 2600 hd but
unable to try it elsewhere currently)
Thanks.
-Mike
Ben Supnik kirjoitti 30.5.2008 kello 19:05:
Hi y'all,
- I'm surprised to hear so many people say "do quads"...that would
increase bus traffic by 4x...
- One advantage of quads which makes us use them in places (we use
sprites in others) is that a lot of cards have a max point size of
64x64, so if the billboards have to be big when close, sprites
aren't viable.
- With GLSL 1.2 there's a new way to get sprite teture coords; the
old way is to enable sprite coord replace mode, e.g.
- I believe that if you want to use part of the texture, you need to
write a pixel shader, because there's no fixed function texture
atlasing for sprites.
- There is/was a bug with point sprites on the iMac with Radeon HD
Hardware (I filed r5483766) where the sprite coords don't modulate.
Can't say more, this list isn't under NDA, but if you write what you
think is the right code and it doesn't work, regression on another
computer might help!
cheers
ben
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden