Page 1 of 1
Morph Camera
Posted: Thu Jan 28, 2021 7:44 pm
by madmandrax_1
Hi,
where do I have to attached the Octane camera tag, when I use a morph camera? The cameras to blend have different focal depths, the second one uses a target object. Thanks in advance for any help.
Re: Morph Camera
Posted: Thu Jan 28, 2021 10:04 pm
by frankmci
As I understand it, the C4D Camera Morph tool does not have direct access to all the Octane Camera data channels, so if you want the Camera Morph to drive attributes other than the spatial transformations, you need to do a little XPresso work to set it up. It should be pretty straight forward to use the CameraMorph tag's Blend attribute to drive a blend between the Focal Depth outputs of the Octane Camera nodes on each of the source cameras, then pass the results into the rendering Morph Camera. That way, the same Morph will drive both the spatial transform and the focal change in unison.
Re: Morph Camera
Posted: Tue Feb 02, 2021 4:28 pm
by madmandrax_1
Thanks. Looks like its a bit easier. In Xpresso you can fetch the Focus Distance parameter directly from the Morph Camera and send it to the Octane camera tag (attached to the Morph Camera).
Re: Morph Camera
Posted: Thu Jun 29, 2023 9:52 am
by michael.o'sullivan
Just reviving this old post, can anyone shed any light on the setup for this?
Im trying to morph between multiple cameras, that have varying focal depths on the octane tag, but the morph camera does not see these.
Can anyone shine some light on the xpresso rig that was mentioned above?
Re: Morph Camera
Posted: Thu Jul 06, 2023 7:37 pm
by frankmci
michael.o'sullivan wrote:Just reviving this old post, can anyone shed any light on the setup for this?
Im trying to morph between multiple cameras, that have varying focal depths on the octane tag, but the morph camera does not see these.
Can anyone shine some light on the xpresso rig that was mentioned above?
This may not be the most elegant solution, but it works for me.
The issue is that the C4D Camera Morph Tag does not have access to the Octane Camera Tag attributes, just the standard C4D Camera attributes. To get around this, I feed the Focal Depth from both source Octane Camera Tags into a Mix node. The mix node is driven by the Blend value of the C4D Morph Cam Tag. The output of that Mix Node then goes into the Focal Length of the Octane Morph Camera Tag.
Another way to say it is that while the C4D Morph Camera is still handling all the 3D transformations, the ExPresso Tag is taking the Blend information from the C4D Morph Cam, mixing the Octane attributes the C4D Morph Cam can't access, then feeding the results to the Octane Camera Tag on the Morph Cam.
I hope that makes sense.
Re: Morph Camera
Posted: Thu Jul 06, 2023 10:02 pm
by jayroth2020
Nice, Frank!
Re: Morph Camera
Posted: Fri Jul 07, 2023 5:28 pm
by frankmci
I was thinking about this last night. I usually only use two cameras for basic camera morph moves and that setup I shared works fine, but for multiple cameras, or even just two, there's a different way that's much more elegant: just use Driven Keys.
Set each target camera's Octane Tag Focal Depth as the Driver for the same camera's C4D Focus Distance. Let the Morph Camera do it's normal job, but then reverse the Driver/Driven relationship on it so that the C4D Focus Distance of the Morph Camera is driving the Octane Camera Tag's Focal Depth.
TargetCam01 - OctCamTag Focal Depth >>> CameraObject Focus Distance
TargetCam02 - OctCamTag Focal Depth >>> CameraObject Focus Distance
TargetCam03 - OctCamTag Focal Depth >>> CameraObject Focus Distance
TargetCam... etc.
MorphCam - CameraObject Focus Distance >>> OctCamTag Focal Depth
Very clean, and works on as many cameras as you like.
Later... Rereading this thread, I realize that's exactly what madmandrax_1 was saying back in 2021.
