ZBrushCentral

Modo ZBrush displacement Workflow tutorial

plus_modell_in_ZBrush.jpg
Because many people asked me, I made a little Modo-ZBrush tutorial (UV-ing in MODO - Exporting dispmap from ZB - Applying displacement maps in Modo).

The tutorial can be found in 3d total’s free stuff/tutorial/general section: [color=darkred]3dtotal

The Zscript and the base model of the sculpting is here: head_sculpting.zip (running ZBrush script: Zscript/load Zscript). The ZBrush script contains the saves also.

Nice sculpting. I like how the facial fat and skin almost hangs on the skull.

It seems like he needs the last level of bump and wrinkles to push it some more.

Nice workflow.

Wish I knew Modo.

:+1:

I think there’s seomething wrong in your script…
You must have an option enabled (rotate model), because its screwed up on my computer…
It sculpt the back of the head, not the front…

Here’s the working head:

hey it wont work for me either what size canvas should i have in order for this to play properly

Did you tried with the new head?

Yes i did it just doesnt seem to be sculpting anything just moving the model almost as if the piot point is set wrong whats the proper canvas size i should be useing because its not working and i would like to see this. could sombody maybey create a video of the process because i would like to see this.

Yes, something is wrong with my script.

With certain settings ZBrush plays it wrong. I don’t know what could be the problem. Try playing the ZScript with these settings (It works for me this way.):
ZScript_options.jpg

troy1617: It doesn’t rotate around the pivot point, but around the recent editing point (Local Transformations), that’s why the model can’t always be seen completely on the canvas.

Excellent sculpting Trurl, I enjoyed watching that :+1: Thanks.

 I edited your zscript recording to play properly and uploaded it below. Hope you don't mind.
 
 The playback problems arose from your <b>Preferences &gt; ImportExport</b> settings causing the model to be imported incorrectly on some machines and the size of the canvas set by your <b>StartupDocument.zbr</b>.
 
 When recording a zscript the ImportExport settings can be gotten around by loading a <b>.ZTL</b> instead of importing a <b>.OBJ</b>,  supplying your <b>.CFG</b> (preferences) file or by editing the recorded zscript afterwards. The failsafe and easiest methode is to load a .ZTL as the starting mesh.
 
 If you are using a StartupDocument to automatically set the size of your document you should supply that with the zscript recording or edit the zscript recording to set the canvas size.
 
 Editing the zscript recording might seem daunting but it can be quite easy and also useful for highlighting certain things. For example;
 
 <b>1:</b> Instead of supplying a StartupDocument.zbr with your recording you can edit the zscript recording. Simply open the recording in a text editor and insert the following after the zscript command <b>[IReset,,2.0]</b>. 
[ISet, Document:Pro, 0]
     [ISet, Document:Width, 900]
     [ISet, Document:Height, 675]
     [IPress, Document:Resize]
     [ISet, Document:Pro, 1]
 You should of course edit the height and width to the canvas dimensions you used while recording.
 
 <b>2:</b> If due to habit you often save your model while recording it can be slightly irritating to watch afterwards. Open the zscript recording in a text editor and do a search for [i]<b>save</b>[/i]. Delete all lines that say <b>[IPress, Tool:Save]</b>. If you need to save or export during your recording you can use tip #5.
 
 3: Sometimes there are some areas you would like to highlight, either by inserting notes or by slowing down playback speed. Although you cannot do either of these while recording you can help yourself remember where to insert the commands into the recording by using a ZBrush function you do not normally use or which has no effect on the playback. For example, try pressing <b>Marker > On/Off</b> when you know you want to insert a note or change the speed of the playback. When done with the recording open it in a text editor and search for <b>Marker:On/Off</b>. Then you can delete that line and either insert
[Note, "This is where I refine the nose"]
 to convey information, or..
[Iset, ZScript:Replay Delay, 1000]
     [Iset, ZScript:Show Actions, 1]
 to highlight the following actions.
 
 This is also a good way to hide all your mistakes while modeling. Simply search for all <b>Tool:Undo</b> commands and delete that command and the one before it. Everyone will think you are a ZBrush wizard when they play your recording  :D  (remember a command is enclosed by <b>[</b>[i]command[/i],.....<b>]</b>  and may span several lines in your text editor of choice)
 
 4: If you must supply a model in .obj format you should start your ZScript recording session by holding the SHIFT key and pressing <b>Standard</b> on the title bar. This resets all ZBrush settings to what they would be on a fresh ZBrush install (you can still press <b>Custom </b>or restart ZBrush to regain your old settings later on). When you import the .obj you might then have to use the <b>Tool > Deformation</b> sliders to rotate your model but the playback of the zscript recording on other computers will be correct.
 
 5: If you need to load or import a model/texture/alpha/material etc you can make it happen automatically when the recording is played back. After the Zscript recording is done open it in a text editor and search for <b>[i]Import[/i]</b> or <b>[i]Load[/i]</b>. You will need to remember what you imported or loaded but otherwise it is a simple matter of inserting the following   before the import or load command.
[FileNameSetNext, "Head.obj"] //change head.obj to your file
     

As long as the file is in the same directory as your Zscript recording ZBrush will find it on all computers.

 Again, thanks for your script. A pleasure to view.

Hi Mark,

Very useful summary on customizing a recorded ZScript. You might consider making a more general version of this for in the sticky post of Suggested ZScript Functionalities.

Have you tried adding info to the Wiki yet? That’s another place something like this (also in a bit more generalized version) would be very helpful to anyone wanting to upload a tutorial containing a captured ZBrush session.

Sven

TVeyes: Thanks for your help and your summary on customizing a recorded ZScript.
I would have liked to edit out the unnecessary undos, and mistakes from the ZScript, but I couldn’t find any useable tutorial about editing it. Your tutorial was a great help. Thanks again.

I think so. :wink: