PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

3D rendering using GapiDraw

How can i insert a very simple 3D environment / object using GapiDraw? eg: a 3D box, a blank area that can see the different of the distence?

It will be graceful if you can provide some sample coding.

~Thank You~
This is a direct quote from the website.


What you cannot do with GapiDraw

GapiDraw is specifically designed for 2D graphic operations. This means that you can not use GapiDraw for:

Advanced 3D operations. GapiDraw is not well suited for advanced 3D visualizations or high performance 3D games with state-of-the art 3D graphics. You can use GapiDraw in raw buffer mode to provide the final blit to the display, but you have to write all the 3D rendering routines yourself.


You should look into this for 3D stuff. I just found out about it a few weeks ago. I'm looking at using it with GapiDraw for one of my projects.
http://www.pocketgear.com/software_detail.asp?id=12370
Thank you for your information.

I do know that the GapiDraw can't be use for drawing advanced 3D environment, but i though the GapiDraw should be able to draw a very simple version of 3D environment?
Guest: If you know the basic math you can set up a simple 3D environment yourself in a few hours. GapiDraw can most definitely be used as a "backbone" for 3D rendering, but you need to know the math yourself to get it running. Trust me, it's not all that difficult.

If you want to use a "pure" 3D engine my recommendation is Vincent, which is a 100% OpenGL ES conformant library for Pocket PCs. You can download it for free at:
http://ogl-es.sourceforge.net/
Dear Johan,

Thanks for your great information, it means a lot of helps to me, thank you very much.