![]() |
3D Graphics Library for maemo with OpenGL wrapper
Dear members of the maemo community,
at risk of getting completely outdated by the release of maemo 5, I have decided to make public a small project I put together by implementing a software 3D graphics library for maemo 4: http://kgraphics.sourceforge.net/ this includes a *minimal* OpenGL wrapper that could be of some help for those of you wanting to port applications to maemo. Please bear in mind that this falls rather short of the full GL functionality. Also included are some coding examples; here is a little screenshot of one of them: https://sourceforge.net/dbimage.php?id=219138 Hope that some of you may find it interesting, at least for some coding fun.:D Best regards Matt da Monkey PS I will try moving it to garage, if the project gets accepted |
Re: 3D Graphics Library for maemo with OpenGL wrapper
Cool! I remember seeing the OpenGL gears demo run on the n810, so there must have been another port also.
|
Re: 3D Graphics Library for maemo with OpenGL wrapper
Quote:
|
Re: 3D Graphics Library for maemo with OpenGL wrapper
Pretty nice. I was thinking of porting TinyGL... I ported it to PalmOS a year ago and got 4-5 glxgears fps on a Palm T|X and nearly 10 fps on GarnetVM (next to nothing).
This seems already better. |
Re: 3D Graphics Library for maemo with OpenGL wrapper
Quote:
http://kgraphics.svn.sourceforge.net...ar.gz?view=tar I will tidy it up on the weekend, and put it up in garage. Regards da Monkey |
Re: 3D Graphics Library for maemo with OpenGL wrapper
will this compatiable with OpenGL ES interface? So excited to see such a library for Maemo 4. I have searched wiki and find Kate made some suggestion for opengl es on mameo but only for next generation fremantel.
If help needed, please let me know although I am newbie for OpenGL. Currently reading OpenGL SuperBible 4th edition. :) |
Re: 3D Graphics Library for maemo with OpenGL wrapper
Quote:
Just out of curiosity, would you happen to know how to produce a PACE dynamic library for PalmOS? I tried using the Garnet SDK distributed by Access but I could only do 68K dl's. I've to add the code to the executable, thus I never though about releasing it... Thanks da Monkey |
Re: 3D Graphics Library for maemo with OpenGL wrapper
Quote:
Regards da Monkey |
Re: 3D Graphics Library for maemo with OpenGL wrapper
Quote:
Either way and since it seems that requires the propietary, Win32 only "pacc.exe" compiler, I believe the best way to do arm so's is to just use a "PNO Loader on steroids" like peal, which can also act as a dynamic linker (it is in fact a bare-bones elf linker). The linker itself being 68k code means you could call any PNO function from any 68k code. |
Re: 3D Graphics Library for maemo with OpenGL wrapper
I'm very interested in some performance numbers, if you have them...
|
Re: 3D Graphics Library for maemo with OpenGL wrapper
Quote:
The libraries are heavily fill-rate bound, but better performance can be achieved by using the simplier shading routines (dropping alpha blending and texture modulation). Hope that this helps, if you have any problem running the examples please let me know. da Monkey |
Re: 3D Graphics Library for maemo with OpenGL wrapper
Quote:
da Monkey |
Re: 3D Graphics Library for maemo with OpenGL wrapper
Quote:
Maemo is so easier... I've already stopped all of my POS development :) |
Re: 3D Graphics Library for maemo with OpenGL wrapper
nice,
i got tinygl working a while back and for simple stuff its extremely feasible, i don't see this as being any less effective :) for pure performance, how much of a rewrite for 3d on a YUV surface.. ? (hint, start with greyscale only) at the moment, there is a 20-30% graphical advantage by using it, even more for grey only. thats across the board - less blitting and also less to transfer to the hardware. |
Re: 3D Graphics Library for maemo with OpenGL wrapper
Oh, I would be very interested to see what kind of optimization can be achieved if mattdamonkey and lcuk start collaborating on it...
20-30% improvement would be huge. The 8 fps example would jump to 10 fps, and the 20 fps example would leap up to 24-26 fps. Wow. |
Re: 3D Graphics Library for maemo with OpenGL wrapper
Quote:
Cheers da Monkey |
Re: 3D Graphics Library for maemo with OpenGL wrapper
Quote:
Regards da Monkey |
Re: 3D Graphics Library for maemo with OpenGL wrapper
have you ported glxgears to it to compare ?
|
Re: 3D Graphics Library for maemo with OpenGL wrapper
is this some kind of software which can open .dae files???? like capsule 3d viewer does.
if so then then i have downloaded the file what to do next ??? (i am noob sorry) |
Re: 3D Graphics Library for maemo with OpenGL wrapper
Quote:
|
Re: 3D Graphics Library for maemo with OpenGL wrapper
Quote:
Find another thread. |
Re: 3D Graphics Library for maemo with OpenGL wrapper
can this lib be used to build libqt4-opengl ?
|
All times are GMT. The time now is 17:24. |
vBulletin® Version 3.8.8