HDR Pipeline: Difference between revisions

Jump to navigation Jump to search
1,536 bytes removed ,  6 November 2023
no edit summary
No edit summary
Line 24: Line 24:


== Status ==
== Status ==
'''Last updated: 10/2023'''
'''Last updated: 11/2023'''


The HDR pipeline is more or less stable, and is currently available on <tt>next</tt> for anyone adventurous enough to try it. The main issue is that built-in legacy GUI ([[PUI]]) is not compatible because it uses old OpenGL code, so there is no in-sim GUI:
The HDR pipeline is more or less stable, and is currently available on <tt>next</tt> for anyone adventurous enough to try it.
 
<!-- if you want to edit/remove this, let's consider moving to to a dedicated canvas related article instead please, since it really contains useful info. -->
# The GUI camera does not render anything (neither PUI nor Canvas). This is caused by OSG's attribute aliasing being enabled in HDR. Fernando suspect sthe solution might have to do with forcing the GUI camera to use shaders instead of the fixed-pipeline. He hasn't delved too deep into this yet because there are many possible places to "inject" the shader programs. It will require some trial and error and fair deal of OpenGL state debugging to fix this. Fernando will also have to talk to James since he seems to be the most familiar with the current way that things are setup regarding PUI and OSG.
# PUI requires fixed-pipeline functionality, which is not available under the GL core profile. This is fixed by the Canvas GUI.
 
Issue number 1 is the reason why we currently have no GUI in HDR. Issue number 2 is the reason why we don't have HDR at all on AMD/Intel, as those drivers don't care about implementing the compatibility profile.<ref>https://forum.flightgear.org/viewtopic.php?f=19&t=41377&p=414781&hilit=#p414781</ref>
 
Thus, for the time being, you will need to configure everything (weather, scenery, etc.) beforehand using the [[FlightGear Qt launcher|launcher]], [[command line options]], or with external tools like [[Phi]].


Keep in mind that the HDR pipeline might not work in your system until we finish [[FlightGear and OpenGL Core Profile|moving to the OpenGL core profile]]. AMD graphics cards (regardless of age) and Intel integrated GPUs are known to be problematic.
Keep in mind that the HDR pipeline might not work in your system until we finish [[FlightGear and OpenGL Core Profile|moving to the OpenGL core profile]]. AMD graphics cards (regardless of age) and Intel integrated GPUs are known to be problematic.
354

edits

Navigation menu