Jump to content

[SOLVED] Volumetric clouds in the helicopter demo


photo

Recommended Posts

Posted

Hi everybody

 

We are evaluating the helicopter demo scenery for our own products (flight simulators) and we observe that the volumetric clouds are not visible within and above the cloud layer. In the documentation we found the approach to create volumetric boxes for the fog and clouds. With the ready to use texture (volume_base_cloud_density) from the core/textures folder, we get a small little volumetric cloud.

 

Is there a possibility to combine those two approaches? Such as as long as the eyepoint is below or above the cloud layer, the clouds are created as sky clouds and when the eyepoint is within the clouds the volume box creates the clouds?

 

Thanks and kind regards

Posted

Hi Paul,

 

We are evaluating the helicopter demo scenery for our own products (flight simulators) and we observe that the volumetric clouds are not visible within and above the cloud layer.

If you are talking about our Washington demo, please try to change Downsize paramter of the sky material in this demo to none. This will allow you to fly above the clouds, but with little performace penalty.

 

Please, check this article about sky and volumetric clouds setup here: https://developer.unigine.com/en/docs/1.0/objects/objects/sky/

Also, you can check our sky samples: <SDK>/data/samples/objects/sky_*

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Hi Silent

 

the downsize parameter does for the moment what we were looking for.

 

Thanks a lot

  • 3 weeks later...
Posted

Hi there

 

With the downsize param I can change the material to be rendered into a fullsized buffer, but somehow i can't figure out how to save it permanentely. I tried it as well with adding the following line to the environment.mat file. But everytime I restart the scenery, the downsize param changed back to 'greater_scale'.

<material name="sky" parent="sky_base">
    <options downsize="none"/>
    <state name="clouds">0</state>
    <texture name="mask_0">washington/textures/environment/clouds_mask1_d.dds</texture>
    <texture name="mask_1">washington/textures/environment/clouds_mask2_d.dds</texture>
    ...
</material>

Thanks in advance

Posted

Hi Paul,

 

Please, try to delete <options downsize="none"/> completely :

<material name="sky" parent="sky_base">
    <state name="clouds">0</state>
    <texture name="mask_0">washington/textures/environment/clouds_mask1_d.dds</texture>
    <texture name="mask_1">washington/textures/environment/clouds_mask2_d.dds</texture>
    ...
</material>

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Hi Silent

 

Then I get the same behaviour as with the option parameter... After starting Unigine, the clouds param 'Downsize' is always on 'greater_scale'.

 

Thanks

Posted

Hi Paul,

 

Please, take a look at the tracker files (they are located in <Waashington>/data/washinhton/tracks directory).

 

In the most *.track files you can find following code:

<parameter type="material.downsize" name="sky">
   <key time="0">3</key>

Tracker is setting up Downsize parameter to the value 3 (which equals to greater scale) to sky material. You can replace 3 with 0 to enable Downsize: none option.

 

Thanks!

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Posted

Ah, okay! This is it! Thanks a lot!!

×
×
  • Create New...