|
|
In article <38988ac1@news.povray.org>, "Simen Kvaal"
<sim### [at] studentmatnatuiono> wrote:
> I've found a neat technique to pixellate almost any object in povray. I
> have
> uploaded the AVI to http://www.uio.no/~simenkv/pixeltorus2.avi for those
> interested to see. (Couldn't find a way to fit it under the limit.) It's
> a
> 1.2MB download, so beware ... It's just a spinning pixellated torus;
> decide
> for yourselves.
>
> I have great plans for this one!
Wild guess...(meaning the way I would do it)
You are using MegaPOV. You have a loop or more likely nested loops which
go through each possible cube position. At each point, you use the
eval_pattern() function with the object pattern to find if the point is
inside or outside the object. If it is inside, you place a cube at that
position.
--
Chris Huff
e-mail: chr### [at] yahoocom
Web page: http://chrishuff.dhs.org/
Post a reply to this message
|
|