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 16:20:02 EDT (-0400)
  Re: Trace function for dummies? [POVray version 3.6.2]  
From: Christian Froeschlin
Date: 15 Sep 2009 19:22:26
Message: <4ab021b2$1@news.povray.org>
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.


Post a reply to this message

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