Author Topic: [C99] Native Dingoo 3D Graphics Library  (Read 3958 times)

flatmush (OP)

  • *
  • Posts: 283
[C99] Native Dingoo 3D Graphics Library
« 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.



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:
  • 3D Transformations
  • Basic clipping
  • Color interpolation
  • Power of two texture mapping.
  • Depth testing
  • Backface culling

A few features that should be completed soon are:
  • Blending
  • More advanced clipping
  • Lighting calculations
  • Mipmapping
  • Non power of two texture loading
  • Texture modes repeat and clamp
  • Texture compression
  • Linear texture filters (will be slow)
  • Perspective correction (will be slow-ish)

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
Download Source Here
« Last Edit: March 04, 2010, 09:42:16 am by flatmush »

seam

  • *
  • Posts: 16
Re: [C99] Native Dingoo 3D Graphics Library
« Reply #1 on: March 04, 2010, 10:36:05 am »
awesome

Nickeng

  • Guest
Re: [C99] Native Dingoo 3D Graphics Library
« Reply #2 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.

Harteex

  • * Administrator
  • Posts: 709
    • Harteex Productions
Re: [C99] Native Dingoo 3D Graphics Library
« Reply #3 on: March 04, 2010, 08:59:59 pm »
Wow, that's very cool :)

davidcm

  • Guest
Re: [C99] Native Dingoo 3D Graphics Library
« Reply #4 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...

SiENcE

  • **
  • Posts: 653
    • Crank Gaming (Dingux Apps)
Re: [C99] Native Dingoo 3D Graphics Library
« Reply #5 on: May 27, 2010, 12:42:41 pm »
Is It possible to port OpenGL apps to this 3D Library?

flatmush (OP)

  • *
  • Posts: 283
Re: [C99] Native Dingoo 3D Graphics Library
« Reply #6 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.