You are not logged in.

#1 2022-01-06 17:40:06

PhotonX
Member
From: Munich
Registered: 2008-08-10
Posts: 591

Struggling with OpenGL 2.x to 3.x transition now

Hi guys,

in https://bbs.archlinux.org/viewtopic.php?id=272687 I posted about some problems I had with porting a nice little physics education app from GTK to GTK2 and even GTK3. Thanks to the help that I got there, it was possible to finalize the GTK2 port (https://aur.archlinux.org/packages/lightspeed-git/), but unfortunately the GTK3 port is a tougher nut to crack(https://github.com/Photon89/lightspeed/pull/8). With some help at https://github.com/ebassi/glarea-exampl … 1006507786 I now know that I need to port the OpenGL related part of the code to a newer OpenGL API version (3.2+). I have also managed to enable the debugging for the OpenGL code and get error codes telling me what is wrong. Unfortunately, these error codes are not very specific, so I still don't really know how to go about rewriting the GL related code...

I tried to search for some kind of migration instructions from OpenGL 2.x to 3.2+, but couldn't find any. So the current situation is: I don't know the old API, I don't know the new API and I don't know what the code is doing. Looks like a challenge to me! big_smile So I am wondering, maybe there is somebody with some experience with GL stuff and can recommend some reading about such a migration?

Thanks in advance and have a good year 2022!
PhotonX

Last edited by PhotonX (2022-01-06 17:41:55)


Desktop: http://www.sysprofile.de/id15562, Arch Linux    |    Notebook: Thinkpad L13 Yoga Gen2, Manjaro

The very worst thing you can do with free software is to download it, see that it doesn't work for some reason, leave it, and tell your friends that it doesn't work.  -  Tuomas Lukka

Offline

Board footer

Powered by FluxBB