Active Topics

 


Reply
Thread Tools
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#1
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
gcc -Wall -ansi lesson08.c -o lesson08 -lGL -lGLU -lGLUES_CM `sdl-config --cflags --libs` 
#where GL and GLU are from glshim
#and GLUES_CM from GLUES

Last edited by AapoRantalainen; 2013-08-01 at 22:25.
 

The Following 34 Users Say Thank You to AapoRantalainen For This Useful Post:
HtheB's Avatar
Moderator | Posts: 3,718 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#2
Awesome!
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 

The Following User Says Thank You to HtheB For This Useful Post:
Posts: 2,076 | Thanked: 3,268 times | Joined on Feb 2011
#3
WOW!!! Does this mean finally armagetron on N900? Awesome. So many games/progs are now open to porting. YAY!
 

The Following 2 Users Say Thank You to szopin For This Useful Post:
Posts: 304 | Thanked: 176 times | Joined on Oct 2009
#4
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.
 

The Following 2 Users Say Thank You to jessi3k3 For This Useful Post:
DfLo1913's Avatar
Posts: 115 | Thanked: 54 times | Joined on Feb 2011 @ Texas
#5
Keep the N900 going
 

The Following 2 Users Say Thank You to DfLo1913 For This Useful Post:
www.rzr.online.fr's Avatar
Posts: 1,348 | Thanked: 1,863 times | Joined on Jan 2009 @ fr/35/rennes
#6
something to rebuild for harmattan too
__________________
Current obsession:

https://purl.org/rzr/abandonware

Please help to list all maemo existing apps :

https://github.com/abandonware/aband...ment-578143760

https://wiki.maemo.org/Apps#

I am looking for " 4 inch TFT LCD display screen " for Nokia n950 HandSet

http://rzr.online.fr/q/lcd


Also, I need online storage to archive files :

http://db.tt/gn5Qffd6#

https://my.pcloud.com/#page=register...e=g8ikZmcfEJy#
 

The Following User Says Thank You to www.rzr.online.fr For This Useful Post:
Posts: 2,076 | Thanked: 3,268 times | Joined on Feb 2011
#7
Originally Posted by jessi3k3 View Post
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.
Heh, couldn't wait, compiled on-device. GL2 fails, I'm assuming as expected, 'make glu' worked for libGLU.so, then compiled armagetron with newly created .so's in LD_LIBRARY_PATH, sadly getting error trying to run it:
Code:
[3|user@Nokia-N900|~/libs/armagetronad-0.2.8.3.2]./armagetronad_main
Trying to start sound. Just restart Armagetron Advanced in case of crash.
libGL: built on Aug  1 2013 18:59:52
ERROR: EGL Error detected: EGL_BAD_NATIVE_WINDOW (0x300B)
ERROR: EGL Error detected: EGL_BAD_MATCH (0x3009)
Segmentation fault
Would this be glshim error? Sorry for such app-specific question in general glshim thread, but maybe Aapo you've encountered it? Once again THANKS, awesome stuff
 

The Following User Says Thank You to szopin For This Useful Post:
Posts: 839 | Thanked: 3,386 times | Joined on Mar 2009
#8
Originally Posted by szopin View Post
Heh, couldn't wait, compiled on-device. GL2 fails, I'm assuming as expected,
Yes, https://github.com/lunixbochs/glshim/issues/13

Originally Posted by szopin View Post
Code:
[3|user@Nokia-N900|~/libs/armagetronad-0.2.8.3.2]./armagetronad_main
Trying to start sound. Just restart Armagetron Advanced in case of crash.
libGL: built on Aug  1 2013 18:59:52
ERROR: EGL Error detected: EGL_BAD_NATIVE_WINDOW (0x300B)
ERROR: EGL Error detected: EGL_BAD_MATCH (0x3009)
Segmentation fault
I see these errors when quitting/ending, https://github.com/lunixbochs/glshim/issues/15

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)
Attached Images
 
 

The Following 4 Users Say Thank You to AapoRantalainen For This Useful Post:
Posts: 2,076 | Thanked: 3,268 times | Joined on Feb 2011
#9
The link from 1st post mentions arma as working with screenshot, so I'm hopeful. Time to learn wm_seticons of GL
 
Posts: 863 | Thanked: 213 times | Joined on Feb 2012 @ Goa
#10
**** That N9 And Please Keep Working On N900, Keep it Up Guyssss. Goooood Luckkkkkk, May Gos Bless Ya'll
 

The Following 2 Users Say Thank You to seanmcken For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 22:34.