f3d icon indicating copy to clipboard operation
f3d copied to clipboard

"--output" with multiple files could create multiple png outputs

Open mwestphal opened this issue 4 years ago • 3 comments
trafficstars

eg :

f3d ./files/* --output=output.png

Could create output_0.png, output_1.png ...

mwestphal avatar Nov 12 '21 21:11 mwestphal

https://gitlab.kitware.com/f3d/f3d/-/issues/119

mwestphal avatar Nov 12 '21 21:11 mwestphal

I think it's out of scope, one can just do:

for f in ./files/*; do
    f3d $f --output=output_$f.png
done

Meakk avatar Jan 17 '22 18:01 Meakk

Still, current behavior is not super nice:

f3d ./files/* --output=output.png output a screenshot of the first file.

mwestphal avatar Jan 17 '22 18:01 mwestphal

@Meakk @snoyer I'm thinking of closing this. nobody ever requested it and I think #46 is more important anyway. What do you think ?

mwestphal avatar Jan 20 '24 08:01 mwestphal

Need #653 to move forward

mwestphal avatar Jan 20 '24 09:01 mwestphal

I think --output should just warn if there's model files that haven't used in the render.

However if you really want multiple outputs you could use a templating mechanism as proposed in #1194 so that f3d a.gltf b.gltf --output={model}.png generates a.glft.png and b.gltf.png

snoyer avatar Jan 20 '24 09:01 snoyer