|
|
Christian Froeschlin <chr### [at] chrfrde> wrote:
> Amazon_warrior wrote:
>
> > A vaguely related question: Is it possible to get POVray place an object, then
> > analyse the surface immediately around that point and place the next object at
> > a new point with specific properties (such as the highest or lowest)? If it is
> > possible, how would one go about doing it? Would something like this require a
> > ridiculous amount of render time?
>
> It requires a significant amount of parse time ... basically you use
> trace to place your first object, then bombard it with a lot of traces
> in a loop to find the lowest point (with some probability), place the
> second object and so on. Gets a lot worse if your objects have
> irregular shape and you want them to touch but not intersect.
Ok, I suspected it might. It's probably somewhat ambitious for someone who's
barely mastered the basics of the trace function, too. Happily, I have found a
handwavy solution for what I wanted to do. Thanks for your help!
Post a reply to this message
|
|