POV-Ray : Newsgroups : povray.pov4.discussion.general : Potential v4.0 bounding & clipping fixes / changes. (yuqk R20 v0.6.14.0) : Re: Potential v4.0 bounding & clipping fixes / changes. (yuqk R20v0.6.14.0) Server Time
16 Oct 2025 12:39:10 EDT (-0400)
  Re: Potential v4.0 bounding & clipping fixes / changes. (yuqk R20v0.6.14.0)  
From: William F Pokorny
Date: 13 Oct 2025 21:41:03
Message: <68edaa2f$1@news.povray.org>
On 10/13/25 21:37, William F Pokorny wrote:
> For clipped_by{} the modes are:

Attached a couple images showing modes 2 and 3 of clipped_by{}.

The core SDL looking like:

#declare OO = object {
     sphere { 0, 0.5
         texture          { pigment {Green} normal { micro 0.5 } }
         interior_texture { pigment {Red}   normal { micro 0.5 } }
     }
     bounded_by { mode 1
                  sphere { <+0.3,+0.0,+0.0>, 0.25 }
                  sphere { <-0.3,+0.0,+0.0>, 0.25 }
                  sphere { <+0.0,+0.3,+0.0>, 0.25 }
                  sphere { <+0.0,-0.3,+0.0>, 0.25 }
                  sphere { <+0.0,+0.0,+0.3>, 0.25 }
                  sphere { <+0.0,+0.0,-0.3>, 0.25 }
     }
     clipped_by { mode 3
                  sphere { <+0.3,+0.0,+0.0>, 0.25 }
                  sphere { <-0.3,+0.0,+0.0>, 0.25 }
                  sphere { <+0.0,+0.3,+0.0>, 0.25 }
                  sphere { <+0.0,-0.3,+0.0>, 0.25 }
                  sphere { <+0.0,+0.0,+0.3>, 0.25 }
                  sphere { <+0.0,+0.0,-0.3>, 0.25 }
     }
     // Or: clipped_by { mode 3 bounded_by }
}

Bill P.


Post a reply to this message


Attachments:
Download 'bndby_1_clpby_3.png' (61 KB) Download 'bndby_1_clpby_2.png' (52 KB)

Preview of image 'bndby_1_clpby_3.png'
bndby_1_clpby_3.png

Preview of image 'bndby_1_clpby_2.png'
bndby_1_clpby_2.png


 

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