You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's the result of running ign gazebo thermal_camera.sdf with ign-rendering3:
Here's the result of running ign gazebo thermal_camera.sdf with ign-rendering4:
It appears that this behavior is caused by different visibility flags being assigned to non-temperature visuals. For example, if the following change is made to Ogre2ThermalCamera.cc, it shows that non-temperature visuals have a visibility flag of 0x3fffffff in ign-rendering4, but are 0x0fffffff in ign-rendering3:
Since the thermal camera's visibility flag is 0x10000000, this means that the background (which doesn't have a temperature visual) is visible in ign-rendering4, but not in ign-rendering3 (a visual can be seen by the thermal camera if the result of ANDing the visual's visibility flag with the thermal camera's visibility flag is a flag with non-zero bits).
The text was updated successfully, but these errors were encountered:
Following the thermal camera tutorial results in a different background appearance between the ign-rendering3 and ign-rendering4 branches.
Here's the result of running
![rendering3](https://user-images.githubusercontent.com/42042756/105423935-6778bf80-5c14-11eb-8302-abd055760603.png)
ign gazebo thermal_camera.sdf
withign-rendering3
:Here's the result of running
![rendering4](https://user-images.githubusercontent.com/42042756/105423946-6c3d7380-5c14-11eb-9e70-0d11cf71a809.png)
ign gazebo thermal_camera.sdf
withign-rendering4
:It appears that this behavior is caused by different visibility flags being assigned to non-temperature visuals. For example, if the following change is made to Ogre2ThermalCamera.cc, it shows that non-temperature visuals have a visibility flag of
0x3fffffff
inign-rendering4
, but are0x0fffffff
inign-rendering3
:Since the thermal camera's visibility flag is
0x10000000
, this means that the background (which doesn't have a temperature visual) is visible inign-rendering4
, but not inign-rendering3
(a visual can be seen by the thermal camera if the result ofAND
ing the visual's visibility flag with the thermal camera's visibility flag is a flag with non-zero bits).The text was updated successfully, but these errors were encountered: