Math Combine compared to Math CHOP?

There’s a really good chance this is a user generated error. I’m trying to convert a CHOP Cartesian movement to POPs and I’m finding the Math doesn’t produce the same results from the CHOP network.

I have MouseIn feeding normalized values to an inclination/azimuth and a radius of 1. Conversion from Degrees to Rads looks fine, but the trouble starts when I convert the sin(inclinationRad). My working CHOP value of inclinationSin is 0.1394 but the output from the MathCombine POP is 0.00244.

I’ve tried this a few ways, breaking down the math into individual steps, but I can’t seem to make the equations align between CHOP and POP. Is it something obvious that I’m doing wrong?

TOE file is available here: sphericalmovement.toe - Google Drive

Hi Brent,

See attached for edited toe where the two POP solutions match the CHOP version.
I think the main issue was that all Math POPs expect degrees for trigonometry operations.

Maybe we should add it to the label to clear confusion (see Math POP gives unexpected results - #2)

Otherwise I did notice some mistakes in the attributes you selected in the Scopes.

Last thing that might not be relevant if you left the timeline running is that the POP to DAT were set to next frame download (the default). If you were to pause the timeline, the results would have been one frame behind compared to the CHOPs

sphericalmovementFix.toe (6.5 KB)

I hope that clarifies things, let us know if you have more questions!

1 Like

Thank you! This makes sense to me. Just going through the file now.

@vincentDev Playing around with Binaural Audio a bit, used the UniqueID from the points to perform a lookup against a Pentatonic Scale frequency DAT, summed the frequencies, and played an audio oscillator to a Null corresponding with the cartesian position of the cursor. Felt the pops could contain interesting data to inform an audio interface.

Thanks again for your help! I spotted the issue with the scopes.

The upcoming Alpha 6 (polishing it up now) will have an Angle Units menu on the Math, Math Mix and Math Combine POPs.