TexBuffer

BlitzMax Modules Forums/MiniB3D/TexBuffer

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Well, doing it with Pixmaps would be slow as hell because you have to Upload the data each frame. The problem is that in standard OpenGL doesn't exist something like a Texturebuffer.

The solution would be to use extensions like I do in my extended Version. There are 2 choices, 1. FBOs and 2. pBuffer .

FBOs are easy to use but not much supported by low end Gfx cards. pBuffer are a lot more difficult to handle and I haven't tried it yet but I've got FBOs working so far. A small example for Max2D is in the codearchives (http://www.blitzbasic.com/codearcs/codearcs.php?code=2222)
I have it also for miniB3D but I don't have access to my code from where I'm currently be so I will post it later.