Chaos Corona Forum

Chaos Corona for 3ds Max => [Max] Bug Reporting => Topic started by: jm.okan on 2024-07-05, 11:18:24

Title: Camera physical size 's box does not rotate with camera
Post by: jm.okan on 2024-07-05, 11:18:24
Hi,
I'm trying to set up a view of a pool with the camera half in water/air.
My camera is not filming straight in X or Y world axis but it's in a corner, rotation 45° :

(https://i.ibb.co/5BZsMdN/cam1.jpg)

The problem is that the box created when you tick "Camera physical size" does not follow the camera's rotation, it stays aligned with world X and Y:

(https://i.ibb.co/6t4fDSs/cam2.jpg)

It results in the water being cut by an angle, not by a clean straight line:

(https://i.ibb.co/d2GJ6pR/cam3.jpg)

Is there a way to rotate this box? Or any alternative trick?
If instead I use Camera Clipping it cuts nicely (straight), but the water does not render correctly (no volume).

Thanks for you help :)
Title: Re: Camera physical size 's box does not rotate with camera
Post by: romullus on 2024-07-05, 13:40:17
I must admit i never tried physical size feature in Corona camera, but this behaviour looks like a bug, or at least serious flaw to me. Unless there is some issue with your setup, this report should go straight to feature request board, but let's wait for someone who's more familiar with the feature first.
Title: Re: Camera physical size 's box does not rotate with camera
Post by: jm.okan on 2024-07-16, 15:53:28
@romullus , thanks for your answer. Yep, it looks like a serious flaw...
Obiously, the closest the cam is from the water line, the less the box is visible. But if you want to see the water waves, you have to move the cam up.
It's extremely easy to replicate: Create a CoronaCam, set a Size in"Camera physical size" (tick Show in Viewport), and move the Target.
I was waiting for an answer from the Corona Team, like, is there any workaround? Will it be fixed in a future release? Or is it the expected Camera behaviour?
Thank you
Title: Re: Camera physical size 's box does not rotate with camera
Post by: Aram Avetisyan on 2024-07-17, 08:36:07
Hi,

While it is possible to find workaround with smaller physical size parameter and perpsective distortion, this is definitely a bug which is confirmed and reported now.
Thanks for bringing this up.

(Report ID=CMAX-1183)