Robotics StackExchange | Archived questions

cubemap_uri not working ?

Hello,

I tried adding a cubemap to my scene but it doesn't work. The default sky cubemap is displayed instead. I'm using Ignition Gazebo, version 6.11.0. Did I make a mistake ? here is my section:

<scene>
  <ambient>0.4 0.4 0.4 1</ambient>
  <background>0.7 0.7 0.7 1</background>
  <shadows>true</shadows>
  <grid>false</grid>
  <sky>
    <time>3</time>
    <sunrise>4</sunrise>
    <sunset>21</sunset>
    <clouds>
      <speed>1.2</speed>
      <direction>1.5</direction>
      <mean_size>0.2</mean_size>
      <humidity>0.9</humidity>
      <ambient>0.1 0.2 0.3</ambient>
    </clouds>
    <cubemap_uri>./textures/cubemap.dds</cubemap_uri>
  </sky>

</scene>

Asked by Clement on 2023-01-10 09:35:45 UTC

Comments

Answers

This is a known issue: https://github.com/gazebosim/gz-rendering/issues/663. The cubemap is hard-coded currently.

Asked by Clement on 2023-01-18 05:24:50 UTC

Comments