|
![](/i/fill.gif) |
Hi Povray-experts,
I have a little problem when doing a difference operation between two
objects. The first one is a sphere which I want to "cut" with a box. The
result should be solid sphere again with one flat side. When using the
script below, Povray performs the cutting but the sphere is not solid
anymore and looks like a hollow object. Is there an easy way to close the
sphere again or should I try something totally different?
Thanks for your ideas!
Regards,
Alex
My script:
#include "colors.inc"
background {White}
camera {angle 15 location <0, -50, -50> look_at <0, 0, 0>}
light_source {<0, 0, -50> color White}
light_source {<0, -20, -20> color White}
difference
{
blob
{
threshold 0.001
sphere
{
<0.130883, -0.495058, 0.751857>, 1.287408, 1
pigment
{
color CHSV2RGB(<240.000000, 0.300000, 1.000000>)
}
}
finish {phong 1}
}
box
{
<10, 10, 0>, <-10, -10, -5>
texture
{
pigment
{
color Yellow
transmit 1.0
}
}
}
}
_________________________________
Ale### [at] gmx de
http://www.it99.org/axl
+49 (0) 1 75/ 410 72 68
ICQ# 36765668
_________________________________
Post a reply to this message
|
![](/i/fill.gif) |