Latest Uploads
Extraterre ... .0.1 (zip)

dantheman363

Monty Teas ... Screenie 1

steve_ancell

Santa Clau ... ed his bag

waroffice

manic_platdude.png

spinal

Tetris Clone

steve_ancell

Super blues bros.

spinal

Showcase > Functions Libraries ( Created 23 April 2010 | Last Edited 23 April 2010)

BufferedGLMax2D - Created by Cower (No Votes)

An OpenGL Max2D module that attempts to minimize state changes and uses retained-mode rendering (unlike GLMax2D's use of immediate-mode rendering).
Created using Blitz Max > Cross PlatformView Worklog (0 entries)
Repository
The short description actually summarized it pretty well.

Essentially, this is just a reimplementation of Max2D with a few goodies/benefits:

1) it's inherently faster at some things. For example, if you are going to render a ton of the same image, it's faster, although there are some odd cases where there seems to be a bottleneck somewhere. I haven't yet taken the time to really profile it, however, since there's been close to zero interest in it.

2) drawing a lot of images with the same blend mode and such. This implementation packs as much as it can into single texture pages, so that even if you load a font or 20 images, the number of textures you have should be very, very low, thereby minimizing how often you'll have to change the texture in OpenGL.

3) it includes my renderbuffer module (which you'll have to get as well - it's linked to in the readme as well, so you'll have a hard time missing it). Essentially, this entire Max2D implementation is just a fancy wrapper around the renderbuffer module (the texture packing code is part of the Max2D implementation, however) that handles state changes and buffering and such. As such, at pretty much any time, you can use the renderbuffer module to render your own effects that might not be handled by Max2D. Most people are afraid of doing anything that doesn't look like it's done by BRL, however, so I'm afraid I'm the only person who does this.

The code is more or less completely functional, although there are probably still bugs and bottlenecks in some areas. It can be improved, it's open source for a reason, but again, most Blitz users are terrified of doing anything themselves or working in C/C++, so I've long since given up on ever seeing someone using Blitz contribute to an open-source Blitz project.

At any rate, using it is fairly simple: you put the module in place, build it, import it, and call SetGraphicsDriver(BufferedGLMax2DDriver()). That's it, you never have to know anything else.
Recent Updates

Commit log on repository.

There are no comments for this entry.
Latest Posts
Coder's Block
Jayenkai Thu 09:01
Consumer Lockout
9572AD Thu 06:09
Professor Oak, Honest!!
spinal Wed 23:24
Position in Mind
steve_ancell Wed 20:11
Sonic Adventure v0.x
Jayenkai Wed 07:08
FIRST!!!
steve_ancell Wed 03:55
Noel's Graduation
waroffice Wed 02:55
Monkey vs iOS tweaks
spinal Tue 22:51
Fucking Pound Sign Unicode Bullshit Bollocks
Dabz Tue 13:00
Progress / Location Bars
dna Tue 08:55
More

Latest Items
News : Newsletter #176
Jayenkai Sat 04:49
News : Newsletter #175
Dabz Tue 09:38
Blog : Snow: More Material Junk
Cower Sat 23:17
Dev-Diary : Mutant Monty: Amstrad CPC to Windows conversion
rockford Fri 13:14
Techy : AppleTV
Jayenkai Thu 09:40
Blog : Graphviz
steve_ancell Sat 14:17
Pets : Top-Down Shadow Hack
Jayenkai Tue 05:52
Snippet : JNKrunch v1.0
Jayenkai Sat 07:20
News : Newsletter #173
waroffice Fri 04:47
Blog : Material Loading
Cower Fri 02:08
Pets : I Done Won A Thing
shroom_monk Sun 11:31
Pets : Repurposing A Lexer
Cower Mon 22:06
Bah : Feeling a Little Angry
spinal Mon 11:26
News : Newsletter #170
Dabz Sat 00:34
Showcase : sbfgen
Cower Sat 16:57
More

Who's Online
Dabz
Thu, at 22:36
Jayenkai
Thu, at 19:46
HoboBen
Thu, at 18:50
CodersRule
Thu, at 18:29
Cower
Thu, at 18:21
Evil Roy Ferguson
Thu, at 17:34
dna
Thu, at 17:30
9572AD
Thu, at 17:28
steve_ancell
Thu, at 17:19
Hotshot
Thu, at 16:46
Link to this page
Site : Jayenkai 2006-Infinity |
MudChat's origins, BBCode's former life, Image Scaler.