gl_cartesianToPolar


Where to find it:


NodeGraph / Right Mouse Click / Add Nodes / Math / Extension Pack / C /




Description


Convert Cartesian Coordinates to Polar Coordinates


Node Ports


X

The X coordinate of the Cartesian Coordinates


Y

The Y coordinate of the Cartesian Coordinates


Node Outputs



R

Computation for Input Red channel only, saved into R, G and B channel with an Alpha of 1.0


G

Computation for Input Green channel only, saved into R, G and B channel with an Alpha of 1.0


B

Computation for Input Blue channel only, saved into R, G and B channel with an Alpha of 1.0


A

Computation for Input Alpha channel only, saved into R, G and B channel with an Alpha of 1.0




Node Properties


Inrerpolate Quadrants

Switches the algorithm for Polar Coordinate Conversion




Example