Solved CENTER AN OBJECT IN THE VIEW AND MAXIMIZE ITS SIZE

I got a setup with a stationary camera. i need to keep the object centered in my view and maximize its size but i can't change the rotation / position of my camera.

what i have so far is the following:

i calculate the center of the objekt and change the offset accordingly to center the object. now if i want to zoom in my offset calculations are wrong again.

correct.PNG

fovProblem.c4d

edit:

can someone please move the thread into the right subforum?

hi,

Did you had a look at this thread the problem was almost the same (but to create render).

@ferdinand also answer to this question on Core 4D (that was a bit harder to find)

Let us know if those resource helped you or not.

Cheers,
Manuel

MAXON SDK Specialist

MAXON Registered Developer

hi,

Did you had a look at this thread the problem was almost the same (but to create render).

@ferdinand also answer to this question on Core 4D (that was a bit harder to find)

Let us know if those resource helped you or not.

Cheers,
Manuel

MAXON SDK Specialist

MAXON Registered Developer

Hello @pyr,

without any further questions or replies, we will consider this topic as solved by Monday and flag it accordingly.

Thank you for your understanding,
Ferdinand

MAXON SDK Specialist
developers.maxon.net