Robotics StackExchange | Archived questions

create randomized plane structure

When I create a ground plane, one can see where the image is repeated: image description Is there some way to create a more smooth stichin, that can be scaled.

My setup if the following:

soil.material

material vrc/soil
{
    technique
    {
        pass
        {
            ambient 0.5 0.5 0.5 1.0
            diffuse 0.5 0.5 0.5 1.0
            specular 0.4 0.4 0.4 1.0 12.5

            texture_unit
            {
                texture soil_v1.jpg
                filtering anistropic
                max_anisotropy 30
                scale 0.004 0.004
            }
        }
    }
}

image description

<?xml version="1.0" ?>
<sdf version="1.4">
  <model name="asphalt_plane">
    <static>true</static>
    <link name="link">
      <!--<collision name="collision">
        <geometry>
          <box>
            <size>200 200 0.0001</size>
          </box>
        </geometry>
      </collision>-->
      <visual name="visual">
        <cast_shadows>false</cast_shadows>
        <geometry>
          <box>
            <size>200 200 .1</size>
          </box>
        </geometry>
        <material>
          <script>
            <uri>model://soil_plane_dark/model/materials/scripts</uri>
            <uri>model://soil_plane_dark/model/materials/textures</uri>
            <name>vrc/soil</name>
          </script>
        </material>
      </visual>
    </link>
  </model>
</sdf>

Asked by mpc on 2016-08-24 10:45:35 UTC

Comments

Answers