Forums > Jitter

3D cartesian to polar conversion in jitter

June 26, 2013 | 6:31 am

Dear all. I want to perform cartesian -> polar coordinate conversion in 3D (XYZ -> AED) using jitter but can’t find an obvious way to do this. Does anyone have experience of doing this please?

Failing that someone may be able to correct my method of achieving something; I want to create a 3D grid that I can shrink and expand to go from a single start point to surrounding an object. The way I tried was to plot a vector from the start point to the final resting position and scale this vector in order to control the growth of the grid. However, what this is doing is controlling the volume of the dome, and not causing it to expand along a spherical surface (almost like dragging the grid out along an arc-shaped virtual curtain rail). My solution was to work in AED differences and scale those instead but I’m sure there will be a more mathematically efficient way of doing it…

Any help is much appreciated. C


June 26, 2013 | 6:55 am

I think you’re looking for [cartopol]


June 26, 2013 | 7:07 am

As far as I’m aware cartopol only works in 2D (which makes some sense for audio use) unless I’m missing something in jit.op (which is entirely plausible…)


June 26, 2013 | 8:43 am

sorry, I didn’t read all your post.
You can use the 3dcartopol external from jasch


June 27, 2013 | 4:16 am

Great. Thanks for your help Ullrich


Viewing 5 posts - 1 through 5 (of 5 total)