Dingoonity.org

Dingoo Official Firmware => Development => Topic started by: flatmush on March 04, 2010, 08:56:17 am

Title: [C99] Native Dingoo 3D Graphics Library
Post by: flatmush on March 04, 2010, 08:56:17 am
I've made a fast software 3d graphics library for the dingoo, it'll work on dingux too but I thought it was time native coding got some lovin'  ;) Hopefully that "3D Game" title should stop being so much of a lie.

(http://boards.dingoonity.org/index.php?action=dlattach;topic=1173.0;attach=409;image)

It's basically a fast fixed point graphics library based on an opengl style interface (changed to be more sane and optimal).

The features are as follows:

A few features that should be completed soon are:

I'm also hoping for time to write dynamically compiled triangle fillers to make this lib extra fast (like swift-shader).

The source contains the renderer as a library since I'm reluctant to release the source as I don't want it stolen by the folk who make this thing, it can be produced on request for anybody who I think is trustworthy if they have a reasonable reason to want to see it (like to fix a bug or add features).

Note: You can turn transformations and depth testing off to use this just for the fast triangle fillers and texture mapping so this lib should be useful for most graphics tasks superseding my old graphics lib.

Download Demo Here (http://flatmush.juliusparishy.com/a320/fgl_test.zip)
Download Source Here (http://flatmush.juliusparishy.com/a320/fgl_test_source_100.zip)
Title: Re: [C99] Native Dingoo 3D Graphics Library
Post by: seam on March 04, 2010, 10:36:05 am
awesome
Title: Re: [C99] Native Dingoo 3D Graphics Library
Post by: Nickeng on March 04, 2010, 12:43:25 pm
"it'll work on dingux too but I thought it was time native coding got some lovin' "


Too right. Good work.
Title: Re: [C99] Native Dingoo 3D Graphics Library
Post by: Harteex on March 04, 2010, 08:59:59 pm
Wow, that's very cool :)
Title: Re: [C99] Native Dingoo 3D Graphics Library
Post by: davidcm on March 17, 2010, 11:36:51 pm
Impressive... I'm just implementing 3D over a software rasterizer by Trenki for a GP32 demo... maybe your library should be cool to use in next projects...
Title: Re: [C99] Native Dingoo 3D Graphics Library
Post by: SiENcE on May 27, 2010, 12:42:41 pm
Is It possible to port OpenGL apps to this 3D Library?
Title: Re: [C99] Native Dingoo 3D Graphics Library
Post by: flatmush on May 27, 2010, 10:55:35 pm
Probably, I'll look into releasing the source, it's very similar and compatible with opengl apart from it's fixed point.