|
 |
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'

Preview of image 'bndby_1_clpby_2.png'

|
 |