it calculates azimuth/elevation/distance for a matrix of objects' position, relatively to the cam position & orientation.
I have a curious behaviour when cam is facing straight up or down but I guess it is the projection I'm making with vec 0. 1. 0.
I'll probably have to improve it later.
just wanted to share it with you.
Here is the jit.gen code:
– Pasted Max Patch, click to expand. –
Copy all of the following text.Then, in Max, select New From Clipboard.
Jun 18, 2012 at 9:59am #175985