The IsoCSG Library
POV-Ray offers very powerful CSG functions to design objects, but an often requested feature, bending and other nonlinear transformations is not possible for principal reasons. See Warp's FAQ for an explanation.
The new isosurface shape can overcome this limitation since in contrast to other shapes the intersections are approximated and therefore arbitrary math functions can be used for defining the surface.
But designing isosurface functions requires some math knowledge. This include file should help to reduce this requirement.
Anyway isosurfaces are still more difficult to handle than native CSG and furthermore they can be quite slow with complicated functions so be careful when using them.
POV-Ray 3.5 is required for using this include file.
- New features in version 0.7
- Renders of the samples that are included in the package
- isocsg07.zip (303kB) Version 0.7
- The IsoCSG insert menu (701kB) for the WinPOV insert menu
- The documentation for online reading (also included in the ZIP above)
For MegaPOV 1.0 there is a specially adapted version of the
iso_csg.inc
file that will improve
performance of the sor and triangle shapes by using internal
MegaPOV functions. The plain version 0.7 of the IsoCSG library
works with MegaPOV too.
- isocsg_mp.zip (6kB) needs the main IsoCSG package to work.
An example translation:
native CSG version | IsoCSG version |
---|---|
|
#declare fn_Shape= |
Note that fn_Shape
is a user defined function that can
be used in an isosurface object. Various sample scenes can be found in the package.