Skip to content

Inconsistent Lighting and Shadow Effects in RViz When Using Packed .sh File Compared to Scene Window #133

@Hangero

Description

@Hangero

Bug report

  • AirSim Version/#commit: airsim==1.8.1, Colosseum ue-5.3
  • UE/Unity version: UE5.3
  • autopilot version:
  • OS Version: Ubuntu 20.04

What's the issue you encountered?

When I export a scene to a .sh file and run it, the lighting and shadow effects in the scene window appear normal. However, when I run rviz and subscribe to the corresponding RGB image from the camera, the lighting and shadow effects are not normal.

Image Image

Settings

<script src="https://gist.github.com/Hangero/5b63b26908284f97fd55944d29670f02.js"></script>

Below is my API code. I believe it is normal because it works fine on UE4 + AirSim.

responses = client.simGetImages(
        [
            ImageRequest("front_camera", ImageType.Scene, False, False),
            ImageRequest("front_camera_depth", ImageType.DepthPerspective, True, False),
            ImageRequest("seg_camera", ImageType.Segmentation, False, False),
        ]
    )

How can the issue be reproduced?

Include full error message in text form

Has anyone else encountered this issue? I've been troubled by it for a long time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions