Gazebo | Ignition | Community
Ask Your Question

MXcreator's profile - activity

2013-03-09 08:14:06 -0500 received badge  Taxonomist
2012-12-15 05:32:16 -0500 received badge  Editor (source)
2012-12-15 05:31:36 -0500 asked a question Best way to texture ground plane?

Hello, I need a ground plane with texture on it. There have to be 2 different textures on the ground plane, if I have only one ground plane in the world file it works perfect, but as soon as I add the second plane the performance becomes really slow..

At the moment, the texture is applied with <material> tag.

Does someone know how I could fix this, or is there another way to put textures on the ground?

My planes look like this:

<!-- floor_kitchen -->
 <model:physical name="gplane2">
    <xyz>1.969 -0.5 0.00</xyz>
    <rpy>0 0 0</rpy>
    <static>true</static>

    <body:plane name="plane2">
      <geom:plane name="plane2">
        <laserRetro>2000.0</laserRetro>
        <kp>1000000.0</kp>
        <kd>1.0</kd>
        <normal>0 0 1</normal>
        <size>8.3 4.24</size>
        <material>floor_kitchen</material>
      </geom:plane>
    </body:plane>
  </model:physical>

<!-- floor_carpet -->
 <model:physical name="gplane3">
    <xyz>1.969 -5.5 0.00</xyz>
    <rpy>0 0 0</rpy>
    <static>true</static>

    <body:plane name="plane3">
      <geom:plane name="plane3">
        <laserRetro>2000.0</laserRetro>
        <kp>1000000.0</kp>
        <kd>1.0</kd>
        <normal>0 0 1</normal>
        <size>8.3 4.24</size>
        <material>carpet</material>
      </geom:plane>
    </body:plane>
  </model:physical>