POV-Ray Bottle Macro by David Wilkinson  November 1999

<davidwilkinson@cwcom.net>
<http://www.hamiltonite.mcmail.com>
-----------------------------------

These two macros allow you to create a wide variety of bottle shapes with the minimum of dimensional input.  Both macros use the POV-Ray "lathe" object, the shape of which is determined by 8 Bezier curves. The Bezier control points are calculated within the macro.
The bottle is hollow and the wall thickness (which can be specified)is approximately uniform.
The "Liquid" macro defines a shape that fits i

BottlesOutlines.jpg shows a section through 4 bottles illustrating the uniformity of thickness.
BDiagr.jpg is a diagram showing the dimensions that can be varied.

The two example POV files show how the macro is used.
Have fun.

David Wilkinson

