Hi Rob,
don't be afraid to use multiple GBuffers, they are the most optimized geometry element in TBGL (at cost of restricted flexibility).
In computer games, it is not rare to process tens-of-thousands of GBuffer-like objects on GPU... so keep adding
There is trick you might want to try:
Add the following after Uses:
Add the following after TBGL_BindCanvas:%GL_POINT_SMOOTH = &H00B10 Declare Sub glEnable Lib "opengl32.dll" Alias "glEnable" (ByVal cap As DWord)
It should make the points big and round. Sadly it does not work 100% on all implementations of OpenGL, that is why it isn't added as native to TBGL.TBGL_PointSize(5) glEnable(%GL_POINT_SMOOTH) TBGL_BlendFunc(%GL_SRC_ALPHA, %GL_ONE_MINUS_SRC_ALPHA) TBGL_UseBlend(TRUE)
But worth a try, the worst you can get is the points remain rectangular...
Petr
Bookmarks