Loading [MathJax]/extensions/Safe.js

Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: More clouds  (Read 839 times)

0 Members and 1 Guest are viewing this topic.

marcost

  • Modder
  • member
  • Offline Offline
  • Posts: 1088
  • Keep calm and run away
More clouds
« on: December 01, 2023, 03:48:49 AM »

This is a java mod, not new textures. There are more clouds being generated, all based on the existing cloud textures. Additional clouds can be a different type and height to original. My install is a modded BAT 4.2.

Stock at weather/clouds setting 'good':


Modded at weather/clouds setting 'good':



Stock at weather/clouds setting 'hazy':


Modded at weather/clouds setting 'hazy':

Note FRAPS FPS counter in last two images.


Stock:

Mod:


Stock:

Mod:


I need to test further and tidy up. All above images have three cloud re-generations. Different effects can be had with more/fewer re-generations and with varying the height of each. There is a FPS hit for each additional re-generation.

It would be nice to direct each re-generation to its own set of textures. Also to be able to access the random generation method, so that the clouds can be spread further around.

The additional clouds won't cause visibility checks or link to any other class that reference the default cloud object, although it should be possible to have the additional clouds incorporated into those methods.

"What were the skies like when you were young?"  ;D

Regards,

M

Logged

TXZCJSP

  • member
  • Offline Offline
  • Posts: 180
Re: More clouds
« Reply #1 on: December 01, 2023, 06:57:32 AM »

Do they affect AI?
Logged

marcost

  • Modder
  • member
  • Offline Offline
  • Posts: 1088
  • Keep calm and run away
Re: More clouds
« Reply #2 on: December 01, 2023, 07:02:57 AM »

The additional clouds won't cause visibility checks or link to any other class that reference the default cloud object, although it should be possible to have the additional clouds incorporated into those methods.
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6213
Re: More clouds
« Reply #3 on: December 01, 2023, 01:13:04 PM »

Interesting! I'd like to see how this is done under the hood.

One way to partly reduce the resource overhead is to alter the DENSITY value in DATA.cld, which controls the number of individual textures that combine to make up each discrete cloud. As far as I know, the permitted values are 1, 2 and 4. The stock value is 4. 2 is OK, and 1 will make the clouds look rather more ragged due to fewer particles making up each cloud. Furthermore, one could eliminate Level_1, using only Level_0.

Any chance to get your Java for testing?  ;)
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

marcost

  • Modder
  • member
  • Offline Offline
  • Posts: 1088
  • Keep calm and run away
Re: More clouds
« Reply #4 on: December 02, 2023, 01:50:36 AM »

Yes sure, I just need to put it in clean BAT classes as mine have other changes as well
Logged

RABIZO

  • Modder
  • member
  • Offline Offline
  • Posts: 531
Re: More clouds
« Reply #5 on: December 11, 2023, 08:14:22 AM »

wonderful.

I would like to use it.
Logged
Pages: [1]   Go Up
 

Page created in 0.044 seconds with 20 queries.