Jump to content
Sign in to follow this  
Pascal_LSGC

X-Plane 10: Experimenting with art controls (Raleigh scattering)

Recommended Posts

Hi,

Thanks to AUA425 in this thread, we are now able to recover the lost cloud shadows. I tried many interesting art controls for clouds to get rid of the ugly dark-grey clouds. When exploring deeper the art controls with dataref editor, my attention was drawn to a few of them containing the word "raleigh". I started to tinker with these, and here's what I got. Especially, look at the distant landscape colors:


ATR72_94.jpg

ATR72_102.jpg

ATR72_121.jpg

ATR72_129.jpg

ATR72_197.jpg

ATR72_244.jpg

Notice the blueish hills in the far. I have yet to find the ideal setting, but this is already way more realistic than X-Plane's default. Combined with cloud shadows, we now have some beautiful atmospheric effects, already present in X-Plane's engine, just not used at their full potential. Some would say ironically, with some reason, that X-Plane's beauty is an inside beauty. :)

But that's not the end of the story. Like everyone here tinkering with clouds shadows, I had to regret the volatility of the process. I then remembered that datarefs can be set when you open a plane if you follow this marvelous advice by Dan Klaue. Just had to figure out which prefix the art control need.

Now, I have a plane which is loaded with some experimental settings. I just put the SASL plugin inside, create an "avionics.lua" file containing some lines like:
 

defineProperty("CloudShadowLightenRatio", globalPropertyf("sim/private/controls/clouds/cloud_shadow_lighten_ratio")) set(CloudShadowLightenRatio, 1.0

When I open the plane, all the values are applied to the art controls, and stay so for the current X-Plane session. This is a bit weird, but it works.

Pascal

PS: Important notice: Raleigh and Mie scattering atmospheric effects only work with HDR.

  • Upvote 19

Share this post


Link to post
Share on other sites

Great findings Pascal!


Use your flight simulators with a well defined purpose...

Don't expect them to be "perfect" or to fully cover all aspects of simulated flight...

Try to enjoy it instead of stressing... ( in few words - don't be like me ... )

 

Share this post


Link to post
Share on other sites

Hi,

 

Thanks to AUA425 in this thread, we are now able to recover the lost cloud shadows. I tried many interesting art controls for clouds to get rid of the ugly dark-grey clouds. When exploring deeper the art controls with dataref editor, my attention was drawn to a few of them containing the word "raleigh". I started to tinker with these, and here's what I got. Especially, look at the distant landscape colors:

 

Great! Can you share the DataRefs values you used in your shots?


"The problem with quotes on the Internet is that it is hard to verify their authenticity." [Abraham Lincoln]

Share this post


Link to post
Share on other sites

Whoa, thats a great find and those screenshots look unbelievable. I'd be ready to ditch my skymaxx in a heartbeat for that atmospheric scattering (i believe that is the correct term for the blue hue in the horizon?) and cloud shadows!


Regards, Kim Eriksson.

Share this post


Link to post
Share on other sites

From Ben's blog...

 

The art controls are mapped into the domain sim/private/controls/…. by X-Plane. 

 

Like all sim-private datarefs (sim/private) these datarefs are undocumented and unsupported and may not be there in future builds.

 

Your plugin, panel, or object should not depend on any sim/private datarefs!  They should only be used for diagnostics/debugging.

 

 

Also see this.

Share this post


Link to post
Share on other sites

Pascal;

 

Those shots look dazzling, I definitely got to give this a try.

No; could these effect be included in 10.30 update.


Alan Twiggys

AOPA Member

"All Things Aviation"

Share this post


Link to post
Share on other sites

That looks incredibly realistic.  Keep investigating to see what you can find.  

 

I hope this sort of visual beauty helps more third parties check out the xpx platform.

Share this post


Link to post
Share on other sites

WOW, fantastic! Ben & co should implement your settings as default in XP10.

Share this post


Link to post
Share on other sites

From Ben's blog...

 

Also see this.

Well, now, this is documented !

 

Frankly, this, and cloud shadows totally changes the atmosphere of the sim. Like a new sim. This is too late to ask me not to use it, sorry if this is a big problem for you, JGregory.

 

Pascal

Great! Can you share the DataRefs values you used in your shots?

I didn't write down these in particular, and I'm still experimenting. Will share.

I've noticed some potential problem with the horizon and the planet rendering. I'll look if this is caused by my tweaks, or some other mod I installed.

Look for "atmo" in the dataref editor to find the art controls.

 

Pascal

Whoa, thats a great find and those screenshots look unbelievable. I'd be ready to ditch my skymaxx in a heartbeat for that atmospheric scattering (i believe that is the correct term for the blue hue in the horizon?) and cloud shadows!

 

Thanks, yes, that's atmospheric scattering.

 

Pascal

  • Upvote 1

Share this post


Link to post
Share on other sites

On my end I hope to have cloud shadows implemented with SM......

 

 

This other option seems to make high altitude more realistic......I have to ask what kind of hit on frame rates do you have? 

  • Upvote 3

Share this post


Link to post
Share on other sites

Congratulations, Pascal! After much indecisiveness, I have finally resolved to buy X-Plane because I can see what stunningly realistic visuals are achievable with your tweaks. What ground textures are you using, by the way?

  • Upvote 1

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
  • Donation Goals

    AVSIM's 2020 Fundraising Goal

    Donate to our annual general fundraising goal. This donation keeps our doors open and providing you service 24 x 7 x 365. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. We reset this goal every new year for the following year's goal.


    53%
    $13,405.00 of $25,000.00 Donate Now
×
×
  • Create New...