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 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 ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 16508 8875 46.2% 22-Nov-95 01:33:06 +reducer 3240 1321 59.2% 24-Nov-95 14:11:04 +Reducer.doc 1371 846 38.2% 03-Nov-95 15:21:34 +Reducer.doc.info 9764 5856 40.0% 22-Nov-95 01:36:34 +reducer.fast 1607 712 55.6% 24-Nov-95 14:07:56 +Reducer.readme -------- ------- ----- --------- -------- 32490 17610 45.7% 24-Nov-95 21:55:02 5 files