POV-Ray : Documentation : 2.8.8.1 Finite Solid Objects
  POV-Ray 3.6 Documentation Online View  
2.8.8 Objects   2.8.8.2 Finite Patch Objects

2.8.8.1 Finite Solid Objects

Describe a solid finite shape:
FINITE_SOLID_OBJECT:
BLOB | BOX | CONE | CYLINDER | HEIGHT_FIELD | JULIA_FRACTAL | LATHE | PRISM | SPHERE | SPHERE_SWEEP | SUPERELLIPSOID | SOR | TEXT | TORUS
The blob object:
BLOB:
Jump to SDL
blob { [threshold FLOAT] BLOB_ITEM... [BLOB_MODIFIERS] }
BLOB_ITEM:
sphere { V_CENTER, F_RADIUS, [strength] F_STRENGTH [COMPONENT_MODIFIERS] } |
cylinder { V_END1, V_END2, F_RADIUS, [strength] F_STRENGTH [COMPONENT_MODIFIERS] }
COMPONENT_MODIFIERS:
[TEXTURE] & [PIGMENT] & [NORMAL] & [FINISH] & [TRANSFORMATION...]
BLOB_MODIFIERS:
[hierarchy [BOOL]] & [sturm [BOOL]] & [OBJECT_MODIFIERS]
The box object:
BOX:
Jump to SDL
box { V_CORNER1, V_CORNER2 [BOX_MODIFIERS] }
BOX_MODIFIERS:
[UV_MAPPING] & [OBJECT_MODIFIERS]
The cone object:
CONE:
Jump to SDL
cone { V_BASE_CENTER, F_BASE_RADIUS, V_CAP_CENTER, F_CAP_RADIUS [open] [OBJECT_MODIFIERS] }
The cylinder object:
CYLINDER:
Jump to SDL
cylinder { V_BASE_CENTER, V_CAP_CENTER, F_RADIUS [open] [OBJECT_MODIFIERS] }
The height field object:
HEIGHT_FIELD:
Jump to SDL
height_field { HF_IMAGE [HF_MODIFIERS] }
HF_IMAGE:
FUNCTION_IMAGE | [HF_TYPE] FILE_NAME
HF_TYPE:
gif | tga | pot | png | pgm | ppm | jpeg | tiff | sys
HF_MODIFIERS:
[hierarchy [BOOL]] & [smooth] & [water_level FLOAT] & [OBJECT_MODIFIERS]
The Julia fractal object:
JULIA_FRACTAL:
Jump to SDL
julia_fractal { 4D_VECTOR [JF_ITEMS] [OBJECT_MODIFIERS] }
JF_ITEMS:
[ALGEBRA_ITEM] & [max_iteration INT] & [precision FLOAT] & [slice V4_NORMAL, F_DISTANCE]
ALGEBRA_ITEM:
quaternion [QUATER_FUNCTION] | hypercomplex [HYPER_FUNCTION]
QUATER_FUNCTION:
sqr | cube
HYPER_FUNCTION:
sqr | cube | exp | reciprocal | sin | asin | sinh | asinh | cos | acos | cosh | acosh | tan | atan | tanh | atanh | ln | pwr (FLOAT,FLOAT)
The lathe object:
LATHE:
Jump to SDL
lathe { [LATHE_SPLINE_TYPE] I_NUM_POINTS, POINT_LIST [LATHE_MODIFIERS] }
LATHE_SPLINE_TYPE:
linear_spline | quadratic_spline | cubic_spline | bezier_spline
POINT_LIST:
2D_VECTOR [, 2D_VECTOR]...
The quantity of 2D_VECTORs is specified by the I_NUM_POINTS value.
LATHE_MODIFIERS:
[sturm [BOOL]] & [UV_MAPPING] & [OBJECT_MODIFIERS]
The prism object:
PRISM:
Jump to SDL
prism { [PRISM_ITEMS] F_HEIGHT1, F_HEIGHT2, I_NUM_POINTS, POINT_LIST [open] [PRISM_MODIFIERS] }
PRISM_ITEMS:
[PRISM_SPLINE_TYPE] & [PRISM_SWEEP_TYPE]
PRISM_SPLINE_TYPE:
linear_spline | quadratic_spline | cubic_spline | bezier_spline
PRISM_SWEEP_TYPE:
linear_sweep | conic_sweep
PRISM_MODIFIERS:
[sturm [BOOL]] & [OBJECT_MODIFIERS]
The sphere object:
SPHERE:
Jump to SDL
sphere { V_CENTER, F_RADIUS [SPHERE_MODIFIERS] }
SPHERE_MODIFIERS:
[UV_MAPPING] & [OBJECT_MODIFIERS]
The sphere sweep object:
SPHERE_SWEEP:
Jump to SDL
sphere_sweep { SWEEP_SPLINE_TYPE I_NUM_SPHERES, SPHERE_LIST [tolerance F_DEPTH_TOLERANCE] [OBJECT_MODIFIERS] }
SWEEP_SPLINE_TYPE:
linear_spline | b_spline | cubic_spline
SPHERE_LIST:
V_CENTER, F_RADIUS [, SPHERE_LIST]
The quantity of V_CENTER, F_RADIUS pairs is specified by the I_NUM_SPHERES value.
The superquadric ellipsoid object:
SUPERELLIPSOID:
Jump to SDL
superellipsoid { < FLOAT, FLOAT > [OBJECT_MODIFIERS] }
The surface of revolution object:
SOR:
Jump to SDL
sor { I_NUM_POINTS, POINT_LIST [open] [SOR_MODIFIERS] }
SOR_MODIFIERS:
[sturm [BOOL]] & [UV_MAPPING] & [OBJECT_MODIFIERS]
The text object:
TEXT:
Jump to SDL
text { ttf FILE_NAME STRING F_THICKNESS, V_OFFSET [OBJECT_MODIFIERS] }
The torus object:
TORUS:
Jump to SDL
torus { F_MAJOR_RADIUS, F_MINOR_RADIUS [TORUS_MODIFIERS] }
TORUS_MODIFIERS:
[sturm [BOOL]] & [UV_MAPPING] & [OBJECT_MODIFIERS]

Quick Reference Contents

2.8.8 Objects   2.8.8.2 Finite Patch Objects


Copyright 2003-2021 Persistence of Vision Raytracer Pty. Ltd.