home *** CD-ROM | disk | FTP | other *** search
/ Stars of Shareware: Raytrace & Morphing / SOS-RAYTRACE.ISO / programm / utility / dos / ribxyz / rib2xyz.txt < prev   
Encoding:
Text File  |  1992-08-01  |  1.2 KB  |  27 lines

  1.          RIB2XYZ Version 1.0 By Richard Newell.    
  2.              Written 07/30/92                        
  3.   
  4.     This program is released to the public domain.                            
  5.     
  6.     
  7.     
  8.     
  9.     Description:                                                              
  10.                                         
  11.     This program reads a .rib file produced by DesignCAD 3D v4.0 and        
  12.     converts the polygons into triangle data that can be read by program    
  13.     RAW2POV, written by Steve Anger.  It also reads the color attributes    
  14.     from the .rib file and assigns a texture to each triangle. For example  
  15.     the color [1.0 1.0 1.0] will be converted to texture T1o0_1o0_1o0.      
  16.     Using a text editor you change the texture names to something useable.  
  17.                                         
  18.     Of course the .rib file has to have some valid data in it to avoid the  
  19.     dreaded "degenerate" triangle.  I've found that by converting the       
  20.     .dw3 file to the .iges format, and then to the .rib format, that I get  
  21.     valid triangles. When I would convert .dw3 to .rib directly, I'd get    
  22.     some nasty holes in my surfaces.                                        
  23.  
  24. Usage:
  25.  
  26. rib2xyz infile.rib outfile.raw
  27.