brax icon indicating copy to clipboard operation
brax copied to clipboard

Rendered Plane Texture Issue in Visualizer

Open bheijden opened this issue 1 year ago • 0 comments

The rendered plane in the visualizer is no longer showing the chequered pattern. It appears that the XML is ignoring the textures. Is this an intended change? Could you provide any information on which version introduced this change?

Below is the relevant XML code from ant.xml:

<asset>
  <texture builtin="gradient" height="100" rgb1="1 1 1" rgb2="0 0 0" type="skybox" width="100"/>
  <texture builtin="flat" height="1278" mark="cross" markrgb="1 1 1" name="texgeom" random="0.01" rgb1="0.8 0.6 0.4" rgb2="0.8 0.6 0.4" type="cube" width="127"/>
  <texture builtin="checker" height="100" name="texplane" rgb1="0 0 0" rgb2="0.8 0.8 0.8" type="2d" width="100"/>
  <material name="MatPlane" reflectance="0.5" shininess="1" specular="1" texrepeat="60 60" texture="texplane"/>
  <material name="geom" texture="texgeom" texuniform="true"/>
</asset>
<worldbody>
  <light cutoff="100" diffuse="1 1 1" dir="-0 0 -1.3" directional="true" exponent="1" pos="0 0 1.3" specular=".1 .1 .1"/>
  <geom conaffinity="1" condim="3" material="MatPlane" name="floor" pos="0 0 0" size="40 40 40" type="plane" rgba="0.5 0.5 0.5 1.0"/>
  ...
</worldbody>

And below the new vs old render produced by the visualizer in this colab: image image

bheijden avatar Jul 16 '24 07:07 bheijden