Short: Polygon-reducer for Lightwave Author: epgbc@cluster1.urz.Uni-Halle.DE (Andreas Maschke) Uploader: epgbc cluster1 urz Uni-Halle DE (Andreas Maschke) Type: gfx/3d Architecture: m68k-amigaos One week ago I downloaded a starfield from Aminet which consists of polygons with 6 edges. Because the object was in TDDD-format (triangles) and I had to render a scene using Lightwave I wanted to merge the polygons. So I tried out PixPro which needed a lot of time and finally destroyed the object. O.k., I said, write your own one. The program reducer is the result (of some hours hacking C-language). It's faster than PixPro and produces a starfield I can use. Summary: Advantages: -speed -external small program which can be invoked via batchfiles,... -merges only polygons which remain to same surface Disadvantages: -the fast (GCC-)version crashes after a stack-overflow -It can't close polygons which use one edge two or more times, e.g. the front-face of an "O"-letter /-----\ | /---\ | | | |-| <- edge used twice | | | | | \---/ | \-----/ ----------------------------------------------------------- Author: Andreas Maschke Zenkerstraße 5 06108 Halle/Saale Germany Phone: ++49 (0)345/5170331 EMail: epgbc@cluster1.urz.Uni-Halle.DE