POV-Ray : Newsgroups : povray.general : Help! Eyelashes: Trace? : Re: Help! Eyelashes: Trace? Server Time
1 Aug 2024 12:25:34 EDT (-0400)
  Re: Help! Eyelashes: Trace?  
From: Nekar Xenos
Date: 15 Oct 2005 11:30:00
Message: <web.43511fd96c22d3088602b380@news.povray.org>
> Hi Nekar,
>
> I don't know of a simple way, though someone with a better feel for blobs
> may be able to tell you how to calculate where the boundary comes.
>
> You're right that it can be done with Trace. There's probably loads of ways
> to approach it, but I would suggest identifying a series of start points
> that would form an arc a short distance outside an eyelid as you look down
> from above.
> If you select a height that aligns with your negative strength cylinder,
> then it should be level with the opening. You could then send out a series
> of traces from each start point, scanning vertically to find the two
> intersection points closest to that start point (one above the horizontal,
> one  below).
>
> I would then store the upper eye line positions in an array and the normals
> in a second array and use a loop to position eye lashes uniformly along the
> line. I've got SDL to do this last little bit (the easy bit) if you're
> interested.
>
> Regards,
> Chris B.

Thanks, this is roughly along the lines that I tried, but it looks like what
I really need here is a mathematical formula to determine where the
positive and negative blobs meet.

Regards,
Nekar Xenos


Post a reply to this message

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