POV-Ray : Newsgroups : povray.general : general geometry question : Re: general geometry question Server Time
7 Aug 2024 15:18:05 EDT (-0400)
  Re: general geometry question  
From: Mark M  Wilson
Date: 21 Aug 2001 16:46:49
Message: <3B82CA95.4850921D@ncsl.dcr.state.nc.us>
Correction: I should say "at either end of the line segment equal in
length to the diameter of a noncongruent circle."
--Mark


"Mark M. Wilson" wrote:
> 
>  or the two points could be at either end of a diameter of a circle with a different

>  diameter. 


> --Mark
> 
> Ben Chambers wrote:
> >
> > Actually, you can do it with two points. Try this:
> >
> > #declare P1 = <x1, y1, z1>;
> > #declare P2 = <x2, y2, z2>;
> >
> > sphere {
> >     (P1+P2)/2, sqrt(sqr(x2-x1)+sqr(y2-y1)+sqr(z2-z1))
> >     texture {stuff}
> > }


Post a reply to this message

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