Too slow for recorded images on UE4.18
Now I'm trying every way that I know to increase the fps for recorded images(1280x800, cannot be changed). Now the fastest I can get is about 10hz. First I will list out all changes that I made:
- Set "ViewMode" : "NoDisplay"
- Only record scene images which means that I turned off my depth view and Segmentation view sub-windows.
- Change compressed image format to JPEG(default is png)
render_target->InitAutoFormat(settings.width, settings.height);changed torender_target->InitCustomFormat(settings.width, settings.height, PF_B8G8R8A8, true);
Now I know most of the time cost is coming from RHICmdList.ReadSurfaceData(), but just have no idea how to solve it. And from the materials that I've collect I know in the previous version of Airsim and UE doesn't go this slow, right? Since it's not proper to downgrade any one of them, Is there any other way to achieve 50+FPS?
My setup:
Windows10, Nvidia Quadro K1100M, UE4.18, Airsim latest version
Give unity version a try
@hesham-akmal Yes I did try unity version and it's indeed very fast. But unreal version has so many amazing features that I'm working on, so I still need my unreal go faster. Anyway thanks for your advice.
I was able to go from 10 to 30 images/sec, using mobile Vulkan rendering instead of DirectX. Prepare for ugly ass shaders tho
If you want to package your project with vulkan:
There's also preview in ue4
