Distance Point <-> Camera
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/01/2003 at 07:50, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 6.104
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;---------
Is there a way to get the distance value of the point being rendered in the output function (Channel plugin) and the camera?I tried to use vd->dist but this seemed not to deliver the real distance.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/01/2003 at 00:59, xxxxxxxx wrote:
Just take vd->GetCameraMatrix()->GetV0() to get the camera's position and then measure the distance to vd->p.