POV-Ray : Newsgroups : povray.newusers : Trace function for dummies? [POVray version 3.6.2] : Re: Trace function for dummies? [POVray version 3.6.2] Server Time
5 Oct 2024 15:50:09 EDT (-0400)
  Re: Trace function for dummies? [POVray version 3.6.2]  
From: Amazon warrior
Date: 16 Sep 2009 03:40:01
Message: <web.4ab095e4d1eccc14e2ea8efe0@news.povray.org>
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

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