TimmHess / UnrealImageCapture

A small tutorial repository on capturing images with semantic annotation from UnrealEngine to disk.
MIT License
225 stars 51 forks source link

The image captured has lower quality than the image rendered in Game Play. #25

Open stevechaw opened 1 year ago

stevechaw commented 1 year ago

I use a camera actor, and attached a SceneCaptured2D component, and use CamereCaptureToDisk plugin. I can save images while game playing, but the quality of saved image is much lower than the Game Play shows. How to adjust the rendering settings of this plugin?

TimmHess commented 1 year ago

Hey, what do you mean by "quality of the saved image is lower"? Are you able to provide screenshots maybe? A while ago there was this issue #11 - probably it will not help you but just in case.

stevechaw commented 1 year ago

This is the metahuman I use, the hair disappear when the head move fast. The hair is normal in the Game Play show. Any hint will be appreciated! img_000050 img_000055

stevechaw commented 1 year ago

How to enable the global illumination? I set this in the code, but it doesn't work. B80B5B83-4A2B-4615-9A9A-5DBA4FAC388F

TimmHess commented 1 year ago

Sorry for getting back a bit sparse. Unfortunately, I cannot access my main machine properly currently which is why I can't test. Is it possible to slow your simulation, e.g. via time-dilation? It's ugly but maybe a quick fix or at least a quick check whether this gets the data properly. In case it has something to do with a rendering feature that relies on temporal data a lot I imagine this could work. Regarding the ShowFlags, because of the (also ugly) state of the repo test code.. did you check that you are indeed in the right file? Maybe you can add a UE_LOG after manipulating the flags to see that it was processed.

stevechaw commented 1 year ago

Thanks for your replay, I will try it later.