Jump to content
  • Advertisement
Sign in to follow this  
rick_appleton

OpenGL Simple Software Renderer (3D) needed.

This topic is 4695 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Vincent

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Vincent: http://ogl-es.sourceforge.net/

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
http://cg.cs.tu-berlin.de/~ki/engines.html

Check out the "No 3D HW-Support" section under the API & Source category.

Share this post


Link to post
Share on other sites
i think the best way would be create own engine
but remember
polygons + textures + z-buffer will be very slow on GBA

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!