Hey!
When i am done with modeling, i want to prepare some stuff for exporting the mesh.
Current workflow:1. set all subtools to
highest subdivision 2. now, to decimate in the 3. step, i need to make sure all subtools has
baked layers- select the first subtool
- "Layers -> "Bake all"
- arrow down (to select the next subtool)
- "Layers -> "Bake all"
- repeat that previous 2 steps until all subtools has baked layers
3. Decimation Master: "preprocess all" then "
decimate all"
4. "
polypaint from polygroups" (for Substance Painter)
- select the first subtool
- Polypaint: "polypaint from polygroups"
- arrow down (to select the next subtool)
- Polypaint: "polypaint from polygroups"
- repeat that previous 2 steps until all subtools has baked layers
5. export visible as fbx
-------------------------------------
You see step 2 and 4 is repetive....
Is there a way to make this steps less repetive? (does ZScript make sense here?)
Replies
Rewrite it for your own needs, i hope it helps others too!
What it does is:
- set all VISIBLE subtools to highest subdivision lvl
- bake all layers per subtool
- polypaint from polygroup
-message out how many subtools affected
p.s.: i decided that decimation must be done by hand per subtool...so i did not integrated it
have fun:
Just create a txt and copy-paste the code above!
Then in zbrush, you go:
- zscript -> load (load the txt file)
after that, it should be a new menu in zplugin called "Workflow" with a button inside
Tadaa
Sure, just save your UI, that should work i think:
i extended the script, now you can:
- Bake all layer from all visible subtools (as before)
- Stop all recordings from all subtools (New)
i had the weird bug/problem my subtools turns black sometimes when layers a recording and i bake them down.
I hope this helps someone too
Currently i am not at home but you can of course change the script as if you wish.
I made tze script while checking the available reference here:
http://docs.pixologic.com/user-guide/customizing-zbrush/zscripting/command-reference/