home *** CD-ROM | disk | FTP | other *** search
- RIB2XYZ Version 1.0 By Richard Newell.
- Written 07/30/92
-
- This program is released to the public domain.
-
-
-
-
- Description:
-
- This program reads a .rib file produced by DesignCAD 3D v4.0 and
- converts the polygons into triangle data that can be read by program
- RAW2POV, written by Steve Anger. It also reads the color attributes
- from the .rib file and assigns a texture to each triangle. For example
- the color [1.0 1.0 1.0] will be converted to texture T1o0_1o0_1o0.
- Using a text editor you change the texture names to something useable.
-
- Of course the .rib file has to have some valid data in it to avoid the
- dreaded "degenerate" triangle. I've found that by converting the
- .dw3 file to the .iges format, and then to the .rib format, that I get
- valid triangles. When I would convert .dw3 to .rib directly, I'd get
- some nasty holes in my surfaces.
-
- Usage:
-
- rib2xyz infile.rib outfile.raw
-