Page 1 of 1
Lugaru OpenGL-ES Port Working
Posted: Thu Apr 21, 2011 9:05 am
by Pickle
Lugaru is now mobile. I successfully ran my opengles port of lugaru on the Pandora device (for those unaware think iphone with real controls)
It still has a bug to iron out, but it is working pretty well.
I hope to get many of the changes merged to the icculus tree once everthing is finished,
Re: Lugaru OpenGL-ES Port Working
Posted: Thu Apr 21, 2011 1:20 pm
by Conner36
Nice! Good job!!
Re: Lugaru OpenGL-ES Port Working
Posted: Thu Apr 21, 2011 7:55 pm
by Pickle
just to get something public patch is here
http://pickle.gp2x.de/source/lugaru_gles.diff
It includes the gles portions with the define of USE_GLES
It also has some pandora change with the define PLATFORM_PANDORA, there are some changes that should be merged.
and video
http://www.youtube.com/watch?v=GDRaKVwhxHI
Re: Lugaru OpenGL-ES Port Working
Posted: Sat Apr 23, 2011 11:15 am
by Pickle
Ive updated pickle.gp2x.de/source/lugaru_gles.diff
I used the existing interleaved array by adding the color alpha component and set the stride and offset properly in the pointer calls. This has corrected the glitches I had previously.
Ive also been learning and trying out VBO's so far the only that made sense was the skybox since data is static. Any of the other VBO's i tried to add either had to effect or made things worse.