POV-Ray : Newsgroups : povray.general : Can't Figure out trace() : Re: Can't Figure out trace() Server Time
19 Nov 2024 07:26:00 EST (-0500)
  Re: Can't Figure out trace()  
From: How Camp
Date: 5 Apr 2002 21:52:50
Message: <3cae6302@news.povray.org>
"Christopher James Huff" <chr### [at] maccom> wrote in message
news:chr### [at] netplexaussieorg...

> The trace() function only traces against the shape you give it. By
> declaring it and then using "object{MySphere translate <3,3,3>}" you are
> putting a copy of it into the scene and translating the copy...trace()
> knows nothing about this and only tests the version you passed to it.
> If you want to test multiple objects, you need to put them in a union
> and pass that union to the trace() function.

Ah, thank you all.  This makes much more sense.  And, of course, it works
beautifully.

- How


Post a reply to this message

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