Jump to content
Sign in to follow this  
Pascal_LSGC

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

Recommended Posts

I would strongly recommend all developers to upload their work on

http://www.xp-developer.com/downloads

 

And of course join, will be happy to have a dedicated discustion category for this and many more projects

Just for transparency it should be noted Tom runs this website.

  • Upvote 1

i910900k, RTX 3090, 32GB DDR4 RAM, AW3423DW, Ruddy girt big mug of Yorkshire Tea

Share this post


Link to post
Share on other sites

Does anyone know what gives the clouds their colors at dawn and dusk? Is it done through art controls? If so, which ones? I'd like to tone the colors down quite a bit.

Share this post


Link to post
Share on other sites

Does anyone know what gives the clouds their colors at dawn and dusk? Is it done through art controls? If so, which ones? I'd like to tone the colors down quite a bit.

 

I think that is done through the shaders. Its a dynamic hardware rendering and can't be set directly via an Art Control value.

Share this post


Link to post
Share on other sites

Does anyone know what gives the clouds their colors at dawn and dusk? Is it done through art controls? If so, which ones? I'd like to tone the colors down quite a bit.

 

See the end of this post:

 

http://forum.avsim.net/topic/434876-another-experiment-cloud-tweaking/#entry2928290


"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

Insane, do you have the lua code for this setting? Want to give it a try today..

 

Hi Tom,

 

Here is the code I am using. Basically I took a little of each of the codes in this thread and modified them to my liking.

 

set( "sim/private/controls/clouds/cloud_shadow_lighten_ratio",       0.85 )

set( "sim/private/controls/atmo/atmo_scale_raleigh",        20.0 )

set( "sim/private/controls/atmo/inscatter_gain_mie",     5.0 )

set( "sim/private/controls/atmo/inscatter_gain_raleigh",        10.0 )

set( "sim/private/controls/atmo/scatter_raleigh_b",         40 )

set( "sim/private/controls/atmo/scatter_raleigh_g",      10.30 )

set( "sim/private/controls/atmo/scatter_raleigh_r",    0.010 )

set( "sim/private/controls/skyc/white_out_in_clouds",     0.5 )

set( "sim/private/controls/clouds/plot_radius",    1.20 )

set( "sim/private/controls/clouds/soft_occlude",  1.00 )

set( "sim/private/controls/skyc/mie_scattering_foggy",  25.000 )

set( "sim/private/controls/skyc/mie_scattering_ocast",  7.00 )

set( "sim/private/controls/lights/bloom_far", 3000.00 )

set( "sim/private/controls/lights/bloom_near", 120.00 )

set( "sim/private/controls/lights/mix_big", 80.000 )

set( "sim/private/controls/lights/mix_small", 25.00)

set( "sim/private/controls/lights/bloom_for_zoom", 0.60)

set( "sim/private/controls/hdr/gain_min", -4.8)

set( "sim/private/controls/clouds/ambient_gain", 4.0)

 

  • Upvote 1

Share this post


Link to post
Share on other sites

Did it, tride it and loved it, thanks! Will incorporate my light tweaks into this aswell.

 

Now here are some pics from the test

 

xp_test4.PNG

 

xp_test5.PNG

 

xp_test7.PNG

 

xp_test9.PNG

 

xp_test10.PNG

  • Upvote 7

X-Plane Scandinavia

Norway - Sweden - Finland - Iceland - Denmark

https://www.facebook.com/xpscandinavia

Like - Share - Follow us on everything

 

Share this post


Link to post
Share on other sites

Great shots Tom.

 

What would be amazing is if, maybe after we know what's in 10.30, someone can develop a pugin that alters the main artrefs depending on the weather, season and location. For example the amount of blue tint in the scattering presumably differs according to the environment.

 

I would pay through the nose for that...


i910900k, RTX 3090, 32GB DDR4 RAM, AW3423DW, Ruddy girt big mug of Yorkshire Tea

Share this post


Link to post
Share on other sites

Great shots Tom.

 

What would be amazing is if, maybe after we know what's in 10.30, someone can develop a pugin that alters the main artrefs depending on the weather, season and location. For example the amount of blue tint in the scattering presumably differs according to the environment.

 

I would pay through the nose for that...

With SkyMaxx Pro as seen in pics, changing to i.e dusk or dawn makes it just more realistic, almost scary real. But yes, i too would second such motion


X-Plane Scandinavia

Norway - Sweden - Finland - Iceland - Denmark

https://www.facebook.com/xpscandinavia

Like - Share - Follow us on everything

 

Share this post


Link to post
Share on other sites

How to install this?

 

1. Download the Fly with Lua script

 

2. Unzip and place the folder into your plugin folder as described in the readme

 

3. Make sure you have xsquawkbox installed

 

4. Delete all .lua scripts in the /Resource/plugin/FlywithLua/Script folder

 

5. Open Notepad and paste in the code

 

set( "sim/private/controls/clouds/cloud_shadow_lighten_ratio", 0.85 )

set( "sim/private/controls/atmo/atmo_scale_raleigh", 20.0 )

set( "sim/private/controls/atmo/inscatter_gain_mie", 5.0 )

set( "sim/private/controls/atmo/inscatter_gain_raleigh", 10.0 )

set( "sim/private/controls/atmo/scatter_raleigh_b", 40 )

set( "sim/private/controls/atmo/scatter_raleigh_g", 10.30 )

set( "sim/private/controls/atmo/scatter_raleigh_r", 0.010 )

set( "sim/private/controls/skyc/white_out_in_clouds", 0.5 )

set( "sim/private/controls/clouds/plot_radius", 1.20 )

set( "sim/private/controls/clouds/soft_occlude", 1.00 )

set( "sim/private/controls/skyc/mie_scattering_foggy", 25.000 )

set( "sim/private/controls/skyc/mie_scattering_ocast", 7.00 )

set( "sim/private/controls/lights/bloom_far", 3000.00 )

set( "sim/private/controls/lights/bloom_near", 120.00 )

set( "sim/private/controls/lights/mix_big", 80.000 )

set( "sim/private/controls/lights/mix_small", 25.00)

set( "sim/private/controls/lights/bloom_for_zoom", 0.60)

set( "sim/private/controls/hdr/gain_min", -4.8)

set( "sim/private/controls/clouds/ambient_gain", 4.0)

 

6. Make sure you save the file as "save all not text" and lable the extention with .lua

 

i.e scattering.lua or test.lua

 

7. make sure this file is then put into the /Resource/plugin/FlywithLua/Script folder

 

8. Start X-Plane and Enjoy it

 

 

Join the developer community!


X-Plane Scandinavia

Norway - Sweden - Finland - Iceland - Denmark

https://www.facebook.com/xpscandinavia

Like - Share - Follow us on everything

 

Share this post


Link to post
Share on other sites

Thanks for the info Tom, I've installed it and finally it works without loading up a Carenado :)

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.
×
×
  • Create New...