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

Line Sections, Straight Lines, Vectors and Distance Markers

Line Sections and Straight Lines.

Here we use the cylinder object of POV-Ray:

Line Section P1P2:

cylinder{ P1, P2, Rl  pigment{color Green}}

Straight Line P1P2:

To get a longer (not infinite, but long enought) cylinder, we move the starting point and the end point by a multiple of (here: 10*) the difference vector (P2-P1) in the direction of the straight line.
cylinder{ P1–10*(P2-P1), P2+10*(P2-P1), Rl
           pigment{color Green}}

Line sections and straight lines - here with the projections on the xz plane.
Click here for a complete description
of this scene for POV-Ray:
".txt"-Datei or ".pov"-Datei

Vectors and Distance Markers

Vector P1P2:

For this we use the Vector macro from "analytical_g.inc":
object{ Vector (P1, P2, Rl)
         pigment{color YellowGreen}}

Distance Marker between P1 und P2:

Here we use the Distance_Marker macro from "analytical_g.inc":
object{ Distance_Marker(P1, P2, Rl)
         pigment{color Violet}}

Vectors and distance markers
Click here for a complete description
of this scene for POV-Ray:
".txt" file or ".pov" file
top

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