|
![](/i/fill.gif) |
Ok; very good then. I know someone has already made something of this sort
here...and I have seen a number of c# versions.
My snow/icicle macro already uses trace and inside, but I was quite
unaware that a point was a valid parameter of the inside method; I thought
that it only accepted objects. I guess pov has overloads too. ;)
I have noticed a pattern...almost everything I want to do with a computer
involves complicated stuff that hasn't been implemented yet lol! ;)
Ian
On Sat, 11 Dec 2010 05:07:45 -0500, Warp <war### [at] tag povray org> wrote:
> [GDS|Entropy] <gdsHYentropyAThotmailDTcom> wrote:
>> 2) Adaptively convert to mesh object (triangle or quadrangle or whatever
>> gives the best results at the best time based on geometry)
>
> Tesselation is a hard problem. Blobs are relatively easy to tesselate
> (because they are finite and don't contain hard edges), but the
> tesselation
> algorithm itself is non-trivial. The so-called marching triangles
> algorithm
> is probably the best one, so you might search for that (but, as said, be
> aware that it's a complicated algorithm). In your case the algorithm will
> have to be implemented in POV-Ray SDL.
>
> You can use the inside() function to determine if a point is inside or
> outside an object (eg. your blob) and the trace() function to find the
> surface. These can probably be used in the tesselation algorithm.
>
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
Post a reply to this message
|
![](/i/fill.gif) |