Descriptions and Examples for the POV-Ray Raytracer by Friedrich A. Lohmueller
Deutsch Deutsch

Home
back to overview
- POV-Ray Tutorials

  - Analytical Geometry
    with POV-Ray
    - Index -
  - Insert Menu Add-on
    & Download
 
  - Basics
    Possibilities and Needs

    Points & Lines
    - Points in 3D
    - Line Sections, Straight,
      Vectors, Distance Markers
    - Surfaces & Planes
    - Output of Results,
      Captions
    - Points of Intersection
    - Circles
    Solids
   > Tetrahedron
    - Parallelepiped
    - Round Solids
    -
  - Overview by Table
      on "analytical_g.inc"
  - Vector Analysis
      with POV-Ray
  - Righthanded & Lefthanded
    Systems of Coordinates
    and the Cross Product

  - Samples from
    Analytical Geometry
    - Parallelogram of the
        Middles of the Edges
    - Trace Points of a Straight Line
    - Calculations about a Triangle
    - Area of a Parallelogram
        and Cross Product
    - Shadow of a Pyramid
    - Hit a plane || yz-plane
    - Angle of triangle & yz-plane
                                       

Analytical Geometry with POV-Ray

Solids I  

Tetrahedron


Tetrahedron by corners P,Q,R,S:

A tetrahedron, defined with the corners P,Q,R and S, we get with a macro from "analytical_g.inc" :
Tetrahedron_by_Corners(P,Q,R,S, Rl, Rp, filled),
where Rl = radius of the edge cylinders, Rp = radius of the corner spheres.
If Rl = 0 or Rp = 0, the according elements were not shown.
If "filled" = 1, the surfaces will be filled by triangles.

Sample:

object{ Tetrahedron_by_Corners(P,Q,R,S, Rl,Rp,0)
        pigment{ color YellowGreen }}
object{ Tetrahedron_by_Corners(P,Q,R,S, 0, 0, 1)
        pigment{ color Green transmit 0.5 }}
Tetraeder by corner points P,Q,R,S
Scene for POV-Ray: ".txt" file or ".pov" file
Tetrahedron by corners with edges
Scene for POV-Ray: ".txt"-Datei oder ".pov"-Datei
Tetrahedron by corners, with edges and filled surfaces
Scene for POV-Ray: ".txt" file or ".pov" file

Tetrahedron defined by start point P and edge V1,V2,V2 :

A tetrahedron with the starting point P and the vectors of the edges V1,V2,V2 we get by a macro from "analytical_g.inc" :
Tetrahedron_by_Edges(P,V1,V2,V3, Rl, Rp, filled),
here Rl = radius of the edges, Rp = radius of the corner spheres,
If the according radii are 0, they are not shown.
filled = 1, for a filled surface.

Sample:

object{Tetrahedron_by_Edges(P,V1,V2,V3,Rl,Rp,0)
        pigment{ color YellowGreen }}
object{Tetrahedron_by_Edges(P,V1,V2,V3,0,0,1)
        pigment{ color Violet transmit 0.5 }
Tetrahedron by start point P and edge vectors V1,V2,V2
Scene for POV-Ray: ".txt" file or ".pov" file
Tetrahedron by start point P and edges V1,V2,V2.
Scene for POV-Ray:
".txt" file or ".pov" file
Tetrahedron by start point P and edgeV 1,V2,V2.
Scene for POV-Ray: ".txt" file or ".pov" file

top

© Friedrich A. Lohmüller, 2007
www.f-lohmueller.de