![]() |
Finally: GL to GLES runtime (glshim from openpandora)
This is developer sneak peak for glshim (https://github.com/lunixbochs/glshim) by lunixbochs.
If you haven't read (open)pandoralive (http://www.pandoralive.info/?p=1533), glshim is runtime translation from GL 1.x to GL ES 1.x which means openGL games can be run with openGLES-hardware (without modifications, just recompilation). Library is experimental even on Pandora and very experimental for Maemo5, but I think this is the rigth moment to keep noise about it. Take glshim. Compile glshim under scrathbox. Get libGL.so.1. Compile unmodified GL-game against it *. Copy game and library to the device. -> profit (check video, Bloboats on n900): http://youtu.be/ZHJ2I8rePmI * Fix problems. E.g. (bloboats) gluOrtho2D(0, width, 0, height); -> glOrtho(0, width, 0, height,-1.0,1.0); Issues at this moment (01 Aug 2013): *sometimes at the start screen is messed (big blocks) *when screen dims, screen will be messed (big blocks) Remember: If game is using SDL: -SDLK_RETURN +SDLK_RETURN or SDLK_KP_ENTER (and do something about SDLK_ESCAPE) Talk on openpandora-forum: http://boards.openpandora.org/index....dr-more-games/ Talk on rasberry-forum: http://www.raspberrypi.org/phpBB3/vi...45252&p=395110 ----- EDIT: You need this for glu-functions: https://github.com/lunixbochs/glues Next video: (blending test from nehe) http://youtu.be/lsS8QlO11us Code:
wget http://nehe.gamedev.net/data/lessons/linuxsdl/lesson08.tar.gz |
Re: Finally: GL to GLES runtime (glshim from openpandora)
Awesome! :D
|
Re: Finally: GL to GLES runtime (glshim from openpandora)
WOW!!! Does this mean finally armagetron on N900? :D Awesome. So many games/progs are now open to porting. YAY!
|
Re: Finally: GL to GLES runtime (glshim from openpandora)
This is awesome! I'll have to compile this in scratchbox and check it out tonight though the idea isn't exactly new. I'm more interested in the performance and compatibility.
|
Re: Finally: GL to GLES runtime (glshim from openpandora)
Keep the N900 going
|
Re: Finally: GL to GLES runtime (glshim from openpandora)
something to rebuild for harmattan too :)
|
Re: Finally: GL to GLES runtime (glshim from openpandora)
Quote:
Code:
[3|user@Nokia-N900|~/libs/armagetronad-0.2.8.3.2]./armagetronad_main |
Re: Finally: GL to GLES runtime (glshim from openpandora)
1 Attachment(s)
Quote:
Quote:
I got armagetron's menus working. Gameplay area is black, but texts top on game are working. (using this https://github.com/lunixbochs/glues and dropping SDL_WM_SetIcon for keyboard focus) |
Re: Finally: GL to GLES runtime (glshim from openpandora)
The link from 1st post mentions arma as working with screenshot, so I'm hopeful. Time to learn wm_seticons of GL
|
Re: Finally: GL to GLES runtime (glshim from openpandora)
**** That N9 And Please Keep Working On N900, Keep it Up Guyssss. Goooood Luckkkkkk, May Gos Bless Ya'll
|
All times are GMT. The time now is 16:54. |
vBulletin® Version 3.8.8