Recent

Author Topic: ZenGL improve  (Read 11607 times)

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
ZenGL improve
« on: January 05, 2018, 09:40:47 am »
Hi,

I like ZenGL very much... It's very simple and well made. But has a little bugs that need to be fixed. I want to fix these bugs but I cannot do it alone.

Somebody is interested helping me to make this engine more awesome?

I'm developing a high level framework for ZenGL OOP and Event driven if you want to code fast : https://github.com/turric4n/SimpleZGL
« Last Edit: January 05, 2018, 09:42:38 am by turrican »

fcu

  • Jr. Member
  • **
  • Posts: 89
Re: ZenGL improve
« Reply #1 on: January 05, 2018, 10:24:38 am »
Hi turrican
can you state the bugs you have found in zengl ?

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: ZenGL improve
« Reply #2 on: January 05, 2018, 12:22:57 pm »
The most annoying bug is the next one :

- ZenGL on Windows 10 (OpenGL and DirectX) FreePascal or Delphi (LCL or VCL). ignited on a handle of a form (A canvas for example).
  zgl_InitToHandle(Canvas.Handle) -> This is working, but form components example a button will stop receiving messages. Will be related on ZGL mainloop Winapi and send
  messages to form making it unresponsive. Related here : http://zengl.org/forum/index.php/topic,704.0.html

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: ZenGL improve
« Reply #3 on: January 05, 2018, 02:36:36 pm »
Andru started github repos for ZenGL
https://github.com/andru-kun/zengl

at least it could be used as a single place for committing patches.

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: ZenGL improve
« Reply #4 on: January 07, 2018, 12:40:29 am »
Andru started github repos for ZenGL
https://github.com/andru-kun/zengl

at least it could be used as a single place for committing patches.

https://github.com/andru-kun/zengl/tree/0.3.x

Wow latest source Is 4 years old! I remember writing the first tutorial on the Lazarus wiki-

turrican

  • Full Member
  • ***
  • Posts: 133
  • Pascal is my life.
    • Homepage
Re: ZenGL improve
« Reply #5 on: January 08, 2018, 09:18:31 am »
Andru started github repos for ZenGL
https://github.com/andru-kun/zengl

at least it could be used as a single place for committing patches.

https://github.com/andru-kun/zengl/tree/0.3.x

Wow latest source Is 4 years old! I remember writing the first tutorial on the Lazarus wiki-

We are ready to mantain/improve this project, I think :)

Seenkao

  • Hero Member
  • *****
  • Posts: 546
    • New ZenGL.
Re: ZenGL improve
« Reply #6 on: May 20, 2020, 05:58:02 am »
Скачал, посмотрел, удалил...
Я три раза!!!! ТРИ!!! Повесил систему!!!
Очень плохая наработка, которая не проверялась на других компьютерах!
Если вы хотели улучшить ZenGL и/или доработать, то это у вас не получилось.

Извиняюсь, переводить не буду, use Google translate.

Но это было полезно, теперь введу проверку при создании приложения на полный экран, чтоб не было проблем у других при случайном неверном использовании.
« Last Edit: May 20, 2020, 08:29:48 am by Seenkao »
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: ZenGL improve
« Reply #7 on: May 20, 2020, 08:38:34 am »
@Seenkao

Tone done please.

@turrican

I am also interested by the idea. By the way I also had created some OO framework for ZenGL some time ago.

@skalogryz

This Git repository seems to be a mirror. I guess would could ask Andrew where the current code is.
Conscience is the debugger of the mind

julkas

  • Guest
Re: ZenGL improve
« Reply #8 on: May 20, 2020, 08:42:02 am »
Скачал, посмотрел, удалил...
Я три раза!!!! ТРИ!!! Повесил систему!!!
Очень плохая наработка, которая не проверялась на других компьютерах!
Если вы хотели улучшить ZenGL и/или доработать, то это у вас не получилось.

Извиняюсь, переводить не буду, use Google translate.

Но это было полезно, теперь введу проверку при создании приложения на полный экран, чтоб не было проблем у других при случайном неверном использовании.
Пришел. Увидел. Не победил.
А зачем ты за него брался ? Есть куча других ...

Seenkao

  • Hero Member
  • *****
  • Posts: 546
    • New ZenGL.
Re: ZenGL improve
« Reply #9 on: May 20, 2020, 08:56:21 am »
Пришел. Увидел. Не победил.
А зачем ты за него брался ? Есть куча других ...

Я занимаюсь им, а не брался. Переработанная версия с поддержкой андроид ZenGL 3.20 уже выложена, но не в репозиториях. На русскоязычном форуме.

А эту версию проверил для себя, если бы было что интересное, то спросил бы у человека разрешения добавить в библиотеку. Но после таких глюков интерес к данной версии пропал.

