Torpatch is a data file generator for the Persistence of Vision raytracer. Given a series of points in space, Torpatch joins them smoothly with sections of tori. As a basic function Torpatch can output the coordinates of a torus section passing through any three points, or through two points given a tangent at one of them. The torus section can be extended to pass smoothly through any other set of points. Torpatch can also generate random 'tangles' if so desired.

This program has several uses:

Torpatch is released under the GNU GPL.

Download Torpatch (DOS EXE)

Download Torpatch source (Turbo Pascal)

Download Torpatch source (C)

Yes, the C conversion is done! Sorry about the delay...

Torpatch was written by Mark Mackey.

C conversion by Nathan Beddes.
Back to Swallowtail...