The pfutil library includes a set of routines to produce smoke and fire effects.
Before pfConfig(), call pfuInitSmokes() to initialize the shared data. Call pfuNewSmoke() to get a pointer to a new smoke structure; other functions (pfuSmokeType(), pfuSmokeOrigin(), etc.) can be used to adjust how it behaves and is displayed. pfuDrawSmokes() (called in the draw process) renders the smoke objects.
Sample smoke program
(Note: to run this program, you must have the image file smoke.tex
in your PFPATH).
Last modified 18 February 1997.
Dave Pape, pape@evl.uic.edu