View Single Post
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#9
Originally Posted by Applesaws View Post
Minetest runs on the Irrlicht engine, which actually has an OpenGL ES renderer as an option. So it is possible for it to run on the N900 (in fact, the Pandora people have gotten it running on their device (but I tried running the Pandora version on the N900 and failed). I briefly attempted porting it myself, using the patched version of Irrlicht that Cloudef on the Pandora forums made here, but it seems as if the N900 initializes an OpenGL surface in a different manner from Pandora, so it does not work (this result I came to after many hours of editing include files and commenting out random bits of code so that it would even compile in the Maemo SDK). After a brief attempt at copy-pasting the EGL surface initialization code from the sample Maemo OpenGL ES app, I gave up (I'm not really a coder).

tl;dr The N900 has all the libraries (in the repos right now, actually(!)), except for the 3D engine it runs on, Irrlicht. It's completely possible to port that to N900, we just need someone with knowledge of how OpenGL ES surface initialization works on N900 to fix that.
I got some irrlicht demos running on the N900. I used
the ogl-es branch from irrlicht svn.
I had to enable the already existing ogles2 driver,
some changes on egl attribs,
link with libGLESv2 instead of libGLES_CM and
I used the system png-library instead of one from irrlicht.
Maybe even more, I am not sure.

If you are still interested, let me know.

nicolai
 

The Following 3 Users Say Thank You to nicolai For This Useful Post: