OpenGL: Difference between revisions

Jump to navigation Jump to search
302 bytes added ,  2 October 2023
m
→‎Status: https://sourceforge.net/p/flightgear/mailman/message/39000474/
m (→‎Status: https://sourceforge.net/p/flightgear/mailman/message/39000474/)
Line 7: Line 7:


== Status ==
== Status ==
Last updated: 01/2023
Last updated: 10/2023


<!--
<!--
Line 13: Line 13:
-->
-->


We’re actively going to switch to [https://www.khronos.org/opengl/wiki/OpenGL_Context Core profile], on next, in the coming months: at least that is James' big goal for 2021 development, personally.
We’re actively going to switch to [https://www.khronos.org/opengl/wiki/OpenGL_Context Core profile], on next, in the coming months: at least that is James' big goal for 2023 development, personally.


Maybe not getting as far as [[Vulkan Scene Graph|Vulkan/VSG]] (it would be nice but a lot more work….) but certainly getting our use of the OSG API as modern as possible, and getting the shaders into a OpenGL 4.x variant. (Eg, if MoltenGL can host us, that would be good for macOS…)
Maybe not getting as far as [[Vulkan Scene Graph|Vulkan/VSG]] (it would be nice but a lot more work….) but certainly getting our use of the OSG API as modern as possible, and getting the shaders into a OpenGL 4.x variant. (Eg, if MoltenGL can host us, that would be good for macOS…)
Fernando added a compile time switch for the default HUD (which still relies on legacy GL code), and  made a few small modifications to allow for PUI to be disabled entirely. These modifications break font rendering currently. <ref>https://sourceforge.net/p/flightgear/mailman/message/39000474/</ref>


James would expect as a result of that, we would require OpenGL 4.1 or 4.2 on next: we could do 3.3 at a push but why bother? Apple supports 4.2 [1] and everyone else can update their drivers. Writing clean shaders will be so much easier if we can rely on 4.2 features as a baseline.
James would expect as a result of that, we would require OpenGL 4.1 or 4.2 on next: we could do 3.3 at a push but why bother? Apple supports 4.2 [1] and everyone else can update their drivers. Writing clean shaders will be so much easier if we can rely on 4.2 features as a baseline.

Navigation menu