Descriptions and Examples for the POV-Ray Raytracer by Friedrich A. Lohmüller
Geometric Shapes in POV-Ray
Italiano Italiano
Français français
Deutsch Deutsch

Home
- POV-Ray Tutorial
 
  Geometric Shapes
   Index
Basic Shapes
  - sphere
  - cylinder
  - cone
  - torus
  > box
  - prism
  - plane
  - sor
  - lathe
  - superellipsoid
  - ovus

Shapes by macro + CSG
Shapes in "shapes3.inc"
Other Shapes by macros
3D text shapes
other Shapes
Non CSG Shapes
height_field + HF macros
Isosurfaces
                                   
box
Sample box
box
= rectangular cuboid,
rectangular parallelepiped
Sample box 600x450

box = rectangular cuboid, rectangular parallelepiped
general syntax:
box{<x1,y1,z1>,<x2,y2,z2>
     texture{ ... ... }
    } 
Here are <x1,y1,z1> und <x2,y2,z2> the coordinates of two diametrically opposed points.
Example here:
box{ <2,0,1>,<5,2,6>
     texture{ ... }
   } //--------------

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