Forum > OpenGL

Finding Zen GL C libraries to compile them

(1/4) > >>

matthius:
I use New Zen GL 4.3.

https://sourceforge.net/p/new-zengl

I have found Zen GL libraries.

Here is Andorra 2D compatibility :

https://sourceforge.net/p/multi-briques/code/ci/default/tree/zengl_sprite_image.pas

Seenkao:
  Необходимые библиотеки скомпилированы и идут сразу с ZenGL. Если вы создаёте новый проект, то вам нужно указать путь до данных библиотек.
Вы можете указать полный путь до библиотеки или короткий путь (подобные пути предоставлены в демо-версиях). Находятся данные библиотеки в папке "lib/namelib/cpu-OS", например библиотека ogg для Linux x86_64 находится по пути: "lib/ogg/x86_64-Linux".

  Есть так же библиотеки которые идут вместе с вашим Linux. В данном случае это будут библиотеки заканчивающиеся на "dev", например "libgl-dev". Они должны быть установлены вашей системе.

  Извиняюсь, у меня ни как руки не дойдут создать установочный пакет ZenGL. Чтоб люди не мучались с его настройкой при создании нового проекта.

--------------------------
Google translate:
  The necessary libraries are compiled and come directly with ZenGL. If you create a new project, then you need to specify the path to these libraries.
You can specify the full path to the library or a short path (similar paths are provided in demo versions). The library data is located in the folder "lib/namelib/cpu-OS", for example the ogg library for Linux x86_64 is located at the path: "lib/ogg/x86_64-Linux".

  There are also libraries that come with your Linux. In this case, these will be libraries ending in "dev", for example "libgl-dev". They must be installed on your system.

  I apologize, I just can’t get around to creating a ZenGL installation package. So that people don’t have to worry about setting it up when creating a new project. :(

matthius:
I can start the game multi-briques.

But the full screen resolution is not 640 * 400. It seems to be 800 * 600.

Seenkao:
  Посмотрите демку 4.
  Причин почему не создаётся полноэкранное приложение 640*400 может быть несколько. Самые важные из них, это:
- не верно заданы параметры при создании окна;
- пытаетесь создать окно с неподдерживаемым разрешением.

  И, обратите внимание! Наиболее верное решение - это создавать полноэкранное окно с текущим разрешением и делать его корректировку под данное окно (если вы конечно не увеличиваете разрешение, но и там дисплеем должно поддерживаться данное разрешение). Это же самое написано в 4-й демке.

---------------------------------------
Google translate:
  Watch demo 4.
  There may be several reasons why a full-screen 640*400 application is not created. The most important of them are:
- the parameters were not set correctly when creating the window;
- trying to create a window with an unsupported resolution.

  And, pay attention! The most correct solution is to create a full-screen window with the current resolution and adjust it to fit this window (unless, of course, you increase the resolution, but even there the display must support this resolution). The same thing is written in the 4th demo.  :)

Seenkao:

--- Quote from: matthius on November 13, 2023, 11:02:38 am ---Here is Andorra 2D compatibility :

https://sourceforge.net/p/multi-briques/code/ci/default/tree/zengl_sprite_image.pas

--- End quote ---
  Будьте аккуратны, пожалуйста с использованием старых решений! Новая версия ZenGL претерпела много изменений и код, который использовал версию 3.12 и ранее вернее всего надо подгонять под новую версию ZenGL.

------------------------------------
Google translate:
  Please be careful when using old solutions! The new version of ZenGL has undergone many changes and the code that used version 3.12 and previously most likely needs to be adjusted to the new version of ZenGL.

Navigation

[0] Message Index

[#] Next page

Go to full version