Gazebo | Ignition | Community
Ask Your Question
0

cubemap_uri not working ?

asked 2023-01-10 08:35:45 -0600

Clement gravatar image

updated 2023-01-18 04:23:56 -0600

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 <scene> 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>
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-01-18 04:24:50 -0600

Clement gravatar image

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

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2023-01-10 08:35:45 -0600

Seen: 82 times

Last updated: Jan 18