POV-Ray : Newsgroups : povray.general : Object pattern and meshes: no go? Server Time
24 Nov 2024 18:54:39 EST (-0500)
  Object pattern and meshes: no go? (Message 1 to 8 of 8)  
From: Thomas de Groot
Subject: Object pattern and meshes: no go?
Date: 10 Oct 2017 03:31:47
Message: <59dc7763$1@news.povray.org>
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?

-- 
Thomas


Post a reply to this message

From: Bald Eagle
Subject: Re: Object pattern and meshes: no go?
Date: 10 Oct 2017 07:45:00
Message: <web.59dcb225970ac703c437ac910@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:

> 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?

Can you do a good CSG with the mesh?
If not, then maybe the mesh has problems.
If so, maybe use the CSG result for the object pattern...

Either way, C.Lipka et al will want to see visual or code example[s] to be able
to understand and assess the problem, and investigate further.

I mean, it's not like they sit around all day homonculusing...
I mean, at least I think they don't...


Post a reply to this message

From: clipka
Subject: Re: Object pattern and meshes: no go?
Date: 10 Oct 2017 08:59:02
Message: <59dcc416$1@news.povray.org>
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`.


Post a reply to this message

From: clipka
Subject: Re: Object pattern and meshes: no go?
Date: 10 Oct 2017 09:00:47
Message: <59dcc47f$1@news.povray.org>
Am 10.10.2017 um 13:42 schrieb Bald Eagle:

> I mean, it's not like they sit around all day homonculusing...
> I mean, at least I think they don't...

Not all day, no.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Object pattern and meshes: no go?
Date: 11 Oct 2017 02:42:42
Message: <59ddbd62$1@news.povray.org>
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?

-- 
Thomas


Post a reply to this message

From: Thomas de Groot
Subject: Re: Object pattern and meshes: no go?
Date: 11 Oct 2017 02:46:40
Message: <59ddbe50$1@news.povray.org>
On 10-10-2017 13:42, Bald Eagle wrote:
> Thomas de Groot <tho### [at] degrootorg> wrote:
> 
>> 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?
> 
> Can you do a good CSG with the mesh?
> If not, then maybe the mesh has problems.
> If so, maybe use the CSG result for the object pattern...

It is a bit difficult to re-build the first floor of the Gutenbach house 
in CSG... :-)  I was mainly interested in Sam's note and from 
Christoph's answer I get even more puzzled. I shall investigate further 
and report back.

> 
> Either way, C.Lipka et al will want to see visual or code example[s] to be able
> to understand and assess the problem, and investigate further.
> 
> I mean, it's not like they sit around all day homonculusing...
> I mean, at least I think they don't...
> 

Now that you mention it, I wonder...

-- 
Thomas


Post a reply to this message

From: clipka
Subject: Re: Object pattern and meshes: no go?
Date: 11 Oct 2017 05:12:57
Message: <59dde099$1@news.povray.org>
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.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Object pattern and meshes: no go?
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.