Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

X-Plane 10: Clouds & Datarefs - Questions

Featured Replies

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?

[Pc Intel i3-4160 3,6 GHz, 8 GB di RAM, GeForce RTX-3060 12 GB, Win10 Home 64 bit]
 

  • Replies 191
  • Views 59.2k
  • Created
  • Last Reply

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?

"Society has become so fake that the truth actually bothers people".

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 

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

[Pc Intel i3-4160 3,6 GHz, 8 GB di RAM, GeForce RTX-3060 12 GB, Win10 Home 64 bit]
 

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

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.

[Pc Intel i3-4160 3,6 GHz, 8 GB di RAM, GeForce RTX-3060 12 GB, Win10 Home 64 bit]
 

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).

"Society has become so fake that the truth actually bothers people".

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 :)

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

Link?

[Pc Intel i3-4160 3,6 GHz, 8 GB di RAM, GeForce RTX-3060 12 GB, Win10 Home 64 bit]
 

I have downloaded Ultraweather script.

 

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

whhswht.jpg

[Pc Intel i3-4160 3,6 GHz, 8 GB di RAM, GeForce RTX-3060 12 GB, Win10 Home 64 bit]
 

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

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

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.