ZBrushCentral

Z4 Beta Testing By: Steve Warner

Introduction

            My name is [email="steve@stevewarner.com"]Steve Warner[/email].  I'm the 3D Modeling Instructor at the [Digital Animation and Visual Effects School](http://www.daveschool.com/demovfx/index.php) and the author of three [best-selling books on LightWave 3D](http://www.amazon.com/Essential-LightWave-v9-Fastest-Easiest/dp/1598220241/ref=sr_1_3?s=books&ie=UTF8&qid=1281385842&sr=1-3).  I began using ZBrush in 2003 with version 2.0 and went on to write the official [ZPipeline Guide to LightWave](http://www.pixologic.com/docs/index.php/ZBrush_to_Lightwave) for Pixologic.
    
    Working with ZBrush 4 has been absolutely incredible.  The tools and workflow enhancements in this new version have yielded one of the most powerful and easiest to use 3D applications on the market.
                   
                   ZBrush is widely known for its outstanding organic modeling tools.  But starting in ZBrush 3.0, a variety of hard-surface tools began appearing  in the program.  With the advent of ZBrush 4.0 (and features like Shadowbox and the new Clipping brushes), I wanted to see if ZBrush was truly up to the task of hard-surface modeling.  
                  
                  My primary 3D application is LightWave 3D.   LightWave (and its spinoff Modo) have long  been been recognized for their exceptional modeling tools. Hence, my expectations of what a program should offer for hard surface modeling work are quite high. The tools need to be fast, easy to use and produce great results.  I'll be honest when I say I wasn't expecting much.  But I was absolutely stunned by what I found.  The hard surface tools in ZBrush 4 are astounding. They fit perfectly into the "sculpting" paradigm used throughout the program and make complex models a breeze to create.   
                   
                   Here is the result of roughly two weeks of work, done entirely in ZBrush 4:
                   
                   [![001.jpg|1198x906](upload://tUjulU653755aymeX7B1AO28XRm.jpeg)]![ClothDynamicPreview.jpg|320x1346](upload://kA893WtzvuPjR9skuz3lTjbCg1Z.jpeg)
           
                <b>Animating Tread</b>
           There is an old trick to creating tank tread animation in LightWave using morphs.  (Virtually anything you can do with morphs in LightWave, you can now do in ZBrush.)  The trick basically involves moving each piece of the tread by one tread space.  When animated, the tread will appear to move seamlessly.  I did a quick proof of concept to see if this would work:
     
     [youtubehd]ZgXsZPFbxfg&hd=1[/youtubehd]
           
           With a successful proof of concept, I moved on to creating the final animation.  I began in ZBrush by consolodating my tread down to a single mesh.  Your animation is recorded per Subtool, so it was important to make sure my tread was all on one Subtool.  To do this, I used the Merge Visible option. 
           
           The resulting object consisted of roughly 60 pieces.  (I didn't add tread to the top as it wasn't visible and would only bog down my model.)  To ensure that I could quickly select each piece in the one Subtool, I went to the PolyGroup menu and chose the "AutoGroups" option.  AutoGroups will assign a new group to each distinct (unweld) mesh in your Subtool.
           
           Next, I duplicated the Subtool (so I could have a guide showing where my tread was and where it needed to go to).  I used the Transparency option with Ghosting enabled to help see the second tread tool.
           
           To set up an animation, you need to record the Subtool's deformation.  To do this, I went to the Tool | Layers menu and created a new layer.  This put the layer in Record mode - ready for deformation.
           
           Next, I selected a single section of the tread by holding CTRL+Shift and clicking on it.  This hid everything but the piece I wanted to work on.  I then used the Transpose Move and Rotate tools to position the piece against the ghosted background object.  
           
           When I was finished, I showed the remaining tread pieces, selected the next one in line, and repeated the process.
           
           When finished, I turned off the recording for the layer and dragged its slider.  I could see the entire tread move forward by one tread piece.  To get this to loop, I needed to record the animation to an MDD file.  
           
           I enabled the Timeline and positioned my camera.  Then I clicked on the timeline to create an initial keyframe for the camera at Frame 0.  I added another keyframe about half-way down the Timeline.  
           
           In order to animate in ZBrush, your camera needs at least two keyframes.  The camera's keyframes determine the "recordable" portion of the timeline.  And the length of the timeline itself can be adjusted (in seconds) in the Movie menu.  
           
           With the camera now set up, I went back to my tread deformation layer and clicked on it.  The Timeline will only show the track for the current "element" (be it the camera or an object's layer).  Clicking on the layer selected it as the active element.  Next, I created a keyframe with the tread layer at 0% and another keyframe (where I set the camera's second keyframe) at 100%.  Scrubbing the timeline, I could now see the animation.
           
           I clicked the button in the Movie menu to store the MDD file and gave it a name.  Then I CTRL+Shift+Clicked on area below the timeline to record the animation.  This also stores the MDD file.  
           
           Once the MDD file was created, I disabled it in the Movie menu (so that it wouldn't be overwritten).  I then went to the Layer menu and loaded the MDD file there.  
           
           To get the MDD file to show up, you need to place a keyframe for it on the Timeline.  The location of the keyframe determines when the MDD file will start playing.  
           
           You can now control the MDD start time (via a keyframe on the timeline) and the MDD playback speed (in the Layer menu).
           
           I repeated this process for the wheels and gears.  The primary obstacle with these, however, was their circular nature.  I couldn't just rotate the wheel.  I had to rotate it in small increments by creating multiple Layers.  And even then, I found that the deformation would cause "swelling" and "shrinking."  So to offset this, I created "counterbalance" layers which compensated for the size change.  
           
           Another obstacle I encountered was the back gear.  Since it "grabs" the tread and helps pull it along, it was crucial that it be timed properly with the tread animation.  Unfortunately, however, the back gear is assymetrical.  It could not be rotated 10 or 20 degrees and then looped.  It would have to be rotated a full 360-degrees.  And since wheel rotation is not easy with linear morphs, this became a major undertaking.  I ended up animating the back gear separate from the rest of the tread and wheels.  To get it to sync up to the tread, I used the MDD Playback Speed settings in the Layer menu.
          
                I did several tests along the way before getting to the final.  Here are two work-in-progress animations. 
     
     The first shows the finished tread animation.
     
     [youtubehd]p6H_fdSkVu0&hd=1[/youtubehd]
     
     The second shows the tank moving over a large terrain.
     
     [youtubehd]bp6_0P-TdT8&hd=1[/youtubehd]
     
    In order to get the tank (with its multiple subtools) to move along the ground, I simply animated the ground, leaving the tank in place, and then moved the camera to help hide the illusion.
     
     Here is the final animation rendered with BPR and the metallic material I created.
                
                [youtubehd]sl8iKkxiljw&hd=1[/youtubehd]
                
          
                   <u><b>Conclusion</b></u>
            
                  It's been a privilege and honor to be a part of the beta team and to work alongside artists whom I have admired for years.  
                   
                   I want to thank Pixologic (and in particular Jaime, Paul and Ofer) for the tremendous opportunity they gave me, and for the chance to prove that ZBrush is no longer just a great organic modeling program.  It is now one of the best hard surface modeling programs as well.

Attachments

001-reflective.jpg

005-reflective.jpg

003-reflective.jpg

002-reflective.jpg

008-reflective.jpg

007-reflective.jpg

009-ao.jpg

011-ao.jpg

010-ao.jpg

Chain_Preview.jpg

Rope_Preview.jpg

Step-01-1024x768.jpg

Step-02-1024x768.jpg

Step-03-1024x768.jpg

Step-04-1024x768.jpg

Step-05-1024x768.jpg

Step-06-1024x768.jpg

Step-07-1024x768.jpg

Step-08-1024x768.jpg

Step-09-1024x768.jpg

Step-10-1024x768.jpg

Step-11-1024x768.jpg

Step-12-1024x768.jpg

Step-13-1024x768.jpg

Step-14-1024x768.jpg

Step-15-1024x768.jpg

Step-16-1024x768.jpg

Step-17-1024x768.jpg

Step-18-1024x768.jpg

Step-19-1024x768.jpg

Step-20-1024x768.jpg

Step-21-1024x768.jpg

Step-22-1024x768.jpg

cool tank! thanks for tips and brush-files!!

chem!

Awesome, thanks man!:+1:

Steve those UV map tricks blew my mind. Free alphas, info on how to clean/re-crisp shadowbox created objects. Much appreciated:+1:

I see a slight “hiccup” in the tank tread animation… is it posible to clean that up completely?

Amazing work there, btw!

Hey Steve. Great thread, very informative.

Question though:
In your UV Master Tutorial you are smoothing your flattened geo to paint on it. Don’t you - just by the process of smoothing - change your UV borders slightly this way ? Even with crease active you would get different borders just by having more polys there. And once you step down to level 0 again Zbrush might average the vertex position so suddenly level 0 before smoothing and level 0 after are just a tiny bit different. Isn’t that a problem ?

Thanks,
Jens

P.S.: Your Tank Step-by-Steps don’t seem to be working. Or is that just general Releaseday Server crazyness.

Probably server madness… I viewed them wihout issue.

EDIT: Yep, the step by step images are busted here as well…

Where’s mah damned email???

EDIT: I got’s it!!! Woo Hoo! :wink:

Your step by step images are broken and i would REALLY REALLY LOVE to see them… beautiful work BTW

A lot of valuable information here… Thank you very much for sharing… congrats on such a cool looking tank…

** Apologies to all for the Step-by-Step images being down. I re-uploaded the images and everything should now be working. Please let me know if you continue to have trouble viewing them. **

@ chemkid: You’re welcome!

@ It's Alive!: Awesome! Glad you found them helpful. :-) @ Gareee: The hiccup is due to a bug in the MDD playback when it attempts to loop. I noticed this early on and reported it but in the last beta build, it was still happening. I thought it might be something in the way I set up the animation, so I exported the mdd and ran it on the geometry in LightWave and it played back fine. No hiccups. Same thing happens when importing MDDs from other programs. You'll get the hiccup even if your animation is flawless. I suspect this will be an easy thing to fix but was simply not a critical bug to catch before the release date. @ campi: Thanks! Glad you found the info helpful. With regards to the UV issue, the answer is yes and no. This gets a little tricky, so hang in there: 1. If you don't crease the geometry, you will see the polygon borders shrink when you subdivide (as expected). This can cause a minor degree of stretching when painting, but it's not too extreme. 2. If you crease the geometry, it will maintain the polygon borders. I checked both the freshly unwrapped UVs and the creased-subdivided-then-return-to-Level-0 UVs in LightWave and there was no size change. 3. If you want to be absolutely certain that there is no stretching, don't use Crease. Simply turn off the Smooth option (SMT button) in the Geometry menu. This will simply subdivide the polygons in place without changing their shape. Now, technically speaking, both Crease and Subdivide without the Smoothing option turned on will produce UVs that maintain their borders and don't lose their shape. However it appears that over the past few beta releases, something has changed which is causing the UVs to move slightly when you unflatten the mesh. It's not that the size of the geometry has changed. It's that the position of the UV chart has shifted by about 10 pixels. This wasn't happening when I recorded the video, but it's happening now. There are two ways to fix this. Solution A: Rather than dropping to the lowest subdivision level and unflattening, simply stay at the highest subdivision level, then press Unflatten. It will ask if you want to transfer the results to your low resolution mesh. Just say no. It will effectively "cancel" the effect of the subdivision, leaving your original UV (prior to subdivision) in tact. You can then apply your texture map and everything will line up fine. Solution B: Avoid the crease option and instead choose to turn off the Smooth subdivide option (SMT button). The smoothing is what's causing the mesh to shift. So even though creasing maintains the size of the UVs, it will not prevent them from shifting. (This is clearly a bug, so we're having to jump through hoops to work around it.) By turning off the "Smt" button, the geometry subdivides and remains in place. When you go to the lowest subdivision level and choose "Unflatten" the UV geometry will not shift and everything will line up just fine. I'll put another video together showing this today or tomorrow and add it to my post. @ Clintus Maximus: Thanks for your interest! I re-uploaded the Step-by-Step images. I can see them on this end. Try again on yours and let me know if you're still having trouble. @ dragoned: Thanks so much! :)

a very useful thread, really!!!
thank you very much for sharing your knowledge with us …

(forgive my poor english:)

So let me get this right, you give us ONE week to model every little detail of this, and you get two? AND ZBrush 4 early? Man…

Anyway, great work as always Steve! Thank you so much for all the tutorials!

@ artstudio3: You’re welcome! I’m glad you found it useful!

@ Airhendrix: LOL! True, but that was in LightWave. Its hard-surface modeling tools are almost without equal. :slight_smile:

Steve, i am so giving you a back rub for this… next time i am in town its on!

WOW, MAN!!! That’s just AMAZING! Thank you for sharing the screen grabs and how to - I’m speechless and showing all of my friends what you have done. Unbelievable!!!

Mike

Awesome work, Steve! (as always)

@ Kenny: LOL! You’re on! :slight_smile:

@ ChillWill Graphix: Thanks, Mike! That really means a lot to me! I sincerely appreciate it!

@ Melissa: Thanks!

Steve, Why’s that stuff all pink in the installed documents folder tutorials pdf? lol Just curious…

Later and thanks again - Mike

Thanks for that info about the animation issue. Good to know in advance.

I got my email and insalled already. I have a space navigator, but it appears that they still have not implimented support for it.

Do you have one, and if so, am I missing a preference setting for it, or is it not there (hopefully yet)?

@ ChillWill Graphix: LOL, Mike! I have no idea. Believe it or not, I still haven’t gotten my ZB4 email yet, so I’m still working off the beta. :o I’ll have to check that out when I get my official copy.

@ Gareee: Happy to help out. I’m jealous about your Space Navigator. Unfortunately I don’t have one. LightWave never supported it so I had to sit by on the sidelines and drool at everyone else. :stuck_out_tongue: I don’t believe ZBrush supports this but I’ll ask and let you know what I find out. :+1: