Hi
I'm building a tool that uses the --prerender-script command for husk where the goal is to ingest a usd file lets say a model from Maya and through the pre-render-script I will rig up cameras, lights, rendersettings ect
My Question is , is it possibly to define the RenderSettings in a pre_render script, for my example I've exported a few usd file which contain all my rendersettings I need, samples, aov, ect and Im defining a /Render prim and referencing in that exported USD file.
The issue is husk is not using the USD file and I know this because the output directory where husk is saving the rendered image is incorrect, it goes to karma.exr not my directory.
- I know its in stage because I traversed the stage and can see the /Render prim and all its children are there.
- The Attributes and Relationships for the RenderSettings and RenderProduct are set aswell
I've attach a log where:
- I've printed out part of the stage tree and you can see the /Render prim is there
- The RenderSettings and Product Attributes and relationships with there values and also checking if the prim path is valid or not.
- A small snippet of code on how im Defining and Referring everything "selected_rendersettings" is the Exported USD File that contains the rendersettings properties.
Hopefully anyone could shed some light on this.
Thanks
Defining RenderSettings in a pre-script
115 0 1-
- shamielrinquest
- Member
- 2 posts
- Joined: March 2013
- Offline
-
- Quick Links
