Bulk photo creation for an art project I'm working on
benjaminturnbull
Posts: 0
Hi,
I'm looking for use DAZ Studio for an art project I'm working on. I need a way to make 'passport photos' of lots of people - they dont need to be realistic. they do need to be different genders, weights and ages.
Is it possible to do the following in Daz Studio with scripting:
- Start a new scene.
- Add a new actor.
- Add clothes, hair and stuff - randomly based on things I own or a list or something.
- Change parameters - weight, height, hair color, etc.
- Render a photo - I guess use a camera to do this?
- Save the file (photo and scene).
- And do this multiple times.
I'm happy to script things myself (or pay for support to help me do this) but can it be done?
Thanks for your help! If this isn't the way to go, I'll look at plan B.
Thanks so much!
Ben
Comments
Yes, all of those should be possible. The main thing you want, for loading content, is DzContentMgr. You can then get the figure from DzScene and then its properties, as a DzNode, and randomise them, perhaps poping up a check via an alert box to make sure you are happy with the combo, then use DzRenderMgr to do your render.
A couple of sample scripts that have clear relevance:
access proerpties http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/properties/node_properties/start
Several scripts that do a render http://docs.daz3d.com/doku.php/public/software/dazstudio/4/referenceguide/scripting/api_reference/samples/start#general1
Thanks for that!
I've had a look and I'll need to hire someone to help me - my dodgy coding skills won't translate.
Where would I go to hire someone to write the first of this for me? Freelancer? Is there a DAZ-specific job board?
Hi, sounds like a fun project, would take some time to write though.
PM me if you haven't found anyone yet.