Board index FlightGear Development Scenery

New Asia regional materials

Questions and discussion about enhancing and populating the FlightGear world.

New Asia regional materials

Postby V12 » Fri Apr 26, 2019 8:09 pm

I'm trying improve Asia regional materials :

Image
Image

Image
Image

Tiling is still here, but much less annoying. It is price for better blending with other materials

And here is new material definition in asia.xml:

Code: Select all
<?xml version="1.0"?>
<PropertyList>
  <name>Asia</name>
  <area>
    <lon1>60.0</lon1>
    <lon2>180.0</lon2>
    <lat1>-15.0</lat1>
    <lat2>45.0</lat2>
  </area>

  <condition>
    <equals>
      <property>sim/startup/season</property>
      <value>summer</value>
    </equals>
  </condition>

  <!-- Regional Asian irrigated crops -->
  <material>

    <name>IrrCropPastureCover</name>
    <name>IrrCrop</name>
    <name>Orchard</name>
    <name>Olives</name>
    <name>Vineyard</name>
    <name>Rice</name>
    <texture-set>
      <texture>Terrain/grass_green_hires-autumn.png</texture>
      <texture n="11">Terrain/airport.png</texture>
      <texture n="12">Terrain/tundra-hawaii-green-autumn.png</texture>
      <texture n="14">Terrain/grain_texture.png</texture>
      <texture n="15">Terrain/airport_grass2.png</texture>
    </texture-set>
    <parameters>
   <transition_model>0.7</transition_model>
   <hires_overlay_bias>0.0</hires_overlay_bias>
    </parameters>

    <object-mask>Terrain/rice1.mask.png</object-mask>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.3</rolling-friction>
    <bumpiness>0.6</bumpiness>
    <load-resistance>1e30</load-resistance>
    <object-group include="Materials/base/farm-buildings.xml"/>
    <wood-coverage>10000.0</wood-coverage>
    <tree-texture>Trees/mixed-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>20.0</tree-height-m>
    <tree-width-m>12.0</tree-width-m>
  </material>
 
  <material>
    <name>MixedCropPastureCover</name>
    <name>MixedCrop</name>
    <name>ComplexCrop</name>
    <texture-set>
      <texture>Terrain/dry_pasture4.png</texture>
      <texture n="11">Terrain/airport.png</texture>
      <texture n="12">Terrain/tundra-hawaii-green-autumn.png</texture>
      <texture n="14">Terrain/grain_texture.png</texture>
      <texture n="15">Terrain/airport_grass2.png</texture>
    </texture-set>
    <parameters>
   <transition_model>0.8</transition_model>
   <hires_overlay_bias>0.0</hires_overlay_bias>
    </parameters>
    <object-mask>Terrain/rice1.mask.png</object-mask>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.1</rolling-friction>
    <bumpiness>0.7</bumpiness>
    <load-resistance>1e30</load-resistance>
    <object-group include="Materials/base/farm-buildings.xml"/>

  </material>
 
  <material>
    <name>Grassland</name>
    <name>DryCropPastureCover</name>
    <name>DryCrop</name>
    <name>GreenSpace</name>
    <texture-set>
      <texture>Terrain/savanna-overlay.png</texture>
      <texture n="11">Terrain/airport.png</texture>
      <texture n="12">Terrain/tundra-hawaii-green-autumn.png</texture>
      <texture n="14">Terrain/grain_texture.png</texture>
      <texture n="15">Terrain/airport_grass2.png</texture>
    </texture-set>
    <parameters>
   <transition_model>0.8</transition_model>
   <hires_overlay_bias>0.0</hires_overlay_bias>
    </parameters>

    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.1</rolling-friction>
    <bumpiness>0.7</bumpiness>
    <load-resistance>1e30</load-resistance>
 
    <wood-coverage>50000.0</wood-coverage>
    <tree-texture>Trees/mixed-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>20.0</tree-height-m>
    <tree-width-m>12.0</tree-width-m>   

  </material> 


    <material>
    <effect>Effects/agriculture</effect>
    <tree-effect>Effects/tree-european-deciduous</tree-effect>
    <name>DeciduousBroadCover</name>
    <name>DeciduousForest</name>
    <name>Bog</name>
    <name>Heath</name>
    <name>EvergreenBroadCover</name>
    <name>EvergreenForest</name>
    <texture-set>
      <texture>Terrain/deciduous-hires-autumn.png</texture>
      <texture n="20">Terrain/mixedforest-hires-autumn.png</texture>
    </texture-set>
    <parameters>
      <max_overlay_height>2.0</max_overlay_height>
      <overlay_hardness>0.0</overlay_hardness>
      <overlay_density>1.0</overlay_density>
      <overlay_autumn_flag>1</overlay_autumn_flag>
      <overlay_brightness_top>1.4</overlay_brightness_top>
      <overlay_brightness_bottom>0.6</overlay_brightness_bottom>
      <rotation_flag>1</rotation_flag>
      <rotation_scale>2000.0</rotation_scale>
    </parameters>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>10000000.0</light-coverage>
    <wood-coverage>4000.0</wood-coverage>
    <tree-texture>Trees/deciduous-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>25.0</tree-height-m>
    <tree-width-m>15.0</tree-width-m>
    <rolling-friction>1</rolling-friction>
    <bumpiness>0.85</bumpiness>
  </material>
