|
|
Tor Olav Kristensen wrote:
>
>>These all look very interesting, i wonder if this could be extended to a
>>system to design shapes with smooth transits, with a few elements like
>>this you could build a rounded version of any CSG made of axis-aligned
>>boxes.
>
>
> Good idea.
>
> It should certainly be possible, but I'll have to think
> about it for a while to find out how to do it.
Thinking a bit more about it: There are possible special cases where
things might get quite complicated - But it should not be too difficult
to do for a difference between two boxes for example: check every corner
of the second box if it is inside the first box and trace along all
edges. This information should be enough to build the resulting shape.
The whole thing might be easier though if you start with a analytical
tesselation algorithm (approach would be similar as drafted above with
insideness tests and traces) and then apply a subdivision algorithm and
forget about bicubic patches (and if you are even lazier you forget
about POV-SDL and model your shape in Wings3D :-)).
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 25 Oct. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|