Re: The cam, the object … a trigonometric love story


Forums > Jitter > The cam, the object … a trigonometric love story
Jun 18 2012 | 9:59 am

hello maxers,
here is what I made, finally.

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.
but it works fine & make its job.

just wanted to share it with you.

Here is the jit.gen code:

-- Pasted Max Patch, click to expand. --

[attachment=196887,4056]

Attachments:
  1. aed.PNG

    aed.PNG

Subscribe to the Cycling ’74 Weekly Newsletter

Let us tell you about notable Max projects, obscure facts, and creative media artists of all kinds.

* indicates required