</PropertyList>


Please test it on more places in Asia.
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1499
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: New Asia regional materials

Postby Johan G » Sat Apr 27, 2019 7:37 pm

V12 wrote in Fri Apr 26, 2019 8:09 pm:I'm trying improve Asia regional materials
[...]
Tiling is still here, but much less annoying.

It indeed looks like a great, great improvement. Good work. :D
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Johan G
Moderator
 
Posts: 5513
Joined: Fri Aug 06, 2010 5:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 3.0.0
OS: Windows 7, 32 bit

Re: New Asia regional materials

Postby V12 » Sun Apr 28, 2019 8:56 am

I slightly modified some textures and this is result - view into the Paro valley from VOR PRO :

Image

Flatland near VEBD :

Image

Foothills :

Image

I think, much better than standard.
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1499
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: New Asia regional materials

Postby Johan G » Sun Apr 28, 2019 10:13 am

Consider asking someone to add it to the repository.
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Johan G
Moderator
 
Posts: 5513
Joined: Fri Aug 06, 2010 5:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 3.0.0
OS: Windows 7, 32 bit

Re: New Asia regional materials

Postby V12 » Sun Apr 28, 2019 10:23 am

Stand by please, I'm not fully satisfied and have some ideas.
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1499
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: New Asia regional materials

Postby V12 » Sun Apr 28, 2019 12:49 pm

This is probably final Asia.xml material file :

Code: Select all
<?xml version="1.0"?>
<PropertyList>
  <name>Asia</name>
  <area>
    <lon1>60.0</lon1>
    <lon2>180.0</lon2>
    <lat1>-15.0</lat1>
    <lat2>45.0</lat2>
  </area>

  <condition>
    <equals>
      <property>sim/startup/season</property>
      <value>summer</value>
    </equals>
  </condition>

  <!-- Regional Asian irrigated crops -->
  <material>
    <effect>Effects/crop</effect>
    <name>IrrCropPastureCover</name>
    <name>IrrCrop</name>
    <name>Orchard</name>
    <name>Olives</name>
    <name>Vineyard</name>
    <name>Rice</name>
    <texture-set>
      <texture>Terrain/grass_green_hires-autumn.png</texture>
      <texture n="11">Terrain/airport.png</texture>
      <texture n="12">Terrain/deciduous-hires.png</texture>
      <texture n="14">Terrain/grain_texture.png</texture>
      <texture n="15">Terrain/airport_grass2.png</texture>
    </texture-set>
    <parameters>
   <transition_model>0.8</transition_model>
   <hires_overlay_bias>0.0</hires_overlay_bias>
    </parameters>

    <object-mask>Terrain/rice1.mask.png</object-mask>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.3</rolling-friction>
    <bumpiness>0.6</bumpiness>
    <load-resistance>1e30</load-resistance>
    <object-group include="Materials/base/farm-buildings.xml"/>
    <wood-coverage>5000.0</wood-coverage>
    <tree-texture>Trees/mixed-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>20.0</tree-height-m>
    <tree-width-m>12.0</tree-width-m>
  </material>
 
  <material>
    <effect>Effects/crop</effect>
    <name>MixedCropPastureCover</name>
    <name>MixedCrop</name>
    <name>ComplexCrop</name>
    <texture-set>
      <texture>Terrain/wash.png</texture>
      <texture n="11">Terrain/airport.png</texture>
      <texture n="12">Terrain/deciduous-hires.png</texture>
      <texture n="14">Terrain/grain_texture.png</texture>
      <texture n="15">Terrain/airport_grass2.png</texture>
    </texture-set>
    <parameters>
   <transition_model>0.8</transition_model>
   <hires_overlay_bias>0</hires_overlay_bias>
    </parameters>
    <object-mask>Terrain/deciduous-hires_mask.png</object-mask>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.1</rolling-friction>
    <bumpiness>0.7</bumpiness>
    <load-resistance>1e30</load-resistance>
    <wood-coverage>0</wood-coverage>
    <tree-texture>Trees/mixed-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>20.0</tree-height-m>
    <tree-width-m>12.0</tree-width-m>
  </material>

  <material>
    <name>Grassland</name>
    <name>DryCropPastureCover</name>
    <name>DryCrop</name>
    <name>GreenSpace</name>
    <name>ShrubCover</name>
    <name>ShrubGrassCover</name>
    <name>ScrubCover</name>
    <name>ScrubSclerophyllous</name>
    <texture-set>
      <texture>Terrain/pampas-grass-hires.png</texture>
      <texture n="11">Terrain/airport.png</texture>
      <texture n="12">Terrain/deciduous-hires.png</texture>
      <texture n="14">Terrain/grain_texture.png</texture>
      <texture n="15">Terrain/airport_grass2.png</texture>
    </texture-set>
    <parameters>
   <transition_model>0.8</transition_model>
   <hires_overlay_bias>0.0</hires_overlay_bias>
    </parameters>

    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.1</rolling-friction>
    <bumpiness>0.7</bumpiness>
    <load-resistance>1e30</load-resistance>
 
    <wood-coverage>50000.0</wood-coverage>
    <tree-texture>Trees/mixed-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>20.0</tree-height-m>
    <tree-width-m>12.0</tree-width-m>   

  </material> 

  <material>
    <effect>Effects/agriculture</effect>
    <tree-effect>Effects/tree-european-deciduous</tree-effect>
    <name>DeciduousBroadCover</name>
    <name>DeciduousForest</name>
    <name>Bog</name>
    <name>Heath</name>
    <name>EvergreenBroadCover</name>
    <name>EvergreenForest</name>
    <texture-set>
      <texture>Terrain/deciduous-hires-autumn.png</texture>
      <texture n="20">Terrain/mixedforest-hires-autumn.png</texture>
    </texture-set>
    <parameters>
      <max_overlay_height>2.0</max_overlay_height>
      <overlay_hardness>0.0</overlay_hardness>
      <overlay_density>1.0</overlay_density>
      <overlay_autumn_flag>1</overlay_autumn_flag>
      <overlay_brightness_top>1.4</overlay_brightness_top>
      <overlay_brightness_bottom>0.6</overlay_brightness_bottom>
      <rotation_flag>1</rotation_flag>
      <rotation_scale>2000.0</rotation_scale>
    </parameters>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>10000000.0</light-coverage>
    <wood-coverage>4000.0</wood-coverage>
    <tree-texture>Trees/deciduous-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>25.0</tree-height-m>
    <tree-width-m>15.0</tree-width-m>
    <rolling-friction>1</rolling-friction>
    <bumpiness>0.85</bumpiness>
  </material>

  <material>
    <name>ShrubCover</name>
    <name>ShrubGrassCover</name>
    <name>ScrubCover</name>
    <name>Scrub</name>
    <name>Sclerophyllous</name>
    <texture-set>
      <texture>Terrain/pampas-grass-hires.png</texture>
      <texture n="11">Terrain/airport.png</texture>
      <texture n="12">Terrain/deciduous-hires.png</texture>
      <texture n="14">Terrain/grain_texture.png</texture>
      <texture n="15">Terrain/airport_grass2.png</texture>
    </texture-set>
    <parameters>
   <transition_model>0.9</transition_model>
   <hires_overlay_bias>0.0</hires_overlay_bias>
    </parameters>
    <object-mask>Terrain/deciduous-hires.png</object-mask>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.1</rolling-friction>
    <bumpiness>0.7</bumpiness>
    <load-resistance>1e30</load-resistance>
 
    <wood-coverage>10000.0</wood-coverage>
    <tree-texture>Trees/mixed-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>20.0</tree-height-m>
    <tree-width-m>12.0</tree-width-m>   
  </material> 

