POV-Ray : Newsgroups : povray.general : constructing solid mesh from surface mesh : Re: constructing solid mesh from surface mesh Server Time
29 Jul 2024 12:15:21 EDT (-0400)
  Re: constructing solid mesh from surface mesh  
From: Thomas de Groot
Date: 21 Jul 2011 10:11:03
Message: <4e283377$1@news.povray.org>
On 21-7-2011 14:29, kiwon wrote:
> Thomas de Groot<tenDOTlnDOTretniATtoorgedDOTt>  wrote:
>> On 21-7-2011 10:16, kiwon wrote:
>>>     #declare myvolume = union {
>>>       box {0, 1 clipped_by {mysurface}}
>>>       mysurface
>>>     }
>>>
>>
>>
>> Try:
>>
>> #declare myvolume = union {
>>     box {0, 1 clipped_by {mysurface}}
>>     object {mysurface}
>> }
>
> Tried, but the same error msg on the "clipped_by" line:
> Parse Error: Illegal texture or patch in clip, bound or object pattern.
> The clipped_by doesn't seem to work with mesh2.
>
>
>
>
What about:

#declare myvolume =
intersection {
   box {0, 1}
   object {mysurface}
}


Thomas


Post a reply to this message

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