Jump to content
Sign in to follow this  
Jimmy RFR

X-Plane 10: Clouds & Datarefs - Questions

Recommended Posts

Thanks Murmur.  :wink:

I have used .dds for clouds_puff0 to 5, not .png.

 

A question: why clouds_puffs.png have 8 column?  what is it for?


* FS2004 Supersky * ( Atmo Ambient Environment addon) creator.
* XP11 atmoXphere * (
Atmo Ambient Environment addon ) creator.
*
XP12.0.8 * with ACT (A
mbient Corrector Tweek ).

[Pc intel i3-4160 3.6ghz, 8gb ram, GeForce RTX-3060 12gb, Win10 Home 64bit]
 

Share this post


Link to post
Share on other sites

A question: why clouds_puffs.png have 8 column?  what is it for?

 

As far as I know, cloud_puffs.png is not currently used (at least, I could not find where it is used). Maybe it has been put there for a possible future use?


"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

The weird horizontal layering in the blue color for the sky depends on texture "gradient color uniformity."

If the color is not uniform they see small horizontal stripes.

Example, this gradient is not uniform:

Hhwno0y.jpg

 

 

"Is this a limitation from X-Plane?"      Yes Sir!

 

Each X-plane sky texture is 128 horizontal pixels x 32 vertical pixels.

 

With 32 vertical pixels are generated 32 individual horizontal stripes on the texture, this graphic artifact is inevitable. :sad:

GBVtjMq.jpg

 

The trick to have a nice sky gradient... with 32 pixel only... is to make more "smooth color stripes" possible.

 

The X-plane sky is very similar to the microsoft FS sky.

X-plane, FS9, FSX, etc, use too small textures to represent the sky dome.

 

640 x 160 pixels (ie 128 x 32 multiplied by 4) would be preferred to represent the sky dome without graphical artifacts.

128 x 32 pixels are too few.  :unknw:

Can you please show me how to do it?i really hate the sky gradient in xplane.

THanks in advance 

Share this post


Link to post
Share on other sites

It is very simple.
Search "blue sky gradient" with google, observes all  photos, and save your favorite sky.
example this: http://freeios7.com/wp-content/uploads/freeios7.com_apple_wallpaper_blue-blue-sky_iphone4.jpg

Import image into Photoshop (or similar), cut gradient as you like...
wkfgpKj.jpg
... and create new image.

If sky color gradient is not uniform, uniformize color with "blur filter".
P9k3Mlk.jpg

Resize image to 128 x 32 pixels.
ptXtbs7.jpg

Now import into photoshop x-plane sky_color.png, insert your gradient, and save sky_color.png.
Enjoy
JTPICQ0.jpg


* FS2004 Supersky * ( Atmo Ambient Environment addon) creator.
* XP11 atmoXphere * (
Atmo Ambient Environment addon ) creator.
*
XP12.0.8 * with ACT (A
mbient Corrector Tweek ).

[Pc intel i3-4160 3.6ghz, 8gb ram, GeForce RTX-3060 12gb, Win10 Home 64bit]
 

Share this post


Link to post
Share on other sites

But the "master image"(with all the layers) can't be at a higher resolution? 

Share this post


Link to post
Share on other sites

Another technique is use "photoshop gradient tool" to create a new smooth sky.

Search sky image with google, example this... http://wallpaperspics.com/thumbs/25/f/wallpaper-airplane-desktop-plane-gallery-255055.jpg ... and import image into photoshop. Next create new empty project 1280 x 320 pixel.

Nm76Vkw.jpg

Select gradient tool...

NNDSniK.jpg

... and capture some point on photo (usually 2 or 3 points are enough).

q2vk59I.jpg

Draw your gradient on new project.

uFqCwVS.jpg

This is the result.

eIAiJ4y.jpg

Resize image to 128 x 32 pixels.
Enjoy

Tg13DwL.jpg

Paste your sky texture on x-plane sky_color.png

 

 

 

 

 

 

 

But the "master image"(with all the layers) can't be at a higher resolution?

Yes, absolutely.
it is preferable to use a large master image, not small image.


* FS2004 Supersky * ( Atmo Ambient Environment addon) creator.
* XP11 atmoXphere * (
Atmo Ambient Environment addon ) creator.
*
XP12.0.8 * with ACT (A
mbient Corrector Tweek ).

[Pc intel i3-4160 3.6ghz, 8gb ram, GeForce RTX-3060 12gb, Win10 Home 64bit]
 

Share this post


Link to post
Share on other sites
Yes, absolutely.

it is preferable to use a large master image, not small image.

 

Maybe he's referring to the actual .png texture used by X-Plane. Unfortunately, it can only be 128x32 pixels (for each skydome texture).


"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

Maybe he's referring to the actual .png texture used by X-Plane. Unfortunately, it can only be 128x32 pixels (for each skydome texture).

Yes that is what I meant,thanks :)

Share this post


Link to post
Share on other sites

I use Murmur's scripts and the sky texture, not that I understand any of the script.

 

There is a .lua script for the clouds @.org by the developer of Ultra Weather XP.  I have not yet tried it because being on a 2nd gen laptop it does not work well with the clouds in Xplane and no HDR :sad: .


Ryzen 5 1600x - 16GB DDR4 - RTX 3050 8GB - MSI Gaming Plus

Share this post


Link to post
Share on other sites

Link?


* FS2004 Supersky * ( Atmo Ambient Environment addon) creator.
* XP11 atmoXphere * (
Atmo Ambient Environment addon ) creator.
*
XP12.0.8 * with ACT (A
mbient Corrector Tweek ).

[Pc intel i3-4160 3.6ghz, 8gb ram, GeForce RTX-3060 12gb, Win10 Home 64bit]
 

Share this post


Link to post
Share on other sites

I have downloaded Ultraweather script.

 

Why in the script there are 4 identical strings?  :unknw: 

whhswht.jpg


* FS2004 Supersky * ( Atmo Ambient Environment addon) creator.
* XP11 atmoXphere * (
Atmo Ambient Environment addon ) creator.
*
XP12.0.8 * with ACT (A
mbient Corrector Tweek ).

[Pc intel i3-4160 3.6ghz, 8gb ram, GeForce RTX-3060 12gb, Win10 Home 64bit]
 

Share this post


Link to post
Share on other sites

Is it possible to modify RTH to include the line codes from the UWX script?

Share this post


Link to post
Share on other sites

Is it possible to modify RTH to include the line codes from the UWX script?

 

I stopped using RTH for the moment due to system limitation.  But you can try and paste those lines at the end of the RTH script and check if it works.

 

I am also using a light datarefs from Murmur , its probably gives better daylight i think.  So when I used the light dataref of Murmur with the UWX script I got clouds where there were none when using UWX script but it came with a hard hit on the fps. So currently using UWX script seems good to me. 

 

Clouds I use are the Clouds Gold Edition X Beta II 1.3 


Ryzen 5 1600x - 16GB DDR4 - RTX 3050 8GB - MSI Gaming Plus

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
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...