</PropertyList>



With my limited knowledge don't know how do it better.
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1499
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: New Asia regional materials

Postby V12 » Sun Apr 28, 2019 1:54 pm

Final test Asia materials on route VNKT - VQPR
Kathmandu early morning depart - surrounding mountains textures are more consistent

Image

No more strange patches in mountain forest :

Image
Image

This is not absolutly perfect, but almost without visible texture tiling, this thing I will try to improve :

Image

Paro valley :

Image

Image

Touchdown at rwy 33 :

Image
Last edited by V12 on Sun Apr 28, 2019 5:57 pm, edited 1 time in total.
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1499
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: New Asia regional materials

Postby V12 » Sun Apr 28, 2019 3:30 pm

Final problem solved :

Image

And really final material definition (asia.xml) :

Code: Select all
<?xml version="1.0"?>
<PropertyList>
  <name>Asia</name>
  <area>
    <lon1>60.0</lon1>
    <lon2>180.0</lon2>
    <lat1>-15.0</lat1>
    <lat2>45.0</lat2>
  </area>

  <condition>
    <equals>
      <property>sim/startup/season</property>
      <value>summer</value>
    </equals>
  </condition>

  <!-- Regional Asian irrigated crops -->
  <material>
    <effect>Effects/crop</effect>
    <name>IrrCropPastureCover</name>
    <name>IrrCrop</name>
    <name>Orchard</name>
    <name>Olives</name>
    <name>Vineyard</name>
    <name>Rice</name>
    <texture-set>
      <texture>Terrain/marsh3.png</texture>
      <texture n="11">Terrain/airport.png</texture>
      <texture n="12">Terrain/deciduous-hires.png</texture>
      <texture n="14">Terrain/grain_texture.png</texture>
      <texture n="15">Terrain/airport_grass2.png</texture>
    </texture-set>
    <parameters>
   <transition_model>0.8</transition_model>
   <hires_overlay_bias>0.0</hires_overlay_bias>
    </parameters>

    <object-mask>Terrain/rice1.mask.png</object-mask>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.3</rolling-friction>
    <bumpiness>0.6</bumpiness>
    <load-resistance>1e30</load-resistance>
    <object-group include="Materials/base/farm-buildings.xml"/>
    <wood-coverage>5000.0</wood-coverage>
    <tree-texture>Trees/mixed-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>20.0</tree-height-m>
    <tree-width-m>12.0</tree-width-m>
  </material>
 
  <material>
    <effect>Effects/crop</effect>
    <name>MixedCropPastureCover</name>
    <name>MixedCrop</name>
    <name>ComplexCrop</name>
    <texture-set>
      <texture>Terrain/marsh4a.png</texture>
      <texture n="11">Terrain/airport.png</texture>
      <texture n="12">Terrain/deciduous-hires.png</texture>
      <texture n="14">Terrain/grain_texture.png</texture>
      <texture n="15">Terrain/airport_grass2.png</texture>
    </texture-set>
    <parameters>
   <transition_model>0.8</transition_model>
   <hires_overlay_bias>0</hires_overlay_bias>
    </parameters>
    <object-mask>Terrain/deciduous-hires_mask.png</object-mask>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.1</rolling-friction>
    <bumpiness>0.7</bumpiness>
    <load-resistance>1e30</load-resistance>
    <wood-coverage>0</wood-coverage>
    <tree-texture>Trees/mixed-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>20.0</tree-height-m>
    <tree-width-m>12.0</tree-width-m>
  </material>

  <material>
    <name>Grassland</name>
    <name>DryCropPastureCover</name>
    <name>DryCrop</name>
    <name>GreenSpace</name>
    <name>ShrubCover</name>
    <name>ShrubGrassCover</name>
    <name>ScrubCover</name>
    <name>ScrubSclerophyllous</name>
    <texture-set>
      <texture>Terrain/pampas-grass-hires.png</texture>
      <texture n="11">Terrain/airport.png</texture>
      <texture n="12">Terrain/deciduous-hires.png</texture>
      <texture n="14">Terrain/grain_texture.png</texture>
      <texture n="15">Terrain/airport_grass2.png</texture>
    </texture-set>
    <parameters>
   <transition_model>0.8</transition_model>
   <hires_overlay_bias>0.0</hires_overlay_bias>
    </parameters>

    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.1</rolling-friction>
    <bumpiness>0.7</bumpiness>
    <load-resistance>1e30</load-resistance>
 
    <wood-coverage>50000.0</wood-coverage>
    <tree-texture>Trees/mixed-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>20.0</tree-height-m>
    <tree-width-m>12.0</tree-width-m>   

  </material> 

  <material>
    <effect>Effects/agriculture</effect>
    <tree-effect>Effects/tree-european-deciduous</tree-effect>
    <name>DeciduousBroadCover</name>
    <name>DeciduousForest</name>
    <name>Bog</name>
    <name>Heath</name>
    <name>EvergreenBroadCover</name>
    <name>EvergreenForest</name>
    <texture-set>
      <texture>Terrain/deciduous-hires-autumn.png</texture>
      <texture n="20">Terrain/mixedforest-hires-autumn.png</texture>
    </texture-set>
    <parameters>
      <max_overlay_height>2.0</max_overlay_height>
      <overlay_hardness>0.0</overlay_hardness>
      <overlay_density>1.0</overlay_density>
      <overlay_autumn_flag>1</overlay_autumn_flag>
      <overlay_brightness_top>1.4</overlay_brightness_top>
      <overlay_brightness_bottom>0.6</overlay_brightness_bottom>
      <rotation_flag>1</rotation_flag>
      <rotation_scale>2000.0</rotation_scale>
    </parameters>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>10000000.0</light-coverage>
    <wood-coverage>4000.0</wood-coverage>
    <tree-texture>Trees/deciduous-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>25.0</tree-height-m>
    <tree-width-m>15.0</tree-width-m>
    <rolling-friction>1</rolling-friction>
    <bumpiness>0.85</bumpiness>
  </material>

  <material>
    <name>ShrubCover</name>
    <name>ShrubGrassCover</name>
    <name>ScrubCover</name>
    <name>Scrub</name>
    <name>Sclerophyllous</name>
    <texture-set>
      <texture>Terrain/pampas-grass-hires.png</texture>
      <texture n="11">Terrain/airport.png</texture>
      <texture n="12">Terrain/deciduous-hires.png</texture>
      <texture n="14">Terrain/grain_texture.png</texture>
      <texture n="15">Terrain/airport_grass2.png</texture>
    </texture-set>
    <parameters>
   <transition_model>0.9</transition_model>
   <hires_overlay_bias>0.0</hires_overlay_bias>
    </parameters>
    <object-mask>Terrain/deciduous-hires.png</object-mask>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.1</rolling-friction>
    <bumpiness>0.7</bumpiness>
    <load-resistance>1e30</load-resistance>
 
    <wood-coverage>10000.0</wood-coverage>
    <tree-texture>Trees/mixed-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>20.0</tree-height-m>
    <tree-width-m>12.0</tree-width-m>   
  </material> 

