POV-Ray : Newsgroups : povray.beta-test : inside() doesn't accept solid meshes : Re: inside() doesn't accept solid meshes Server Time
7 Jul 2024 07:06:01 EDT (-0400)
  Re: inside() doesn't accept solid meshes  
From: Warp
Date: 28 Aug 2009 16:25:57
Message: <4a983d55@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:
> stbenge schrieb:
> > You probably already know this, and it might not even help you, but as a 
> > workaround you can make the mesh into an object pattern and test it 
> > using eval_pigment(). Or you can turn the object pattern into a function 
> > and test it directly that way. It might even be faster than using 
> > eval_pigment().

> ... or (untested) wrap it in a union all by itself?

  Putting it inside a union doesn't work, but the object pattern trick
works. Clearly there's no technical reason to forbid solid meshes as the
parameter for inside(), so it's probably just an oversight. Maybe this could
be fixed?

-- 
                                                          - Warp


Post a reply to this message

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