CodexLabsLLC / Colosseum

Open source simulator for autonomous robotics built on Unreal Engine with support for Unity
https://codexlabsllc.github.io/Colosseum/
Other
335 stars 105 forks source link

Motion blur #63

Open Yasaman-Haghighi opened 1 year ago

Yasaman-Haghighi commented 1 year ago

Bug report

What's the issue you encountered?

Hello, I am simulating a fast moving car in Airsim and I am interested in rendering images with motion blur. Currently, changing motion blur amount doesn't blur the images that I render. I tried commenting "GetWorld()->GetGameViewport()->GetEngineShowFlags()->SetMotionBlur(false);" in SimHUD.cpp file and setting a maximum motion blur amount as Cosys-Airsim repo suggests. Unfortunately, these changing cannot fix my issue either. I came across this work which states that motion blur is not supported for render targets. I would highly appreciate it if you could give me hints how to solve this bug.

Settings

{ "SeeDocsAt": "https://github.com/Microsoft/AirSim/blob/main/docs/settings.md", "SettingsVersion": 1.2, "SimMode": "Car", "EngineSound": false, "PhysicsEngineName": "", "EnableCollisionPassthrogh": false,

"CameraDefaults": { "CaptureSettings": [ { "ImageType": 0, "Width": 1200, "Height": 680, "FOV_Degrees": 90, "MotionBlurAmount": 1.0 } ] },

"Recording": {
  "RecordOnMove": false,
  "RecordInterval": 0.3,
  "Enabled": true,
  "Cameras": [
  {
  "CameraName": "front_center",
  "ImageType": 0,
  "PixelsAsFloat": false,
  "Compress": true
  }
  ]     
  }

}

How can the issue be reproduced?

N/A 1. 2.

Include full error message in text form

N/A

What's better than filing an issue? Filing a pull request :).