POV-Ray : Newsgroups : povray.newusers : Cut a sphere : Re: Cut a sphere Server Time
29 Jul 2024 16:31:29 EDT (-0400)
  Re: Cut a sphere  
From: Oleguer Vilella
Date: 31 Jul 2005 10:05:42
Message: <42ecdab6@news.povray.org>
Maybe something like this?
======================================
merge{
sphere { <0, 0, 0>, 1
translate -0.5*x
}
sphere { <0, 0, 0>, 0.5
translate 0.5*x
scale <1.32, 0, 0>
}
pigment { rgbf <0.9, 0.9, 0.9, 1> }
rotate <0, 0, 0>
translate <0, 0, 0>
scale 5

clipped_by { plane { y, 4 } }
hollow on
interior_texture { pigment { rgbf <.9, .9, .9, 0.8> } }
}
======================================


Regards,
Oleguer





news:42ecd368$1@news.povray.org...
> Hi all,
>
> I've done this object:
> ======================================
> merge{
>    sphere { <0, 0, 0>, 1
>      translate -0.5*x
>    }
>    sphere { <0, 0, 0>, 0.5
>      translate 0.5*x
>    scale <1.5, 0, 0>
>    }
>    pigment { rgbf <0.9, 0.9, 0.9, 1> }
>    rotate <0, 0, 0>
> translate <0, 0, 0>
> scale 5
>
> clipped_by { plane { z, 0 }
>
> }}
> ======================================
> And I want to cut it, to do it I used a "clipped_by" with a plane, but I 
> think I'm wrong.
>
> I want to cut the object and then I want to put objects inside. So, I want 
> to have it "empty". I don't know if the method that I'm using will work 
> properly.
>
> All helps will be welcome.
>
> Regards,
> Oleguer
>


Post a reply to this message

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