</PropertyList>
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1499
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: New Asia regional materials

Postby Richard » Mon Apr 29, 2019 9:26 am

V12 wrote in Sun Apr 28, 2019 3:30 pm:Final problem solved :


Thanks for your efforts; it's a big improvement just tested it myself; it seems that the material system is quite powerful when used properly; I'll have to try and understand it better.

Do you want me to push this to FGData; or will you raise a pull request.
Richard
 
Posts: 708
Joined: Sun Nov 02, 2014 10:17 pm
Version: Git
OS: Win10

Re: New Asia regional materials

Postby V12 » Mon Apr 29, 2019 11:58 am

Please, push it to the FGDATA.
Yes, material system is very powerfull. But needs correct input data (landclasses in the Asia are poor - pastures at the top of the hills, etc. ) and correct use that data (and this was problem - not used any detiling techniques, minimal use of the gradient textures, etc.). I will check european materials, on many places You can see repeating tiles or terrain fragments too :(

Image
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1499
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: New Asia regional materials

Postby Johan G » Mon Apr 29, 2019 12:23 pm

V12 wrote in Mon Apr 29, 2019 11:58 am:[...] pastures at the top of the hills [...]

Depending on the slope, that might not be so odd. In some mountainous parts of Sweden people would even less than 100 years ago live in valleys during the winter and when the spring came some of the women would move with the cows, sheep, goats etc up to hill tops and southern slopes and move back in the fall. The reason was that the pastures up on hills and south facing slopes would get a lot more sun and would grow a lot more, resulting in more milk and meat.
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Johan G
Moderator
 
Posts: 5513
Joined: Fri Aug 06, 2010 5:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 3.0.0
OS: Windows 7, 32 bit

Re: New Asia regional materials

Postby V12 » Mon Apr 29, 2019 2:16 pm

Yes, I know that, it should be OK in the reality, on Google photomap around Paro You will see something like terraced fields, not pastures. And in FG pasture on the top of hill is very strange looking - for example check https://i.imgur.com/Ak9zcPS.jpg. When I use agricultural effect on that material, detiling is perfect on the large flatlands, but on steep slopes overlay texture driven by gradient with applied agricultural effect doesn't work. When I disabled agroeffect and used overlays and hi-res textures, detiling on large flat places was not optimal. Result is compromise between reality and eye - friendly look.

Now working on Europe material definition, I made only small changes focused to detiling flatland textures. Here is definition file europe.xml :

Code: Select all
<?xml version="1.0"?>
<!-- Regional definitions for Europe -->
<PropertyList>
  <name>Europe</name>
  <area>
    <lon1>2.0</lon1>
    <lon2>40.0</lon2>
    <lat1>35.0</lat1>
    <lat2>90.0</lat2>
  </area>

  <area>
    <lon1>-20.0</lon1>
    <lon2>40.0</lon2>
    <lat1>35.0</lat1>
    <lat2>49.8</lat2>
  </area>

  <condition>
    <equals>
      <property>sim/startup/season</property>
      <value>summer</value>
    </equals>
  </condition>

   <material>
    <name>BarrenCover</name>
    <name>Dirt</name>
    <name>OpenMining</name>
    <name>Rock</name>
    <name>Dump</name>
    <effect>Effects/rock</effect>
    <texture-set>
      <texture>Terrain/rock.png</texture>
      <texture n="11">Terrain/grass_hires.png</texture>
      <texture n="12">Terrain/rock_alt.png</texture>
      <texture n="13">Terrain/rock.png</texture>
      <texture n="14">Terrain/grain_texture.png</texture>
    </texture-set>
    <parameters>
      <grain_strength>0.7</grain_strength>
      <transition_model>0.3</transition_model>
      <hires_overlay_bias>-0.2</hires_overlay_bias>
      <overlay-alpha type="float">0.4</overlay-alpha>
      <overlay-bias type="float">0.0</overlay-bias>
      <contrast type="float">1.0</contrast>
      <crack-depth type="float">0.6</crack-depth>
      <crack-pattern-stretch type="float">7.0</crack-pattern-stretch>
      <rock-brightness type="float">1.0</rock-brightness>
      <grain-fade-power type="float">1.0</grain-fade-power>
      <rock_strata>0</rock_strata>
    </parameters>
    <xsize>1000</xsize>
    <ysize>1000</ysize>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.1</rolling-friction>
    <bumpiness>0.3</bumpiness>
  </material>

  <material>
    <effect>Effects/cropgrass</effect>
    <tree-effect>Effects/tree-european-mixed</tree-effect>
    <name>CropGrassCover</name>
    <name>CropGrass</name>
    <texture>Terrain/cropgrass-hires-autumn.png</texture>
    <object-mask>Terrain/cropgrass-hires.mask.png</object-mask>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <diffuse>
      <r>0.93</r>
      <g>0.95</g>
      <b>0.93</b>
      <a>1.0</a>
    </diffuse>
    <specular>
      <r>0.1</r>
      <g>0.12</g>
      <b>0.1</b>
      <a>1.0</a>
    </specular>
    <shininess>1.2</shininess>
    <solid>1</solid>
    <friction-factor>0.7</friction-factor>
    <rolling-friction>0.1</rolling-friction>
    <bumpiness>0.3</bumpiness>
    <load-resistance>1e30</load-resistance>
    <wood-coverage>5000.0</wood-coverage>
    <object-group include="Materials/base/farm-buildings.xml"/>
    <tree-texture>Trees/mixed-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>20.0</tree-height-m>
    <tree-width-m>12.0</tree-width-m>
  </material>

  <material>
    <name>BuiltUpCover</name>
    <name>Urban</name>
    <tree-effect>Effects/tree-european-deciduous</tree-effect>
    <effect>Effects/urban</effect>
    <texture-set>
      <texture>Terrain/18th_century_city.png</texture>
      <texture n="2">Terrain/18th_century_city-relief-light.png</texture>
    </texture-set>   
    <object-mask>Terrain/18th_century_city.mask.png</object-mask>
    <xsize>1000</xsize>
    <ysize>1000</ysize>
    <light-coverage>100000.0</light-coverage>
    <emissive>
      <r>0.05</r>
      <g>0.05</g>
      <b>0.02</b>
      <a>1.0</a>
    </emissive>
    <object-group include="Materials/base/urban-buildings.xml"/>
    <building-coverage>500.0</building-coverage>
    <building-small-ratio>0.4</building-small-ratio>
    <building-small-min-floors>3</building-small-min-floors>
    <building-small-max-width-m>30.0</building-small-max-width-m>
    <building-small-min-depth-m>10.0</building-small-min-depth-m>
    <building-small-max-depth-m>30.0</building-small-max-depth-m>
    <building-medium-ratio>0.6</building-medium-ratio>
    <building-large-ratio>0.2</building-large-ratio>
    <building-texture>Textures/buildings.png</building-texture>
    <building-lightmap>Textures/buildings-lightmap.png</building-lightmap>
    <wood-coverage>250000.0</wood-coverage>
    <tree-texture>Trees/deciduous-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>15.0</tree-height-m>
    <tree-width-m>10.0</tree-width-m>
  </material>

  <material>
    <name>Town</name>
    <name>SubUrban</name>
    <effect>Effects/urban</effect>
    <texture-set>
      <texture>Terrain/town-europe-autumn.png</texture>
      <texture n="2">Terrain/town-europe-relief-light.png</texture>
    </texture-set>   
    <object-mask>Terrain/town-europe.mask.png</object-mask>
    <xsize>1024</xsize>
    <ysize>1024</ysize>
    <light-coverage>100000.0</light-coverage>
    <emissive>
      <r>0.05</r>
      <g>0.05</g>
      <b>0.02</b>
      <a>1.0</a>
    </emissive>
    <object-group include="Materials/base/town-buildings.xml"/>
    <building-coverage>500.0</building-coverage>
    <building-small-ratio>0.9</building-small-ratio>
    <building-medium-ratio>0.1</building-medium-ratio>
    <building-large-ratio>0.0</building-large-ratio>
    <building-medium-max-floors>4</building-medium-max-floors>
    <building-texture>Textures/buildings.png</building-texture>
    <building-lightmap>Textures/buildings-lightmap.png</building-lightmap>
    <wood-coverage>1000.0</wood-coverage>
    <tree-texture>Trees/deciduous-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>15.0</tree-height-m>
    <tree-width-m>10.0</tree-width-m>
  </material>

  <material>
    <name>Marsh</name>
    <name>FloodLand</name>
    <name>SaltMarsh</name>
    <name>HerbWetlandCover</name>
    <name>WoodedWetlandCover</name>
    <texture>Terrain/marsh2a.png</texture>
    <texture>Terrain/marsh3a.png</texture>
    <texture>Terrain/marsh4a.png</texture>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <solid>1</solid>
    <light-coverage>40000000.0</light-coverage>
    <friction-factor>0.8</friction-factor>
    <rolling-friction>0.3</rolling-friction>
    <bumpiness>0.2</bumpiness>
    <load-resistance>1e30</load-resistance>
  </material>

  <material>
    <name>Littoral</name>
    <effect>Effects/water</effect>
    <texture>Terrain/tidal.png</texture>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <solid>1</solid>
    <light-coverage>40000000.0</light-coverage>
    <friction-factor>0.8</friction-factor>
    <rolling-friction>0.3</rolling-friction>
    <bumpiness>0.2</bumpiness>
    <load-resistance>1e30</load-resistance>
  </material>

  <material>
    <effect>Effects/agriculture</effect>
    <name>MixedCropPastureCover</name>
    <name>MixedCrop</name>
    <name>ComplexCrop</name>
    <texture>Terrain/irrcrop-europe-autumn.png</texture>
    <parameters>
      <rotation_flag>1</rotation_flag>
      <rotation_scale>2000.0</rotation_scale>
    </parameters>
    <object-mask>Terrain/irrcrop-europe.mask.png</object-mask>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.1</rolling-friction>
    <bumpiness>0.7</bumpiness>
    <load-resistance>1e30</load-resistance>
    <object-group include="Materials/base/farm-buildings.xml"/>
  </material>

  <material>
    <effect>Effects/agriculture</effect>
    <name>IrrCropPastureCover</name>
    <name>IrrCrop</name>
    <name>Orchard</name>
    <name>Olives</name>
    <name>Vineyard</name>
    <name>Rice</name>
   
    <texture-set>
       <texture>Terrain/irrcrop-europe-autumn.png</texture>
       <texture n="16">Terrain/irrcrop-europe-autumn.png</texture>
    </texture-set>
    <parameters>
      <rotation_flag>1</rotation_flag>
      <rotation_scale>2000.0</rotation_scale>
      <overlay_fraction>0.5</overlay_fraction>
      <overlay_scale>1000.0</overlay_scale>
      <distortion_factor>0.3</distortion_factor>
    </parameters>

    <object-mask>Terrain/irrcrop-europe.mask.png</object-mask>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.3</rolling-friction>
    <bumpiness>0.6</bumpiness>
    <load-resistance>1e30</load-resistance>
    <object-group include="Materials/base/farm-buildings.xml"/>
  </material>

    <material>
    <effect>Effects/terrain-overlay</effect>
    <tree-effect>Effects/tree-european-deciduous</tree-effect>
    <name>DeciduousBroadCover</name>
    <name>DeciduousForest</name>
    <name>Bog</name>
    <name>Heath</name>
    <texture-set>
      <texture>Terrain/deciduous-hires-autumn.png</texture>
      <texture n="20">Terrain/mixedforest-hires-autumn.png</texture>
    </texture-set>
    <parameters>
      <max_overlay_height>2.0</max_overlay_height>
      <overlay_hardness>0.0</overlay_hardness>
      <overlay_density>1.0</overlay_density>
      <overlay_autumn_flag>1</overlay_autumn_flag>
      <overlay_brightness_top>1.4</overlay_brightness_top>
      <overlay_brightness_bottom>0.6</overlay_brightness_bottom>
    </parameters>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>10000000.0</light-coverage>
    <wood-coverage>4000.0</wood-coverage>
    <tree-texture>Trees/deciduous-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>25.0</tree-height-m>
    <tree-width-m>15.0</tree-width-m>
    <rolling-friction>1</rolling-friction>
    <bumpiness>0.85</bumpiness>
  </material>

   <material>
    <effect>Effects/terrain-overlay</effect>
    <tree-effect>Effects/tree-european-mixed</tree-effect>
    <name>MixedForestCover</name>
    <name>MixedForest</name>
    <name>RainForest</name>
    <texture-set>
     <texture>Terrain/mixedforest-hires-autumn.png</texture>
     <texture n="12">Terrain/rock.png</texture>
     <texture n="15">Terrain/rock.png</texture>
     <texture n="20">Terrain/mixedforest-hires-autumn.png</texture>
     </texture-set>
     <parameters>
      <hires_overlay_bias>-0.1</hires_overlay_bias>
      <transition_model>0.9</transition_model>
      <dot_density>0.2</dot_density>
      <max_overlay_height>2.0</max_overlay_height>
      <overlay_hardness>0.0</overlay_hardness>
      <overlay_density>1.0</overlay_density>
      <overlay_autumn_flag>1</overlay_autumn_flag>
      <overlay_brightness_top>1.4</overlay_brightness_top>
      <overlay_brightness_bottom>0.6</overlay_brightness_bottom>
    </parameters>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>5000000.0</light-coverage>
    <wood-coverage>4000.0</wood-coverage>
    <tree-texture>Trees/mixed-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>25.0</tree-height-m>
    <tree-width-m>15.0</tree-width-m>
    <rolling-friction>1</rolling-friction>
    <bumpiness>0.95</bumpiness>
  </material> 
 
  <material>
    <name>EvergreenBroadCover</name>
    <name>EvergreenForest</name>
    <effect>Effects/terrain-overlay</effect>
    <texture-set>
     <texture>Terrain/forest1a.png</texture>
      <texture n="11">Terrain/grass_hires.png</texture>
      <texture n="12">Terrain/rock.png</texture>
      <texture n="15">Terrain/rock.png</texture>
      <texture n="20">Terrain/mixedforest-hires.png</texture>
    </texture-set>
    <parameters>
      <hires_overlay_bias>-0.1</hires_overlay_bias>
      <transition_model>0.9</transition_model>
      <dot_density>0.2</dot_density>
      <max_overlay_height>2.0</max_overlay_height>
      <overlay_hardness>0.0</overlay_hardness>
      <overlay_density>1.0</overlay_density>
      <overlay_autumn_flag>1</overlay_autumn_flag>
      <overlay_brightness_top>1.4</overlay_brightness_top>
      <overlay_brightness_bottom>0.6</overlay_brightness_bottom>
    </parameters>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>10000000.0</light-coverage>
    <wood-coverage>4000.0</wood-coverage>
    <tree-texture>Trees/coniferous-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>25.0</tree-height-m>
    <tree-width-m>18.0</tree-width-m>
    <rolling-friction>1</rolling-friction>
    <bumpiness>1</bumpiness>
   </material> 
   
  <material>
    <effect>Effects/terrain-overlay</effect>
    <name>Grassland</name>
    <texture-set>
     <texture>Terrain/dry_pasture4.png</texture>
     <texture n="12">Terrain/tundra-hawaii-green-autumn.png</texture>
     <texture n="20">Terrain/tundra-hawaii-green.png</texture>   
    </texture-set>
    <parameters>
      <max_overlay_height>0.2</max_overlay_height>
      <overlay_hardness>0.0</overlay_hardness>
      <overlay_density>1.0</overlay_density>
      <overlay_autumn_flag>1</overlay_autumn_flag>
      <overlay_brightness_top>1.4</overlay_brightness_top>
      <overlay_brightness_bottom>0.6</overlay_brightness_bottom>   
    </parameters>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <diffuse>
      <r>0.93</r>
      <g>0.95</g>
      <b>0.93</b>
      <a>1.0</a>
    </diffuse>
    <specular>
      <r>0.1</r>
      <g>0.12</g>
      <b>0.1</b>
      <a>1.0</a>
    </specular>
    <shininess>1.2</shininess>
    <solid>1</solid>
    <friction-factor>0.7</friction-factor>
    <rolling-friction>0.1</rolling-friction>
    <bumpiness>0.3</bumpiness>
    <load-resistance>1e30</load-resistance>
    <wood-coverage>150000.0</wood-coverage>
    <tree-texture>Trees/mixed-alt.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>20.0</tree-height-m>
    <tree-width-m>12.0</tree-width-m>
  </material>   

  <material>
    <effect>Effects/agriculture</effect>
    <name>DryCropPastureCover</name>
    <name>DryCrop</name>
    <name>Greenspace</name>
   
    <texture-set>
       <texture>Terrain/drycrop4.png</texture>
       <texture n="16">Terrain/drycrop3.png</texture>
    </texture-set>

    <parameters>
      <rotation_flag>1</rotation_flag>
      <rotation_scale>2000.0</rotation_scale>
      <overlay_fraction>0.5</overlay_fraction>
      <overlay_scale>1000.0</overlay_scale>
      <distortion_factor>1</distortion_factor>
    </parameters>

    <object-mask>Terrain/irrcrop-europe.mask.png</object-mask>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.3</rolling-friction>
    <bumpiness>0.6</bumpiness>
    <load-resistance>1e30</load-resistance>
    <object-group include="Materials/base/farm-buildings.xml"/>
  </material>


  <material>
    <effect>Effects/agriculture</effect>
    <name>CropGrassCover</name>
    <name>CropGrass</name>
   
    <texture-set>
       <texture>Terrain/cropgrass-hires-autumn.png</texture>
       <texture n="16">Terrain/cropgrass-hires-autumn.png</texture>
    </texture-set>

    <parameters>
      <rotation_flag>1</rotation_flag>
      <rotation_scale>2000.0</rotation_scale>
      <overlay_fraction>0.5</overlay_fraction>
      <overlay_scale>1000.0</overlay_scale>
      <distortion_factor>1</distortion_factor>
    </parameters>

    <object-mask>Terrain/irrcrop-europe.mask.png</object-mask>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <light-coverage>2000000.0</light-coverage>
    <solid>1</solid>
    <friction-factor>0.9</friction-factor>
    <rolling-friction>0.3</rolling-friction>
    <bumpiness>0.6</bumpiness>
    <load-resistance>1e30</load-resistance>
    <object-group include="Materials/base/farm-buildings.xml"/>
  </material>

  <material>
    <effect>Effects/landmass-scrub</effect>
    <name>ShrubCover</name>
    <name>ShrubGrassCover</name>
    <name>ScrubCover</name>
    <name>Scrub</name>
    <name>Sclerophyllous</name>
    <texture-set>
      <texture>Terrain/shrub1-autumn.png</texture>
      <texture n="11">Terrain/grass_hires.png</texture>
      <texture n="12">Terrain/dirtrock.png</texture>
      <texture n="12">Terrain/dirtrock.png</texture>
      <texture n="14">Terrain/grain_texture.png</texture>
      <texture n="15">Terrain/airport_grass2.png</texture>
    </texture-set>
    <xsize>2000</xsize>
    <ysize>2000</ysize>
    <diffuse>
      <r>0.86</r>
      <g>0.86</g>
      <b>0.86</b>
      <a>1.0</a>
    </diffuse>
    <specular>
      <r>0.1</r>
      <g>0.1</g>
      <b>0.1</b>
      <a>1.0</a>
    </specular>
    <shininess>1.2</shininess>
    <light-coverage>20000000.0</light-coverage>
    <wood-coverage>2000.0</wood-coverage>
    <tree-texture>Trees/mixed-shrub.png</tree-texture>
    <tree-varieties>8</tree-varieties>
    <tree-height-m>5.0</tree-height-m>
    <tree-width-m>12.0</tree-width-m>
    <rolling-friction>0.6</rolling-friction>
    <bumpiness>0.4</bumpiness>
  </material>

</PropertyList>

Please test it someone.
Thank You.
Last edited by V12 on Mon Apr 29, 2019 2:59 pm, edited 1 time in total.
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1499
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: New Asia regional materials

Postby Thorsten » Mon Apr 29, 2019 2:33 pm

Please test Europe thoroughly and post comparison info - several people have worked on it, it needs to do rather different things in different regions there (Italy is rather different from Germany or Finland), it has working seasonal changes which is very easily screwed up and generally it is pretty likely that in improving one thing, you'll make another worse.

Asia is easy game because virtually nothing has been done before - Europe is quite a different beast with lots of work already invested. I'm rather cautious in merging any Europe changes.
Thorsten
 
Posts: 10984
Joined: Mon Nov 02, 2009 8:33 am

Re: New Asia regional materials

Postby V12 » Mon Apr 29, 2019 3:00 pm

I know. I want use only detiling techniques on flatland textures by agriculture efect without texture replacements.
Fly high, fly fast - fly Concorde !
User avatar
V12
 
Posts: 1499
Joined: Thu Jan 12, 2017 4:27 pm
Location: LZIB
Callsign: BAWV12

Re: New Asia regional materials

Postby legoboyvdlp » Mon Apr 29, 2019 4:00 pm

Is this error in the new materials or elsewhere?
Cannot find texture "Terrain/deciduous-hires_mask.png" in Textures folders.
User avatar
legoboyvdlp
 
Posts: 7007
Joined: Sat Jul 26, 2014 1:28 am
Callsign: YV-LEGO
Version: 2018.3.1
OS: Windows 10 HP

Next

Return to Scenery

Who is online

Users browsing this forum: No registered users and 2 guests