cartesianToPolar

cartesianToPolar

filter
cartesianToPolar
RayTK
v0.36

Convert from cartesian space to various types of polar spaces.

Parameters

  • Enable:
  • Conversion:
    • Spherical:
    • Cylindrical X:
    • Cylindrical Y:
    • Cylindrical Z:
    • Log-Cylindrical X:
    • Log-Cylindrical Y:
    • Log-Cylindrical Z:
  • Angle Unit:
    • Ratio (0..1):
    • Degrees:
    • Radians:

Inputs

  • definition_in: (required)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle