|
|
Am 27.04.2018 um 19:40 schrieb Sven Littkowski:
> Clipka, do you think, adding "torus" to the existing patters (spherical,
> planar, cylindrical, and boxed) of density_maps would be useful and
> possible?
There is no such thing as "patterns of density_maps"; any pattern that
can be used with a pigment_map can also be used with a density_map.
Adding a torus pattern should be possible; however, it would have to be
specified what syntax to use to parameterize it (at least the ratio
between minor and major radius should be configurable; the major radius
could be specified by scaling the pattern), and whether the pattern
should continue /ad infinitum/ like `onion`/`wood`, or rather drop to
zero like `spherical`/`cylindrical`.
Also, it is questionable whether the use case is important enough to
warrant implementing a dedicated pattern, or whether the inbuilt
`f_torus()` function (accessible via `functions.inc`) combined with a
function pattern can be considered sufficient.
Post a reply to this message
|
|