microsoft / AirSim

Open source simulator for autonomous vehicles built on Unreal Engine / Unity, from Microsoft AI & Research
https://microsoft.github.io/AirSim/
Other
16.52k stars 4.6k forks source link

Unreal Engine console variables do not affect airsim cameras #4966

Open Templarrr opened 4 months ago

Templarrr commented 4 months ago

Bug report

What's the issue you encountered?

Rendering for airsim cameras placed via settings.json seems to be unaffected by Unreal Engine parameters, only the main window camera is. Simplest example - I've reset all the scalability settings to the minimum by adding in DefaultEngine.ini

[ConsoleVariables]
sg.ShadowQuality=0
sg.AntiAliasingQuality=0
sg.EffectsQuality=0
sg.PostProcessQuality=0
sg.ResolutionQuality=0
sg.TextureQuality=0

And here is what I see on launch - main window as expected looks terrible, but all cameras are still high quality. And the results I'm getting via API is high quality as well.

image

Is there a way to control cameras rendering?

Settings

https://gist.github.com/Templarrr/e2371ff92d183da2126f56effdc33546

How can the issue be reproduced?

  1. Use my settings.json
  2. Add section above to DefaultEngine.ini
  3. Launch and enable cameras, observe them unaffected

Include full error message in text form

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