Technical‎ > ‎Houdini‎ > ‎Isosurface‎ > ‎

Primitive

Cone:

1-(sqrt(pow($X, 2) + pow($Z,2)) + $Y)
Cube:

max( max( $Y*$Y-1, $X*$X-1 ), $Z*$Z-1 )
Pyramide:

$Z-4+(abs($X)+abs($Y))*3
Octahedron:

abs($X) + abs($Y) + abs($Z) - 1
Sphere:

$X*$X + $Y*$Y + $Z*$Z - 1
Spiral:

pow($X-ch("r2")*sin(ch("o")*$Z),ch("n")) + pow($Y-ch("r2")*cos(ch("o")*$Z),ch("n")) - pow(ch("r1"),ch("n"))

Where r2, o, n and floating parameters.
Tetrahedron:

max( $Z-2+tan(deg($PI/3))*abs($X)  ,  tan(deg($PI/3))*abs($Y)-$Z-2  )
Torus:

(sqrt($X*$X+$Z*$Z)-0.5) * (sqrt($X*$X+$Z*$Z)-0.5) + $Y*$Y - (0.2*0.2)
Cylinder:

$X*$X + $Z*$Z - 1


Comments