POV-Ray : Newsgroups : povray.advanced-users : Help on isosurface - distances - other stuff... : Help on isosurface - distances - other stuff... Server Time
29 Jul 2024 16:30:21 EDT (-0400)
  Help on isosurface - distances - other stuff...  
From: Jan Walzer
Date: 12 Nov 2001 11:53:31
Message: <3beffe8b@news.povray.org>
Lets assume I have a function f(x,y,z) ...

this usually describes my isosurface ... The surface is all points, where
f(x,y,z)=0...

How can I now describe another function g(x,y,z) that describes for g(...)=0
all the
points, that have a distance d to the the surface of f() ?
I don't have any ideas 'bout the gradient of f() ... it can go from 0 to oo
(literally)...

Another Problem I have is the following:
Lets assume I have a sphere ... (OK, thats easy)
Lets assume I want to make it spikey (that's not hard)
Lets assume I want to do something with the bozo-pattern ...

function {
    sphere(....)+pattern(bozo transform{some scaling})
    }

This gives me two things ...
1) The sphere mostly looks like I wanted it ...
2) The function also contains some single "drops", that are not connected to
the sphere
   Of course, they are mathematically correct, but I want them to disappear.
I only want
   to see the parts of the surface that are directly connected to the
sphere-function...

   I have no concrete idea of how to achieve this...
   I tried something like: take the distance to the sphere and power this by
$HighValue
   before adding the pattern, but that didn't help me much, because it also
increased the
   gradient inside the sphere, and so other functions didn't work any longer
as expected ...


I know, there are specialists, experts, Iso-gurus out there, who can help me
to control these damn functions the way I want to ;)

--
Jan Walzer <jan### [at] lzernet>


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.