PDA

View Full Version : Help with ZenGL



turrican
05-06-2017, 08:42 AM
Hi PGD-People,

I'm using ZenGL to make games & demos. I found on ZenGL library all the things I need to develop games on multi-arch and multi-os, the library works well and can be used to develop awesome 2D games with great perfomance. But this library currently is abandoned.

Currently library needs a manteinance to compile with new versions of Android NDK and FPC. So, I'm looking to maintain the library to be used with new android versions and future releases.

My questions are :

- Do I need a library change?
- There is somebody want to contribute?
- Somebody uses this library?

Thanks!

Akira13
09-06-2017, 04:50 AM
ZenGL is already 100% compatible with FPC/Lazarus. As far as modern Android/OpenGLES 2.0+ though, I think the only appropriate response is "hahaha, no." You would need to completely re-write ALL of the OpenGL rendering code in the entire library in order to get it running on modern Android devices (as ZenGL was written entirely with now-outdated fixed function desktop OpenGL functionality, which is not compatible with OpenGLES 2.0+)

turrican
09-06-2017, 08:10 AM
ZenGL is already 100% compatible with FPC/Lazarus. As far as modern Android/OpenGLES 2.0+ though, I think the only appropriate response is "hahaha, no." You would need to completely re-write ALL of the OpenGL rendering code in the entire library in order to get it running on modern Android devices (as ZenGL was written entirely with now-outdated fixed function desktop OpenGL functionality, which is not compatible with OpenGLES 2.0+)

Thanks for your response Akira. So what do you suggest? Drop ZenGL and go to another library/framework? Can you recommend me another?

Chebmaster
09-06-2017, 11:38 PM
ZenGL was written entirely with now-outdated fixed function desktop OpenGL functionality,
AFAIK (I only browse sources for inspiration) ZenGL has immediate mode emulation layer on top of GLES 1 (glBegin & friends written in Pascal and writing to a buffer to be applied when glEnd is called).

Akira13
10-06-2017, 07:39 PM
AFAIK (I only browse sources for inspiration) ZenGL has immediate mode emulation layer on top of GLES 1 (glBegin & friends written in Pascal and writing to a buffer to be applied when glEnd is called). Oh I know. My point was that it wasn't written with anything fully non-immediate mode (i.e. GLES 2.0+ or modern desktop OpenGL) in mind and has no capacity to support them.

laggyluk
10-06-2017, 09:06 PM
That doesn't stop old programs using opengl from working on modern hardware, does it?

Akira13
10-06-2017, 10:03 PM
That doesn't stop old programs using opengl from working on modern hardware, does it?

no, but Turrican seems to be interested in developing specifically for modern Android devices. ZenGL wasn't designed to do that.

turrican
13-06-2017, 08:36 PM
no, but Turrican seems to be interested in developing specifically for modern Android devices. ZenGL wasn't designed to do that.


Yes and not. Interested to maintain the project, solve bugs and implement new functionalities.

NOUR
17-01-2019, 05:58 PM
ZenGL supports tga, png, jpg and pvr and these resources are loaded from files UC Browser (https://www.ucbrowser.vip/) SHAREit (https://shareit.onl/) MX Player (https://mxplayer.pro/), memory and zip archives,and you can easily add support for new resource format.

davido
03-11-2019, 03:24 PM
Hi, thanks for sharing this information it helps me a lot.

__________________________________________
TweakBox (https://tweakbox.mobi/) word counter (https://wordcounter.onl/) Tutuapp (https://tutuappx.com/)