POV-Ray : Newsgroups : povray.binaries.images : This may be my first *complete* scene (75K) : Re: This may be my first *complete* scene (75K) Server Time
16 Aug 2024 10:22:45 EDT (-0400)
  Re: This may be my first *complete* scene (75K)  
From: Christopher James Huff
Date: 23 Feb 2002 11:18:54
Message: <chrishuff-4CA604.11184523022002@netplex.aussie.org>
In article <3c77bbc9@news.povray.org>, "Zero" <zer### [at] yahoocom> wrote:

> Isn't that how the tetrahedron is defined in shapes.inc?  I didn't check it,
> but I believe all geometrical solids are defined using intersections of
> planes, so all you need is #include "shapes.inc" - all this math for nothing
> ;-)

The file is "shapes2.inc", and the definition isn't quite the same:
#declare Tetrahedron =
 intersection 
  {plane {-y,1}
   plane {-z,1 rotate <19.47,    0, 0>}
   plane {-z,1 rotate <19.47, -120, 0>}
   plane {-z,1 rotate <19.47,  120, 0>}
  }

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

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