hi all,
is there an abstraction or external to transform 3D cartesian coordinates to polar ones? If you can give me a hint, you would save me the trigonometrical pain (I'm bad at this stuff).
thanks in advance.
rodrigo
Hallo, rodrigo@anorg.net hat gesagt: // rodrigo@anorg.net wrote:
is there an abstraction or external to transform 3D cartesian coordinates to polar ones? If you can give me a hint, you would save me the trigonometrical pain (I'm bad at this stuff).
Yes, cart2pol from zexy, in the CVS it's at: externals/zexy/abs/cart2pol.pd
Frank Barknecht _ ______footils.org_ __goto10.org__
On Thu, 20 Apr 2006 rodrigo@anorg.net wrote:
is there an abstraction or external to transform 3D cartesian coordinates to polar ones? If you can give me a hint, you would save me the trigonometrical pain (I'm bad at this stuff).
Three-dimensional? You mean cylindrical or spherical?
BTW no-one agrees on how to do spherical, so from one formula to another, cos and sin are often swapped, sign changes, order of arguments change, etc.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
hi there, I dropped out for a while.
On Thu, 20 Apr 2006 rodrigo@anorg.net wrote:
is there an abstraction or external to transform 3D cartesian coordinates to polar ones? If you can give me a hint, you would save me the trigonometrical pain (I'm bad at this stuff).
Three-dimensional? You mean cylindrical or spherical?
BTW no-one agrees on how to do spherical, so from one formula to another, cos and sin are often swapped, sign changes, order of arguments change, etc.
I did a little research. I meant spherical, and yes I've seen the problems with the signs and so on. I finnaly made my own abtraction and it works. Thanks for the info.
cheers rodrigo
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada
On Apr 21, 2006, at 11:05 AM, rodrigo@anorg.net wrote:
hi there, I dropped out for a while.
On Thu, 20 Apr 2006 rodrigo@anorg.net wrote:
is there an abstraction or external to transform 3D cartesian coordinates to polar ones? If you can give me a hint, you would
save me the trigonometrical pain (I'm bad at this stuff).Three-dimensional? You mean cylindrical or spherical?
BTW no-one agrees on how to do spherical, so from one formula to
another, cos and sin are often swapped, sign changes, order of arguments
change, etc.I did a little research. I meant spherical, and yes I've seen the
problems with the signs and so on. I finnaly made my own abtraction and it
works. Thanks for the info.
The zexy objects do 3 dimensions and are included with pd-extended.
.hc
"If nature has made any one thing less susceptible than all others of
exclusive property, it is the action of the thinking power called an
idea, which an individual may exclusively possess as long as he keeps
it to himself; but the moment it is divulged, it forces itself into
the possession of everyone, and the receiver cannot dispossess
himself of it."
- Thomas
Jefferson