Potentially add ARB_point_sprite to libGL?

If you have any questions on programming, this is the place to ask them, whether you're a newbie or an experienced programmer. Discussion on programming in general is also welcome. We will help you with programming homework, but we will not do your work for you! Any porting requests must be made in Developmental Ideas.
Post Reply
kazade
Insane DCEmu
Insane DCEmu
Posts: 145
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Tue May 02, 2017 3:11 pm
Has thanked: 3 times
Been thanked: 34 times

Potentially add ARB_point_sprite to libGL?

Post by kazade »

Obviously, GL_POINTS isn't supported by libGL, but I was thinking about it and I can't think of a reason why ARB_point_sprite (https://www.khronos.org/registry/OpenGL ... sprite.txt) couldn't be supported to work around that.

Can anyone think of any problems with that before I attempt to add it?
User avatar
bogglez
Moderator
Moderator
Posts: 578
Joined: Sun Apr 20, 2014 9:45 am
Has thanked: 0
Been thanked: 0

Re: Potentially add ARB_point_sprite to libGL?

Post by bogglez »

It should be fine. Just be aware that the PVR sprite mode can have precision issues in the UV coordinates, if you intend to use that. You can see an example for that at the very bottom of the PVR sprite sheet tutorial in the wiki.
Wiki & tutorials: http://dcemulation.org/?title=Development
Wiki feedback: viewtopic.php?f=29&t=103940
My libgl playground (not for production): https://bitbucket.org/bogglez/libgl15
My lxdream fork (with small fixes): https://bitbucket.org/bogglez/lxdream
Post Reply