August 31, 20232 yr I only see benefits so where can we vote?😁 Rig Specs; CPU AMD Ryzen 9950X3d, GPU 5090 32gb, Memory 64GB 2x32 CL28 , WD-SN710 Black 500 GB, WD-SN710 Black 2TB, MSI x870XeTomahawk, Be Quit Straight power 1200 Watt platinum. LG Oled C4
August 31, 20232 yr If this can work with MSFS then that will be very welcome. In the meantime I use MV Freestyle filters and that can be used to change sky colors also a little. 5950x3d 5.4-5.7 GHz - Asus ROG 870 Crosshair Apex - GSkill Neo 2x 24 Gb 6000 mhz / cas 26 - MSI RTX 5090 Gaming Trio OC - 1x SSD M2 6000 2TB - 1x SSD M2 2800/1800 1Tb - Corsair 5400 case - Corsair 360 liquid cooling set - 3x 75’ TCL tv. 13600 6 cores @ 5.1 GHz / 8 cores @ 4.0 GHz (hypterthreading on) - Asus ROG Strix Gaming D - GSkill Trident 4x Gb 3200 MHz cas 15 - Asus TUF RTX 4080 16 Gb - 1x SSD M2 2800/1800 2TB - 2x Sata 600 SSD 500 Mb - Corsair D4000 Airflow case - NXT Krajen Z63 AIO liquide cooling - FOV : 200 degrees My flightsim vids : https://www.youtube.com/user/fswidesim/videos?shelf_id=0&sort=dd&view=0
August 31, 20232 yr 7 hours ago, Biology said: Using the coefficients from my approach: So neat! Thank you very much for progressing our hobby further toward simulating reality! BTW how did you get the screenshots in MSFS using your algorithm? I looked at the GITHUB files but it appears to be a python script file, Can we run this alongside MSFS to test it or? Edited August 31, 20232 yr by KERNEL32
August 31, 20232 yr 43 minutes ago, KERNEL32 said: So neat! Thank you very much for progressing our hobby further toward simulating reality! BTW how did you get the screenshots in MSFS using your algorithm? I looked at the GITHUB files but it appears to be a python script file, Can we run this alongside MSFS to test it or? question of the month, would like to know also if you would like to share? Rig Specs; CPU AMD Ryzen 9950X3d, GPU 5090 32gb, Memory 64GB 2x32 CL28 , WD-SN710 Black 500 GB, WD-SN710 Black 2TB, MSI x870XeTomahawk, Be Quit Straight power 1200 Watt platinum. LG Oled C4
August 31, 20232 yr 40 minutes ago, KERNEL32 said: BTW how did you get the screenshots in MSFS using your algorithm? Just guessing, but I assume @Biology found the shader file that computes the atmospheric effects and replaced the coefficients in it. 41 minutes ago, KERNEL32 said: I looked at the GITHUB files but it appears to be a python script file, Can we run this alongside MSFS to test it or? No, that won't work. That Python program only computes the correct coefficients -- just a set of numbers. It doesn't do anything to make MSFS actually use these coefficients. @Biology This is an awesome discovery! The nice thing is that you don't need to increase spectral resolution (which would be a lot harder) -- you can just change the coefficients because IIUC, the computation of the atmospheric effects and conversion to sRGB are essentially commutative. IOW, instead of computing the atmospheric effect in high spectral resolution, then converting to sRGB, you can apply the sRGB response curves to the scattering and absorption coefficients, then compute the atmospheric effect in sRGB, and get similar or identical results -- correct? @jcomm has already suggested contacting MSFS's developer support. Another option might be to contact the Working Title folks, who are usually quite approachable, and ask them for an appropriate contact at Asobo. @MattNischan is quite active here -- maybe just PM him? It sounds as if X-Plane is also using the wrong coefficients from the paper? IOW, I assume your corrected X-Plane screenshot was also made by hacking your coefficients into X-Plane's shader? Or has X-Plane already corrected the coefficients? If not, are you planning to approach Laminar Research about this as well? I expect they would be pretty open to this, particularly as it's such a simple change to implement. I'm guessing Ben Supnik would be a good point of contact -- I believe he's responsible for a lot of the PBR work in X-Plane.
August 31, 20232 yr 6 hours ago, SAS443 said: Fantastic news. XP12 is in my opinion, truly the benchmark at the moment when it comes to realistic sky colors. Happy to hear the same mathematics are finding it's way to MSFS, thanks to you. 🙂 I agree...and I know both you and I have a lot of experience in both sims and this isn't some crazy attack on MSFS. It's just a strength of XP and not of MSFS at the moment. Thank you so much OP - impressive work and knowledge of how light works. (You basically spoke Greek to me lol). | My Liveries | FAA ZMP | PPL ASEL | | Windows 11 | MSI Z690 Tomahawk | 12700K 4.7GHz | MSI RTX 4080 | 64GB 6000 MHz DDR5 | 500GB Samsung 860 Evo SSD | 2x 2TB Samsung 970 Evo M.2 | EVGA 850W Gold | Corsair 5000X | HP G2 (VR) / LG 27" 1440p |
August 31, 20232 yr 6 hours ago, SAS443 said: Fantastic news. XP12 is in my opinion, truly the benchmark at the moment when it comes to realistic sky colors. Happy to hear the same mathematics are finding it's way to MSFS, thanks to you. 🙂 Now if only they could get their scenery to look like something.
August 31, 20232 yr 30 minutes ago, martinboehme said: It sounds as if X-Plane is also using the wrong coefficients from the paper? IOW, I assume your corrected X-Plane screenshot was also made by hacking your coefficients into X-Plane's shader? Or has X-Plane already corrected the coefficients? If not, are you planning to approach Laminar Research about this as well? I expect they would be pretty open to this, particularly as it's such a simple change to implement. I'm guessing Ben Supnik would be a good point of contact -- I believe he's responsible for a lot of the PBR work in X-Plane. I believe it was updated in one of the recent beta updates of X-Plane 12. [MSI MPG X870E Carbon | 9800X3D (PBO +200Mhz / -20 Offset) | Corsair 64GB DDR5 (Custom Timings) | RTX 4090 Founders Edition (Undervolted) | WD SNX 850X 4TB + 4TB | Antec Flux Pro]
August 31, 20232 yr 9 minutes ago, Bobsk8 said: Now if only they could get their scenery to look like something. You can actually get it to look like msfs or better (higher resolution) either streaming with Auto Ortho or downloaded Ortho to your local drive. Either way I'm so excited that this guy decided to help out. I hope he's able to get in touch with Asobo. | My Liveries | FAA ZMP | PPL ASEL | | Windows 11 | MSI Z690 Tomahawk | 12700K 4.7GHz | MSI RTX 4080 | 64GB 6000 MHz DDR5 | 500GB Samsung 860 Evo SSD | 2x 2TB Samsung 970 Evo M.2 | EVGA 850W Gold | Corsair 5000X | HP G2 (VR) / LG 27" 1440p |
August 31, 20232 yr Author Hi, Firstly thank you everyone for your supportive comments! I love MSFS and really hope that this can be adopted by them as well, as it would make sunsets / sunrises so much better. I registered in MSFS forums but I still haven't received a confirmation email so I can't use my account, I sent another confirmation email which also didn't arrive, so I don't know what to do. Until now, I can anaswer your questions. Edit: I finally got in but seems like I have to wait for a while to become an "approved" user to be able to post, so I'm currently waiting for that. Edited August 31, 20232 yr by Biology PC specs: i5-12400F, RTX 3070 Ti and 32 GB of RAM. Simulators I'm using: X-Plane 12, Microsoft Flight Simulator (2020) and FlightGear.
August 31, 20232 yr Author 5 hours ago, scotchegg said: Do you need to have a current atmospheric ozone value to complete the colour calculations? AFAIK live weather in MSFS doesn’t model ozone dynamically (?) Hi, no, the good thing about the scattering and absorption coefficients is that they only depend on the composition of the medium and nothing else, so even if MSFS doesn't model ozone density it shouldn't be an issue as an average / standard value can be used. For instance X-Plane 12 doesn't model ozone density either. PC specs: i5-12400F, RTX 3070 Ti and 32 GB of RAM. Simulators I'm using: X-Plane 12, Microsoft Flight Simulator (2020) and FlightGear.
August 31, 20232 yr Author 2 hours ago, GSalden said: If this can work with MSFS then that will be very welcome. It can run on any simulator that uses physically based atmosphere calculations, which is the case for MSFS. Only the parameters that are entered to the atmosphere model needs to be changed, and I made sure that the coefficients generated by the Python script are compatible with both Bruneton's paper (which is what MSFS uses) and Hillaire's paper (which is what X-Plane 12 uses), so it should be fairly easy to implement. PC specs: i5-12400F, RTX 3070 Ti and 32 GB of RAM. Simulators I'm using: X-Plane 12, Microsoft Flight Simulator (2020) and FlightGear.
August 31, 20232 yr Author 2 hours ago, KERNEL32 said: So neat! Thank you very much for progressing our hobby further toward simulating reality! BTW how did you get the screenshots in MSFS using your algorithm? I looked at the GITHUB files but it appears to be a python script file, Can we run this alongside MSFS to test it or? Hi, I actually didn't get any screenshots in MSFS as I can't change the coefficients, they are hidden behind the game engine. Instead I used a ShaderToy implementation of Hillaire's paper for the comparison screenshots. Currently there is nothing an user can do to get this work in MSFS as these coefficients are typically never exposed to an user. Edited August 31, 20232 yr by Biology PC specs: i5-12400F, RTX 3070 Ti and 32 GB of RAM. Simulators I'm using: X-Plane 12, Microsoft Flight Simulator (2020) and FlightGear.
August 31, 20232 yr Author 1 hour ago, martinboehme said: Just guessing, but I assume @Biology found the shader file that computes the atmospheric effects and replaced the coefficients in it. Luckily X-Plane 12 had it exposed for debugging reasons, in the form of art controls, which is how I made the change. 1 hour ago, martinboehme said: @Biology This is an awesome discovery! The nice thing is that you don't need to increase spectral resolution (which would be a lot harder) -- you can just change the coefficients because IIUC, the computation of the atmospheric effects and conversion to sRGB are essentially commutative. IOW, instead of computing the atmospheric effect in high spectral resolution, then converting to sRGB, you can apply the sRGB response curves to the scattering and absorption coefficients, then compute the atmospheric effect in sRGB, and get similar or identical results -- correct? Yes that's pretty much what this approach does, instead of increasing the spectral resolution, it calculates the best possible approximation for a given amount of spectral samples. Sadly it's not identical to rendering spectrally, because as the light gets attenuated some colors will shift outside the sRGB gamut, but it's still a pretty close approximation. 1 hour ago, martinboehme said: It sounds as if X-Plane is also using the wrong coefficients from the paper? IOW, I assume your corrected X-Plane screenshot was also made by hacking your coefficients into X-Plane's shader? Or has X-Plane already corrected the coefficients? If not, are you planning to approach Laminar Research about this as well? I expect they would be pretty open to this, particularly as it's such a simple change to implement. I'm guessing Ben Supnik would be a good point of contact -- I believe he's responsible for a lot of the PBR work in X-Plane. Indeed X-Plane 12 was also using the wrong coefficients from Hillaire's paper until very recently, but I contacted them about this approach, which very recently got integrated into the simulator. Edited August 31, 20232 yr by Biology PC specs: i5-12400F, RTX 3070 Ti and 32 GB of RAM. Simulators I'm using: X-Plane 12, Microsoft Flight Simulator (2020) and FlightGear.
August 31, 20232 yr Author 5 hours ago, jcomm said: Superb! @Biology would be great to bring to MFS what you've done for xp11/!2... The suggestion to open a thread at Flightsimulator Support Forum is the way to go for a start, but you will probably get faster to their Dev Team by opening a thread here instead: MSFS DevSupport - SDK Q&A platform for 3rd party developers (flightsimulator.com) Thank you. I actually thought of using the DevSupport channel but it's for developers asking questions about the MSFS SDK, meanwhile mine is a feature request for the base simulator, so I wasn't sure if it was suitable. Edited August 31, 20232 yr by Biology PC specs: i5-12400F, RTX 3070 Ti and 32 GB of RAM. Simulators I'm using: X-Plane 12, Microsoft Flight Simulator (2020) and FlightGear.
Create an account or sign in to comment