Hey, I’m triggering an event from a Sequence while rendering, using the Movie Render Queue. In that event im trying to project a 3D point onto the 2D Screen using ProjectWorldLocationToScreen(). In the Movie Render Queue this Viewport seems to be set to 1280x720 by default. Can we change this Viewport size so that the projection is correctly calculated? I would need it to be the same size as the rendered output. In my case that would be 1920x1080. Thanks a lot!
I projected to the screen using a USceneCapture2D.
Get the ViewInfo first somewhere:
FMinimalViewInfo ViewInfo;
USceneCaptureComponent2D* CaptureComponent; //Initialize this first somewhere
CaptureComponent->GetCameraView(0.0f, ViewInfo);
then call this function to project it from WorldPos to ScreenPos:
I also ran into this and after some searching found there was a plugin project setting that solves this without any custom code required: Plugins → Movie Pipeline in Editor → Resize PIEWindow to Output Resolution.
I found even with -ForceRes set as the tooltip suggests I needed a monitor with a resolution at least equal to what I was rendering, with my 4k monitor rendering a movie at 4k I needed to disable DPI scaling and hide the windows taskbar before I clicked render or it couldn’t make the PIE Window big enough and the issue still occured.