STL to RT
This program converts ASCII STL files to RT files for miniRT.
Input the ASCII STL file to the standard input and output the RT file from the standard output.
The model color is defaulted to (255,255,255). If you want to change the color, change the COLOR constant.
Installation
git clone [email protected]:42yohki/stl2rt.git
Usage
Example
gcc main.c
./a.out < example.stl > example.rt