POV-Ray : Newsgroups : povray.general : Materials before or after bounded_by? : Re: Materials before or after bounded_by? Server Time
16 May 2024 18:52:57 EDT (-0400)
  Re: Materials before or after bounded_by?  
From: Mike Horvath
Date: 29 Jan 2016 12:21:04
Message: <56ab9f80$1@news.povray.org>
On 1/29/2016 11:24 AM, clipka wrote:
> Am 29.01.2016 um 11:49 schrieb Mike Horvath:
>> On 1/29/2016 5:15 AM, clipka wrote:
>>> Am 29.01.2016 um 10:31 schrieb Mike Horvath:
>>>> On 1/29/2016 4:20 AM, Mike Horvath wrote:
>>>>> Should the bounded_by statement be the very last statement in a CSG
>>>>> block? Or is it okay to have textures/materials/etc. come after?
>>>
>>> It's totally irrelevant.
>>>
>>>> Also, is there any benefit to using bounded_by in the following case?
>>>>
>>>> difference
>>>> {
>>>>       object {MyObject1}
>>>>       object {MyObject2}
>>>>       bounded_by {MyObject1}
>>>> }
>>>>
>>>> intersection
>>>> {
>>>>       object {MyObject1}
>>>>       object {MyObject2}
>>>>       bounded_by {MyObject1}
>>>> }
>>>
>>> That depends.
>>>
>>> If MyObject1 is significantly easier to compute than MyObject2, then it
>>> may indeed speed up rendering.
>>
>> What if they both happen to be spheres or cylinders? I.e. similar types
>> of objects.
>
> In that case it would be useless at best, and may actually slow down
> render times.
>
> To the best of my knowledge, that is. I still haven't spent enough time
> studying the bounding mechanism to understand every detail of it.
>

I am also wondering if both objects are cylinders, whether there is a 
benefit to bound the CSG using a box.


Mike


Post a reply to this message

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