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,
Lugaru OpenGL-ES Port Working
Re: Lugaru OpenGL-ES Port Working
Nice! Good job!!
Re: Lugaru OpenGL-ES Port Working
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
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
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.
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.