Am 10.01.2019 um 11:58 schrieb ingo:
> Changeing the radius of the internal f_sphere function has less effect
> than I expected.
> from the source fnintern.cpp:
> DBL f_sphere(FPUContext *ctx, DBL *ptr, unsigned int) // 61
> return (-PARAM(0) + sqrt(PARAM_X * PARAM_X + PARAM_Y * PARAM_Y +
> PARAM_Z * PARAM_Z));
> maybe something like:
> return (sqrt(PARAM_X * PARAM_X + PARAM_Y * PARAM_Y + PARAM_Z *
Ingo, the things you are complaining about here have been around for ages.
- The newsgroup povray.beta-test isn't really the right place, as it is
intended for discussion about stuff that's specific to the testing of
development versions, such as new features to be tested or new bugs
found in testing of the development versions.
- As long as they are not outright bugs, changing these things is out of
the question because they would break existing scenes, period.
- With functions this is especially true, as they can be trivially
replaced by you as a user if the pre-defined ones happen to not fit your
As for this particular function, it works as advertised for the default
threshold value in isosurfaces (which is what it was designed for). For
non-default threshold values it can be argued whether its behaviour is
intuitive, but it is what it is.
Post a reply to this message