(This tiny script retains the proportions of a model when subdividing.)
I'm not sure if this has been covered before elsewhere but I figured out a way to use Zbrush's Cage button to retain the proportions of a low-poly mesh when subdividing. The result is a high-poly mesh which conforms much more closely to the shape of the original low-poly mesh.
Just load the script (Prop_SDiv.TXT) from the Zscript Menu and two buttons will appear in the Zscript window:
1.) Prop.Subdivide ("Press this to retain a model's proportions when subdividing.")
2.) Undo ("Undoes last Proportional Subdivide. Use only immediately after Proportionally Subdividing (simply Undoes last four actions).")
The script is pitifully simple because I have no expertise in creating scripts. After watching the script play a few times you might want to start subdividing in this fashion without the script just to see how and why it works the way it does. Turn off "Show Actions" in the Zscript Menu if you want it to play faster.
I really liked the concept for the original script here by Marsyas but thought it might be used more often if it were available as a plugin button.
So I created a Smart Div plugin version. For anyone interested in the conversion process, I've included the SmartDiv.txt script.
However, to use Smart Div, you will want to install the SmartDiv.zsc version found in the attached zip file:
[CODE]// Plugin button for Smart Proportional Subdivision - adapted by Svengali, Sept. 05
// Originally, a marvelous tool for a controlled subdivide conceived and posted by Marsyas...
// presented in the ZBCentral thread at: http://www.zbrushcentral.com/zbc/showthread.php?t=26639
[IButton,"TOOL:Smart Div","Smart proportional subdivision of model",
[If,[IGet,TRANSFORM:EDIT OBJECT] == 0,
[Note,"No active PolyMesh...",,1]
[If, [IExists,TOOL:Geometry:Reconstruct Subdiv] == 0,
[Note,"Must be a PolyMesh...",,1]
, // else
[ISet,Tool:Geometry:SDiv,[IGetMax,Tool:Geometry:SDiv]] // needs to be at highest subD
To install, simply unzip SmartDiv.Zip into the ZStartup/ZPlugs folder. The next time you startup ZBrush2 you'll find a button called Smart Div under the Tool Palette.
Note that the "smart proportional subdivision" will only be performed on a PolyMesh model in Edit Mode.
Thanks Marsyas for a neat and original utility! Hope Zbrushers will find this plug-in version useful.
Last edited by Svengali; 09-10-05 at 03:00 PM.
Reason: script correction (see Marcus comment below)
Since I have only been playing with old sculpts in Z3 so far, I was wondering if a script such as this one is needed for Z3 or if it has a built-in feature similar to this? Proportional Subdivide was invaluable to me in Z2 and saved me a lot of grief, that is why I am asking.