POV-Ray : Newsgroups : povray.binaries.images : Patches for arbitrary topology shapes - 4 attachments : Re: Patches for arbitrary topology shapes - 4 attachments - 1 attachment - 1 attachment Server Time
14 Nov 2024 16:24:58 EST (-0500)
  Re: Patches for arbitrary topology shapes - 4 attachments - 1 attachment - 1 attachment  
From: Christoph Hormann
Date: 5 Jan 2004 10:46:24
Message: <2bdoc1-hpt.ln1@triton.imagico.de>
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

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