POV-Ray : Newsgroups : povray.newusers : Slicing an ellipsoid Server Time
28 Jul 2024 22:16:54 EDT (-0400)
  Slicing an ellipsoid (Message 11 to 12 of 12)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Mike Williams
Subject: Re: Slicing an ellipsoid
Date: 3 Nov 2007 11:36:39
Message: <HdOy4CApGKLHFwfB@econym.demon.co.uk>
Wasn't it Francesco who wrote:
>Mike Williams <nos### [at] econymdemoncouk> wrote:
>> Perhaps something like this
>>
>> sphere {0,1
>>   scale <2,1,1>
>>   clipped_by {plane {-y,0}}
>>   clipped_by {plane {z,0}}
>>   clipped_by {plane {-z,0} rotate <0,10,0>}
>>   pigment {rgb 1}
>> }
>
>That is exactly what I was trying to do! Thanks a lot Mike :)) Simple and
>powerful commands. Just a question: you make rotating the clipping plane in
>order to exclude some parts to the cut. Is it right?

You said you wanted a quarter ellipse rotated through 10 degrees. So I
made one cut at 0 and one cut at 10 degrees.

Actually, it would look more symmetrical if you make the cuts at -5 and
+5 degrees

sphere {0,1
  scale <2,1,1>
  clipped_by {plane {-y,0}}
  clipped_by {plane {z,0} rotate <0,-5,0>}
  clipped_by {plane {-z,0} rotate <0,5,0>}
  pigment {rgb 1}
}

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

From: Francesco
Subject: Re: Slicing an ellipsoid
Date: 3 Nov 2007 12:45:00
Message: <web.472cb36f70e4ee4e73fa22050@news.povray.org>
Mike Williams <nos### [at] econymdemoncouk> wrote:
> You said you wanted a quarter ellipse rotated through 10 degrees. So I
> made one cut at 0 and one cut at 10 degrees.
>

Ok, it's clear. Thanks again.

Francesco


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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