- 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 |
Points in a 3D System of Coordinates
Methods for unequivocal visualization of points in a 3d system of coordinates. |
|
|
Points represented by spheres:
It's highly recommended to define our own variables for all points and vectors we want to use
by "#declare".
This makes it much easier to use these values in the graphical presentation.
Notice: The center O =<0,0,0> is predefined in POV-Ray by "o"!
Sample:
Definition of the points: #declare P = < 3, 2, 1.5>;
#declare Q = < 0, 1, 2>;
#declare R = < 1.5, 0,-4>;
The representation (drawing) of the points P, Q and R will take place by this:
sphere{ P, Rp pigment{color Red}}
sphere{ Q, Rp pigment{color Red}}
sphere{ R, Rp pigment{color Red}}
|
Points: represented by "sphere{ P, Rp tpigment{color ...}}".
Problem: The concret position in the space is not unequivocal!
|
Unequivocal Marking of Positions:
Method 1:
Cylinder to the Ground Plane
Here we use a macro of my include file for the analytical geometry
analytical_g.inc,
which put a cylinder vertical beneath the according point:
sphere{ P, Rp pigment{color Red}}
object{ Show_Y( P, Rl/2)
pigment{color Yellow}}
|
Unequivocal representation of points:
Method 1: Marking the positions by connecting point with cylinders to the ground plane.
|
Unequivocal Marking of Positions:
Method 2:
Wireframe Box
The following sample shows how this works:
sphere{ P, Rp pigment{color Red}}
object{ Wire_Box( o, P, Rl/2,0)
pigment{color Yellow }}
The Wire_box macro can also be used if one or more components are zero,
it works also with "degenerated" boxes!!!
|
Unequivocal representation of points
Method 2: Marking the positions with wireframe boxes.
Click here for a complete description of this scene for POV-Ray:
".txt" file or
".pov" file
|
|