Запустить эти демки я запустил.
@Seenkao

Tone done please.

Извиняюсь!!! Просто уже надоело, с такими то глюками вообще не должен был сталкиваться...

P. S.  в следующей версии ZenGL невозможно будет данным способом подвесить систему.
« Last Edit: May 20, 2020, 09:03:58 am by Seenkao »
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: ZenGL improve
« Reply #10 on: May 20, 2020, 10:54:15 am »
Making errors is part of the process of programming. Being unfriendly about it is unfair to our human nature.

Fixing errors is a team effort: by reporting bug and finding people to fix them. We are not customers, this is free software so the only thing we can do is to be part of the team.

If you want the library to be bug free, you can contribute in this direction. But don't use the situation to let off steam.
Conscience is the debugger of the mind

Seenkao

  • Hero Member
  • *****
  • Posts: 546
    • New ZenGL.
Re: ZenGL improve
« Reply #11 on: May 20, 2020, 11:49:30 am »
Да, я тут не прав, но... (опять же видимо на себя смотрю) зачем браться не разбирая изначальный код? Сверху на ZenGL повесили очередную такую же оболочку, автоматически увеличили размер получаемого приложения, но проблем изначальных не решили.

Я занимаюсь ZenGL, но сейчас приходится больше доработками под android заниматься, так же надо сделать поддержку сохранения файлов. Понятно дело что не всех, но если мы хотим разрабатывать приложения, то надо чтоб библиотека отвечала минимальным требованиям.

Вообще я начинал разбираться с OpenGL, но наткнувшись и разобравшись с кодом ZenGL, пришлось его дорабатывать, чтоб можно было не пользоваться громадными библиотеками LCL и не тратить лишние ресурсы. Вдобавок оказалось что ZenGL может делать приложения под Android, но так же только "поверхностно" и не доработано. Пришлось дорабатывать библиотеки и их настройки.

Теперь делаю джойстики и клавиатуру, чтоб были независимыми и их можно было сразу использовать при разработке.

А тут ещё выявляются проблемы с компиляцией под Lazarus/FPC... в общем ... "бодания" со всеми проблемками поднадоели уже...

google translate:
Yes, I’m not right here, but ... (again, I’m probably looking at myself) why take it without disassembling the original code? On top of ZenGL they hung another shell of the same kind, automatically increased the size of the resulting application, but did not solve the initial problems.

I’m doing ZenGL, but now I have to do more improvements for android, I also need to make support for saving files. It’s clear that not everyone, but if we want to develop applications, we need the library to meet the minimum requirements.

In general, I started to understand OpenGL, but when I came across and figured out the ZenGL code, I had to modify it so that I could not use the huge LCL libraries and not waste extra resources. In addition, it turned out that ZenGL can make applications for Android, but also only “superficially” and has not been finalized. I had to modify the libraries and their settings.

Now I make joysticks and a keyboard so that they are independent and can be used immediately during development.

And here still problems with compilation under Lazarus / FPC come to light ... in general ... "butting" with all problems fed up already ...

ZenGL 3.20 на русском форуме.
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: ZenGL improve
« Reply #12 on: May 20, 2020, 11:59:45 am »
I think we need a Git repository. Has someone contacted Andru already?

We can then have branches and propose changes to be reviewed by others.
Conscience is the debugger of the mind

Seenkao

  • Hero Member
  • *****
  • Posts: 546
    • New ZenGL.
Re: ZenGL improve
« Reply #13 on: May 20, 2020, 12:08:20 pm »
Нет, я извиняюсь, но я не буду пользоваться репозиториями. Если есть желание, то у Andru уже были сделаны репозитории.
Я так же буду заканчивать с библиотекой ZenGL. Доделаю её до рабочего состояния и оставлю. Если есть поступающие предложения так же могу рассмотреть. Но лично я бы часть кода просто не включал в библиотеку. Как параллельные библиотеки - пожалуйста, как часть ZenGL - надо рассматривать всё что хотят включить(весь код, что предлагают), возможно переработать и после этого включить в библиотеку ZenGL.

translate:
No, I'm sorry, but I will not use the repositories. If there is a desire, then Andru has already made repositories.
I will also end up with the ZenGL library. I will finish it to working condition and leave it. If there are any proposals, I can also consider it. But personally, I would simply not include part of the code in the library. As parallel libraries - please, as part of ZenGL - you need to consider everything you want to include (all the code that they offer), it is possible to process it and then include it in the ZenGL library.
Rus: Стремлюсь к созданию минимальных и достаточно быстрых приложений.

Eng: I strive to create applications that are minimal and reasonably fast.
Working on ZenGL

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: ZenGL improve
« Reply #14 on: May 20, 2020, 01:59:09 pm »
Why wouldn’t you want to share your improvements?

I don’t really understand what you are saying.
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018