Forum: Poser Python Scripting


Subject: Is there a batch render script for Pz3 thumbnails?

z opened this issue on Apr 02, 2009 · 15 posts


z posted Thu, 02 April 2009 at 5:18 PM

I can’t be the first guy to want this:

 

I want to be able to render PNG thumbnails for PZ3 scene files, en masse. I have D3D’s batch render script and its close but, here’s what I need:

 

  1. to be able to open a Pz3 file (preferably from an external list of filenames).

  2. Set the rendersize to 91x91

  3. Do a down and dirty P4 (non firefly) render, and save it (same path, same name .png)

 

Then go to the next file.

 

Seems pretty simple. One other thing, I’d love it to be fault tolerant. If it finds a missing object or texture, it should just skip it and render what it can find.

 

Does this (or something like it) exist somewhere?  

 

I’m VB coder and not a Python coder, but if I saw the right examples I could probably cut and paste something together. The D3D “Render Scene” script opens and saves, but it only renders in firefly, and I have no idea how to set rendersize.

 

Aha tia
z