|
|
abram schrieb:
> Instead of fiddling with user-definable functions within povray I added a new
> function to povray's fnintern.cpp which allowed me to render mandelbulbs with
> povray.
Good stuff!
However, regarding the return value, note that the "threshold" parameter
in the isosurface statement is a /borderline/ value; with your
implementation, the default value will cause the isosurface to misbehave
in situations where "insideness" needs to be tested. This can easily be
fixed by using an isosurface threshold of e.g. -0.5, but I think it
would be more elegant to have the function return -1 and 1, respectively.
I'd also be curious whether rendering speed might be improved by
choosing different return values, that might give POV-Ray a hint how
close it might be to the surface. Anyone some experience with that?
Post a reply to this message
|
|