PDA

View Full Version : CreaseDivide Plugin (for Z2 & Z3)


mir-vadim
05-22-07, 07:14 AM
Hi all, I want to share my way to keep divided low poly mesh as sharp as possible. In ZB2 every time after importing model I must keep Morph target, divide mesh four times, then I go to first SDiv level and move morph target slider to the right, then I go back to last SDiv level and immediately go back to first SDiv level and again move morph target slider to the right, usually I repeat this step four times.

-- Update 1
Within Last few days I learned a lot about ZScripting, and I decide to create my first plugin based on CreaseDivide Macro. Here it is.
Copy CreaseDivide.zsc into your Pixologic\ZBrush3\ZStartup\ZPlugs folder.
Start Zbrush and go to Zplugin\CreaseDivide Subpalette.
CreaseDivide.jpg

Divide Level - 5 means that mesh will be divided 4 times and highest level will be 5.
Iterations - 4 means that plugin will repeat step with morph target 4 times.
Strenght - keep it at 100 to get maximum effect.

How To Use: Divide mesh using this plugin after importing in ZBrush, do not divide mesh manually before using this plugin and make sure that mesh has not multiple divide levels.

-- Update 2
It is so cool when you can seriously modify your tool and make it more useful adding just one string in code. [IPress, Tool:Layers:New] - New ZBrush 3 feature.

Now Crease Divide will create new layer after mesh dividing and make all "sharp" operation on this layer. This mean that now after mesh divided you can go to Tool:Layers and get different results changing intensity slider. Set 0 - to get simply divided mesh, 1 - to get mesh after all sharp operation. If mesh become very sharp, instead dividing mesh again with less strenght just set intensty slider somewhere in the middle, if mesh not so sharp as you want, set intensity more then 1.

Another cool feature that now you can set layer intensity to 1, store morph target, delete or hide layer and using morph brush, define area which you want to be more creasy.

It`s amazing how much additional detail you can get from simple low poly model if set intensity slider at 2. Just compare SuperAverageMan and Demohead with intensity = 0 and intensity = 2.
CreaseDivideLayers.jpg


But as You expect this update works only on ZBrush 3


Hope this simple plugin will help You.

herdmann
05-22-07, 07:40 AM
thats very useful !
thanks
h

spaz8
05-22-07, 07:47 AM
Awesome, i'll definately have to try this out.

andreseloy
05-22-07, 09:07 AM
Using your Macro how many polys are added from the basemesh?
Thanks in advance
Andreseloy

se7enthcin
05-22-07, 09:32 AM
I never thought of doing it that way. Nice work! :D

mir-vadim
05-22-07, 11:56 PM
It divides four times. It`s enough to keep mesh as sharp as pissible.

Roland Kaiser
05-23-07, 02:28 PM
Cool Man,

many thanks for posting that

Cheers

Roland

mir-vadim
05-24-07, 01:37 AM
Hi, today I changed macro to plugin. Check out first post.

andreseloy
05-24-07, 03:27 AM
Hi mir-vadim look this advice from aurick about the best place to put new things to Z3.
http://www.zbrushcentral.com/zbc/showthread.php?p=358540#post358540
Andreseloy

if i understand well you want to put it better in the : Pixologic\ZBrush3\ZStartup\ZPlugs

lemonnado
05-24-07, 04:29 AM
Awesome! Another work step automated!
Lemo :tu: :tu: :tu:

mir-vadim
05-24-07, 04:31 AM
Thanks a lot for your advice andreseloy, I already fixed this mistake.

mir-vadim
05-24-07, 08:19 AM
Hi, I added new Layer feature, check second update in first post.

andreseloy
05-24-07, 08:53 AM
Thanks a lot for your advice andreseloy, I already fixed this mistake.Thanks for made smart and usefull plug:tu:
Andreseloy

poda
05-24-07, 08:58 AM
Great insight. Can't wait to try the tool.

Thanks Mir-vadim

Polaris30
05-24-07, 11:39 AM
Awesome!

ricardo_sousa11
05-24-07, 11:42 AM
i dont know if i made it right...but can anyone explain me how do i get those sharp details ? i made a new layer,then divided by the plugin...but it gets the same..why ? can anyone explain step by step for me...thakns =)

mir-vadim
05-24-07, 12:08 PM
You mustn`t create layer, just import model and divide using plugin, make sure that model in edit mode and it have not any divide levels. Thats all.

Erklaerbar
05-28-07, 04:46 AM
î like the idea with the layer, very nice, dial in and your creases:tu:

highlander_72
05-31-07, 09:09 AM
Wonderful!

Many thanks for this very useful tool! :tu:

feureau
05-31-07, 10:39 AM
Sweeet! Thanksssszzzzz!!!

Blaine91555
06-03-07, 12:02 PM
Thanks so much :tu: :tu:

zerodean
06-09-07, 03:07 PM
I'm looking forward to using this! Thanks for making it!

rhinomax1
06-16-07, 08:32 PM
where is the CreaseDivide for z2? i had down both of CreaseDividePlugin.zip (http://www.zbrushcentral.com/zbc/attachment.php?attachmentid=57491) and CreaseDivideForZ3.zip (http://www.zbrushcentral.com/zbc/attachment.php?attachmentid=57521),only in z3 can use it.

MirVadim
06-17-07, 08:49 AM
Just to avoid chaos I reupload them.

rhinomax1
06-18-07, 04:25 AM
thanks.MirVadim.

SNARK
08-29-07, 05:24 AM
Thanks, Mir.

Neat little plug-in. Is there a way to dock the button at the bottom of the tool palette or is it made to work only from the plug-in palette?

~S.~

MirVadim
08-29-07, 12:42 PM
Thanks and yes, it pissible. Here modified version.
Now it will be docked at the bottom of the tool palette.
Put it in ZBrush3\ZStartup\ZPlugs folder.

SNARK
08-30-07, 05:51 AM
Thanks, Mir!

~S.~

MirVadim
11-16-07, 03:03 PM
Sorry, I didnt mention, but "Tool" version will work only if standard "Plugin" version is installed.

kelvin273
04-16-08, 02:42 AM
Hope this simple plugin will help YouOh yes it will - I can assure you! ;)
Thank you very much for this handy Plugin! :tu:
Cheers
kel