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 II 

Parallelepiped  


Parallelepiped defined by corners P,Q,R and S:

A parallelepiped with the corners P,Q,R and S we get with a macro from "analytical_g.inc" :
Parallelepiped_by_Corners(P,Q,R,S, Rl, Rp, filled),
Here: Rl = radius of the edges, Rp = radius of the corners,
If the according radii are 0, this elements are not shown.
filled = 1, for filled surfaces.

Sample:

object{Parallelepiped_by_Corners(P,Q,R,S,Rl,Rp,0)
        pigment{ color YellowGreen }}
object{Parallelepiped_by_Corners(P,Q,R,S, 0, 0,1)
        pigment{ color Green ttansmit 0.5 }}
Parallelepiped by corners P,Q,R,S
Scene for POV-Ray: ".txt" file or ".pov" file

Parallelepiped with start at P and edge vectors V1,V2,V2:

A parallelepiped with the starting point at P and the edge vectors V1,V2,V2 we get by a makro from "analytical_g.inc" :
Parallelepiped_by_Edges(P,V1,V2,V3, Rl, Rp, filled),
Here: Rl = radius of the edges, Rp = radius of the corners,
If the according radii are 0, this elements are not shown.
filled = 1, for filled surfaces.

Sample:

object{Parallelepiped_by_Edges(P,V1,V2,V3,Rl,Rp,0)
        pigment{ color YellowGreen }}
object{Parallelepiped_by_Edges(P,V1,V2,V3,0,0,1)
        pigment{ color Violet transmit 0.5 }
Parallelepiped with start at P and edge vectors V1,V2,V2

Sample:

object{Parallelepiped_by_Edges(P,V1,V2,V3,Rl,Rp,0)
        pigment{ color YellowGreen }}
object{Parallelepiped_by_Edges(P,V1,V2,V3,0,0,1)
        pigment{ color Violet transmit 0.5 }
Parallelepiped with start at P and edge vectors V1,V2,V2.
Scene for POV-Ray: ".txt" file or ".pov" file

top

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