I want to use a Cine Camera to render the camera view to a texture target. As far as I can tell, you can only render to a texture target through a SceneCapture2d and that camera has very limited options. Do I need to modify or make a subclass of the SceneCapture2d but using the Cine Camera?
Yeah, HELPPPP! I neeeed it so badly!
Same issue here
There’s no way of doing it without modifying the engine due how render targets work in UE4.
I managed to do that however it requires to modify several engine lines of code. I have an usable UCineCameraCaptureComponent for UE4.22 (I didn’t port it to 4.23 yet), but it requires to build the Engine from source.
If anybody need it I could create a guide on how to do that.
I have the same issue. I need to render from the Cine Camera to a render target. Did you get around to creating a guide?
Hi , could you give us some insights to achieve this? Same issue here!
Please do it!
Ok, since you’re not the first who is asking me this, I will create a guide on my personal Github. I’ll update this post later today.
Hi
I was hoping you’d update this post with the required steps.
In the meantime I found your (is it yours?) guide on pastebin but unfortunately there are 2 files missing.
Could you link to your github or help us out here?
Thanks!
Yes, if you found a pastebin with 2 missing files, it’s definitely mine.
I could post my repo with my custom UCineCameraCaptureComponent however the guys from Epic have recently implemented a very easy and simple way to use a CineCamera as SceneCapture.
Just enable the Composure plugin and use the:
UFUNCTION(BlueprintCallable, Category = "Composure")
static void CopyCameraSettingsToSceneCapture(UCameraComponent* SrcCamera, USceneCaptureComponent2D* DstCaptureComponent);
It is also exposed to Blueprints, so it can be used from Blueprint scripts.
I already tested it and it works with CineCamera components. So no need to modify the engine with my code!
Thanks! It’s very useful!
Hi ,
I was trying this one out was not able to see the output from CineCamera on the RenderTexture. Would it be possible to guide how to use it?
Thanks,
I am working on that too at the moment. Seems not to work so far, I start to dig into the source code now and see if I can get it to work. Any hints and help would be appreciated
It seems to copy PostProcessing and WeightedBlendables but not CineCamera specific settings like Lens settings, Aperture, Focal Length.
Did you test the use of CineCameraComponent specific functionality, such as Manual Focus Distance? As opposed to using the super class CameraComponent functionality?
I’m finding that the CineCameraComponent specific values aren’t being utilized using this Composure function, although it is quite useful for regular CameraComponents.
Thanks for the tip.
Has anyone found a way to do this with BP yet?