SDL_RenderFill() blend mode?

Why no blendMode parameter in the SDL_RenderFill() call? (Missed that
one quite a few times in SDL_FillRect().)

Trivial to do in 3D accelerated backends, though it would take some
copy-pasting from the alpha blitters for the software implementation.

//David Olofson - Programmer, Composer, Open Source Advocate

.------- http://olofson.net - Games, SDL examples -------.
| http://zeespace.net - 2.5D rendering engine |
| http://audiality.org - Music/audio engine |
| http://eel.olofson.net - Real time scripting |
’-- http://www.reologica.se - Rheology instrumentation --’

Why no blendMode parameter in the SDL_RenderFill() call? (Missed that
one quite a few times in SDL_FillRect().)

Not a bad idea.

Trivial to do in 3D accelerated backends, though it would take some
copy-pasting from the alpha blitters for the software implementation.

glClear() can blend?

-Sam Lantinga, Senior Software Engineer, Blizzard Entertainment

[…]

Trivial to do in 3D accelerated backends, though it would take
some copy-pasting from the alpha blitters for the software
implementation.

glClear() can blend?

I don’t know, actually - but IIRC, the standard solution is to render
with no texture.

//David Olofson - Programmer, Composer, Open Source Advocate

.------- http://olofson.net - Games, SDL examples -------.
| http://zeespace.net - 2.5D rendering engine |
| http://audiality.org - Music/audio engine |
| http://eel.olofson.net - Real time scripting |
’-- http://www.reologica.se - Rheology instrumentation --'On Saturday 19 August 2006 19:20, Sam Lantinga wrote:

I was wondering if there are any publically availible plug-ins or libraries for the purpose of importing and using Blender objects and animations in C/C++, for use in SDL.

Also, does anybody have any experience using Blender for making game models, and not using it’s built-in game engine? It seems more suited to this purpose then most modellers, since it’s actually capable of storing multiple separate animation threads in association with one model. Plus, it’s free. However, how suited it is really depends on how difficult it is to get the information from Blender into the game.