From 545d3c6c2a053007d1a1b032f9e0359d44a9a358 Mon Sep 17 00:00:00 2001 From: rodri Date: Sat, 28 Sep 2024 11:45:26 +0000 Subject: obj: add more conversion possibilities. this brings back the < in.obj obj >out.mdl mechanic that's so handy for simpler models where there are no textures. --- readme | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'readme') diff --git a/readme b/readme index a888d60..37d91ac 100644 --- a/readme +++ b/readme @@ -94,12 +94,15 @@ USAGE positions. - obj objfile dir + obj [objfile [dir]] This tool will take a Wavefront OBJ file objfile, with all its materials, and convert it into a model(6) file (see libgraphics/model.6.txt) that's written, along with its assets, inside the directory dir. + If no dir is specified, it writes the model(6) to stdout. And if no + arguments are given, it reads the OBJ file from stdin. + CUBEMAPS The skyboxes for vis and solar are stored in the cubemap/ folder. To use -- cgit v1.2.3