Transforms a rectangle image to polar coordinates.
This operator demonstrates a lot of useful techniques that can be applied in any contexts as a generic operator. In the future, there will be a larger effort to implement these in VOPs so that they can be used on any data, and not just COPs. I have to come up with a unified method as I can't use context specific functions.
COP context has some very specific properties and functions as they use VEX, as opposed to CVEX functions. In terms of image filtering though, you have to implement your own supersampling, even if you are using fully filtered image sampling functions (finput).
The same functionality can be implemented in SOPs to work on point positions, UVs, volumes, heightfields, etc. Expect to see them after COPs are exhausted.
https://www.dropbox.com/s/u49l54ag93wh4yk/ToPolar_COP_Animatrix.otl?dl=1
https://www.dropbox.com/s/s1kqxw8pdwe3z8u/topolar.hip?dl=1