POV-Ray : Newsgroups : povray.general : Object pattern and meshes: no go? : Re: Object pattern and meshes: no go? Server Time
26 Apr 2024 03:30:27 EDT (-0400)
  Re: Object pattern and meshes: no go?  
From: Thomas de Groot
Date: 11 Oct 2017 07:56:35
Message: <59de06f3$1@news.povray.org>
On 11-10-2017 11:12, clipka wrote:
> Am 11.10.2017 um 08:42 schrieb Thomas de Groot:
>> On 10-10-2017 14:59, clipka wrote:
>>> Am 10.10.2017 um 09:31 schrieb Thomas de Groot:
>>>> Struggling with object patterns (using meshes) I came across the
>>>> following comment by Sam Benge in 2007 for his edge_pigment02.inc macro.
>>>>
>>>> [quote]
>>>> And of course you can never use this with meshes. That is, not until
>>>> somebody figures out how to convince POV into turning a mesh into a
>>>> bona-fide object pattern...
>>>> [/quote]
>>>>
>>>> Getting strange results myself, I wonder if this is still true for the
>>>> current versions of POV-Ray? Are meshes (still) unsuited for use with
>>>> object patterns?
>>>
>>> Meshes should be fine _if_ they are properly closed _and_ have a
>>> (non-zero) `inside_vector`.
>>>
>>
>> Hmmm... All that has been provided for in my case (including what Bald
>> Eagle suggested). Still, this does not answer that cryptic note by Sam
>> back in 2007. As far as I know, we already did use proper mesh2, so what
>> does he mean?
> 
> The use of `mesh2` vs. `mesh` has little to do with the use of
> `inside_vector` (except that `mesh2` appears to have been the first to
> support the keyword, but it has been added to `mesh` as well).
> 
> My guess would be that Sam didn't know about (or didn't remember) the
> `inside_vector` keyword when he did his experiments.
> 

Yes, that sounds plausible indeed.

As far as my experiments have gone presently, I see indeed no difference 
between CSG and mesh objects where object patterns are concerned. So, I 
have to go back to my own mesh to see what happens.

-- 
Thomas


Post a reply to this message

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