Holiday notice: Cycling '74 will be closed Monday, October 9th. Manual authorization, support cases, and manual order processing will be delayed.

Jun 12 2012 | 4:34 pm

Hi there,
I have now my distance calculation system made using jit.gen & genexpr.
I have a global matrix which contains ALL my center points position of all my spherical objects.

BUT, I'll have some more cylindrical/line-like objects.

I'd probably need to split my matrix into 2 different matrix to fire the calculation differently :-/
Afraid of decrease of performances, but I have to try.

How would you calculate the azimut/elevation/distance of a point on a line relatively to my cam (another point) ?

It is "like" measuring a distance (and azimut/elevation) between two moving point:
- the cam itself
- a moving point corresponding to the projection of the cam on the line.

Anyone would wizard me here ...?