POV-Ray : Newsgroups : povray.binaries.images : Behavior of bounded_by : Re: Behavior of bounded_by Server Time
17 Aug 2022 09:07:34 EDT (-0400)
  Re: Behavior of bounded_by  
From: Alain Martel
Date: 18 Apr 2022 11:07:16
Message: <625d7ea4$1@news.povray.org>
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 
The second will leave the ends open. Adding an interior_texture will 
make it obvious.

Post a reply to this message

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