Open AleBar92 opened 6 years ago
What error did you get when you tried this?
This is the basic usage of unrealcv and we use it in this way almost everyday.
I can't take an image. it seems it doesn't manage to save any photo of the scene. Where can I look for the saved image? I searched it in the project folder but I can't found it. Thank for the help
In the PIE mode, the image is usually saved to the UE4 editor binary path, which is C:\Program Files\Epic Games\UE_4.16\Engine\Binaries\Win64
in my computer.
Thank you, I found it. Is there a way to change the destination folder??
You can change the destination folder by replacing the filename with an absolute path (worked in my case).
For example (on Windows):
res = client.request('vget /camera/1/lit C:\\Users\\[username]\\Desktop\\test_capture.png')
But I want to point out that the output from UnrealCV is misleading at this point. _The image is saved to C:/Program Files/Epic Games/UE4.16/Engine/Binaries/Win64/C:/ When I issued the command above the output on console still states that the picture is saved at the default location, but it is saved at the given location nonetheless It seems like a piece of the given path is concatenated after behind the default path.
Is it possible to save image directly from the Play In Editor viewport of Unreal Editor with the plugin installed? I notice that I can connect from a python client to the PIE and use some of the command but I can't save any image when a I insert the command "vget /camera/0/lit lit.png".
I hope you can understand what I wrote. Thank You very much in advance