Simple Software Renderer (3D) needed.

Started by
19 comments, last by remigius 18 years, 3 months ago
I am in search of a simple software renderer which would allow me to port my code to Gameboy Advance. I do have access to a dev kit to do this, so I can run pretty much any code. What I need: - Fixed point library (GBA has no FPU) - Simple lighting ala OpenGL material system - max 1 texture, no multi texturing - C/C++, as I am unsure if ASM for a different processor would run on the GBA - Preferably similar to OpenGL in syntax, but this is not absolutely necessary. - Matrix math similar to that of OpenGL (rotate, scale, translate, loading of arbitrary matrices, perspective, ortho) I don't want to spend too much time porting this 3D library so would prefer a simple one. Parts of it may be rewritten later on, but I really don't want to touch the rasterizer itself. A couple of suggestions I've had are Ogre and Mesa. I haven't investigated thoroughly yet, but I feel both of these are too advanced for my needs.
Advertisement
Quote:Original post by rick_appleton
A couple of suggestions I've had are Ogre and Mesa. I haven't investigated thoroughly yet, but I feel both of these are too advanced for my needs.

AFAIK Ogre has no software renderer, it is an abstraction over OpenGL or DirectX (and anyway the debug library ways in at around 100 megabytes, so I think a little too large).
Mesa is a complete software implementation of OpenGL, it is possible someone has already ported it to GBA, but I doubt it, and it is still overkill for your needs).
You might look at IrrLicht's software renderer, irrlicht.sf.net, a stripped down version could be an option.

Tristam MacDonald. Ex-BigTech Software Engineer. Future farmer. [https://trist.am]

Quite something to get 3D onto a GBA, but it has been done. The YETI game engine may help you.
I did a quick search on Yeti3D, but it seems it has disappeared.
Vincent
Vincent: http://ogl-es.sourceforge.net/
I remember actually reading that Mesa was ported to GBA, and someone had links to it here on the forum. Check out the OpenGL/NeHe forums, I think you can find it.

Sorry I can't be more helpful, though I love consoles I've never coded for them myself.
http://cg.cs.tu-berlin.de/~ki/engines.html

Check out the "No 3D HW-Support" section under the API & Source category.
Don't be afraid to be yourself. Nobody else ever will be.
To the two AP's, I know of Vincent, and have checked it out. However, it seems to use some kind of JIT compiling which I doubt would work on the GBA.
i think the best way would be create own engine
but remember
polygons + textures + z-buffer will be very slow on GBA

This topic is closed to new replies.

Advertisement