f3d-app / f3d

Fast and minimalist 3D viewer.
https://f3d.app
BSD 3-Clause "New" or "Revised" License
2.87k stars 206 forks source link

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

Open mwestphal opened 2 years ago

mwestphal commented 2 years ago

eg :

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

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

mwestphal commented 2 years ago

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

Meakk commented 2 years ago

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

for f in ./files/*; do
    f3d $f --output=output_$f.png
done
mwestphal commented 2 years ago

Still, current behavior is not super nice:

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

mwestphal commented 9 months ago

@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 commented 9 months ago

Need #653 to move forward

snoyer commented 9 months ago

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