Wings 3D Development Forum
Wings3D as a command line renderer. - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Interface & Usage (https://www.wings3d.com/forum/forumdisplay.php?fid=3)
+--- Thread: Wings3D as a command line renderer. (/showthread.php?tid=3087)



Wings3D as a command line renderer. - Bram - 12-30-2022

So, if a have, say a 1000 obj files, would it be possible to use Wings3D to make screenshots of the models (wireframe edges + faces) using the command line?

So launch Wings3D, set up the camera pos, coi, fov, (maybe edge colour) and have it import an OBJ and make an image?

I am looking to just replicate the editor view, but automate it from the command line.

Thanks.


RE: Wings3D as a command line renderer. - micheus - 01-01-2023

Hi Bram

1000 files?! That is a lot!

There is an convert_script at Wings3D install folder that can convert files in batch mode, but for screenshots a plugin would need to be written.


RE: Wings3D as a command line renderer. - Bram - 01-04-2023

Thanks Micheus!

Good to know.

So yeah, it's a bit of a complicated story, but I had a quick n dirty proc-gen anim that writes a 1000 frames, with each frame in its own OBJ file.

In the end, I decided to hack my game engine to support this weird use case, to generate the images.


RE: Wings3D as a command line renderer. - micheus - 01-04-2023

Quote:In the end, I decided to hack my game engine to support this weird use case, to generate the images.
Cool.
Good to know you already have solved your problem. I could build a plugin for that if you didn't need it for yesterday. Smile