POV-Ray : Newsgroups : povray.binaries.images : Behavior of bounded_by : Re: Behavior of bounded_by Server Time
24 Apr 2024 17:16:53 EDT (-0400)
  Re: Behavior of bounded_by  
From: m@b
Date: 18 Apr 2022 21:26:25
Message: <625e0fc1$1@news.povray.org>
On 18/04/2022 11:07 pm, Alain Martel wrote:
> Le 2022-04-18 à 07:01, m@b a écrit :
>> HI,
>>
>> I made this leaf spring using segments of a rounded tube.
>>
>> It looks fine when viewed straight-on but assumes a funny angle at the 
>> ends when viewed from the side.
>>
>> What is going on?
>>
> 
> You are incorrectly using bounded_by as an alternative for an intersection.
> ANY ray that hit the bounded_by shape will cause the bounded_by object 
> to be evaluated, even if that part is actually outside the bounded_by 
> object. Even if that part is in front of the bounded_by shape.
> 
> Instead, you should use an intersection or add clipped_by{bounded_by}
> 
> The first will close the object. You see the surface of the intersecting 
> object.
> The second will leave the ends open. Adding an interior_texture will 
> make it obvious.


Thanks Alain and Bill P - intersection fixed it :-)

m@


Post a reply to this message

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