PDA

View Full Version : Tutorial: Cloning a Photograph to Your Textures



aurick
02-21-02, 12:21 PM
Certain high end texturing programs are capable of taking a photograph and cloning it onto your 3D Model.
The question has been raised: can ZBrush do the same thing? The answer is a resounding YES!

In fact, there are two different ways that this can be accomplished, depending on your needs. And as someone who
has used the "other programs", I have to say that ZBrush's technique is actually far more user friendly and gives
much better results.

The first technique, which is to use 3DCopy and transfer the photograph wholesale to your object has been
discussed at length by Pixolator in 3D Texturing Made Easy (http://www.pixolator.com/zbc-bin/ultimatebb.cgi?ubb=get_topic&f=1&t=000124), so I'll refrain from going into it here.

But what if you only want to transfer the photograph to certain parts of your model, rather than the whole
thing? Enter this technique:

http://www2.zbrushcentral.com/zbc_uploads/user_image-1014317968vks.jpg

The process is very simple.

:b2: Step 1 For your first step, you need to place the photograph that you wish to use on your first
document layer. In this case, since I wanted to apply a butterfly wing to a skin texture I decided to first
fill the layer with a basic skin texture and the FlatColor material. This way, any bleed over in my copying
method would still be a basic skin tone. I next placed the butterfly wing by drawing my wing tool over top of
the skin texture.

:b2: Step 2 Next, create a new layer and import your object. Choose the Basic Material for this
step and set its transparency to somewhere around 70%. In the Render palette, turn Flatten Layers off so that
the transparency can be seen as you work. You can now draw the object (in this case a Poser head with a texture
already applied) on the canvas, then use Transform modes to move, scale and rotate it into position over
your photograph. Because the head material is transparent, you can see right through it for exact placement.
This transparency will NOT affect your texture, however. Figure 2 shows the head in place, ready for
the TextureMaster.

:b2: Step 3 Using the TextureMaster, drop your object in position. Select the
Cloner Brush and in its modifiers turn off everything except Layers Mode (this mode allows you to copy
information from other layers onto the current layer). Next, go to the Draw palette and turn off
everything except RGB -- you don't want to paint materials or depth, just color. Turn the RGB Intensity all
the way up to 100. I also used a harder edged alpha to give me sharp edges with my painting.

At this point, I simply picked a starting point and Ctrl-Clicked to set the clone origin. Without moving
the mouse, I clicked again to set the destination as being immediately over the origin, and started to
paint. The Cloner Brush grabbed the color from the background layer and painted it directly onto my model.
In just a few minutes, I had what you see in Figure 3, which was captured immediately before using the Pick
button on the TextureMaster.

:b2: End Result Voila! The TextureMaster copied my cloned butterfly wing directly to the
original texture. In Figure 4 I have redrawn the figure with the new texture applied and added a
couple of eyes. As you can see, the wing really looks awesome and textured flawlessly onto the
object without distortions. The edges where the skin tones don't quite match could easily be fixed
in Photoshop, or even by unwrapping the texture and using ZBrush's 2D tools. Other methods (either Photoshop
or ZBrush) could be used to duplicate the butterfly wing for the opposite eye.

Now, how does this compare to something like DeepPaint3D with Texture Weapons? Aside from being
MUCH less expensive, I found that ZBrush's technique was far easier to work with than the much vaunted
"Projection Painting". DP3D/TW gave me quite a bit of distortion when the projection was
transferred down onto the model. It was also a royal pain trying to line the model up with the photograph.
ZBrush gave me near perfect results immediately, with no difficulty at all lining the model up
over the photograph and an absolutely perfect transfer to the texture. ZBrush wins, hands down.

Have fun!

upham
02-21-02, 01:11 PM
Ohhh! I've got a good home for all this information! Thanks Aurick!!

Great tutorial!!

Upham :)

Stonecutter
02-21-02, 01:14 PM
FANTASTIC, MATTHEW!!!
You've outdone yourself here! This is one of the clearest and most beautiful tutorials I've seen yet from you, and you've always been the Master of Clarity!!!

:tu: :tu: :tu: :tu: :tu: :tu:
Really useful technique, and another illustration of the power of ZBrush!

DM
02-21-02, 01:51 PM
Excellent information, thanks Aurick
Dave

Digits
02-21-02, 03:01 PM
I agree you have the gift of clarity. Thanks once again for taking the time to share.

Le Discot
02-21-02, 03:12 PM
YESSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS!
GR :o :o EEEEEAAAAAAAAAATTTTTTTTT!

boozy floozie
02-21-02, 03:41 PM
Great tutorial Aurick and if I hadn't already bought the application,I would have after that.
Bravo.

aurick
02-21-02, 06:43 PM
I'm glad you found it useful! To be honest, I learned quite a few things while putting this together.
I wasn't even entirely sure that it was possible when I woke up this morning. :)

DeeVee
02-21-02, 06:56 PM
Thanks Aurick, Like I always said you have a gift for using the written word to explain things in a very clear and easily followed manner. I will certainly give it a try. I also hope that Pix is given the go ahead to use it in the new version.

Muvlo
02-21-02, 08:54 PM
Thanks Aurick! I always love your tutorials on all these different things... :)

juandel
02-21-02, 11:10 PM
absorbed it while reading through it (i think :)) you have magic ways to explain things for sure, Aurick! :D

- juandel

drjjwow
02-22-02, 01:05 AM
excellent tut my friend ive never used the clone brush but i think i have a better understanding about it now thanks to you and others.. great tut its headed of to my favorite topics list...and then on to printing...

Ron Harris
06-02-02, 03:08 PM
another awesome oldie but goodie :tu:

Stargo
06-02-02, 04:08 PM
Great tutorial, Aurick :tu: :tu: :tu:

stargo

ringbearer
06-02-02, 09:53 PM
I'm not getting the part where you draw with the butterfly wing tool...how do you make a tool from the photo?? The butterfly wing is the photo isn't it??? Thanks for any help you can give!

Arleen

wenna
06-02-02, 09:59 PM
wow great tutorial!! Thanks! :tu: :tu:

Dax
06-03-02, 12:10 AM
hi aurik!

thats a fantastic tip that you have posted....can u suplement this with a script if possible? i am not able to pick the layer for clonnning....

am very very new to zbrush and texturemaster :)

thankx

thelonious
06-03-02, 12:36 AM
Brilliant.

I don't fully get it yet so I'll have to give it a run through.

T

Scougall
06-03-02, 12:37 AM
Ditto to whats been said. Looks sensational. I'll have to check it out.


http://www.bestcheck.biz/sig1.gif (http://www11.brinkster.com/view/peter/index.htm)

thelonious
06-03-02, 05:45 AM
Aurick,

So let me know if I am getting this. First of all if you want to place a photo onto an object you first have to cut it out and make a mask then use the mask to hide points on a plane then apply the texture to the tool. Then the photo is ready to be placed on an object as a tool????

Mentat7
06-03-02, 07:48 AM
I've been using this technique to apply tattoos to my creations. A simple and elegant approach.

aurick
06-03-02, 12:22 PM
You can use any method that you like to create the background layer. In this case (which in retrospect may not have been the best example, after all) I wanted to apply the butterfly wing to the woman's texture. Since I already had the wing as a tool, I used the approach that I've illustrated.

On the other hand, the background layer can also be created in Photoshop. All that you need is the element that you want to add to your texture, set against a background that matches the texture in the area where you want to apply the photograph. If you're very careful with the cloner brush, you can even get away with a black or white background.

Ringbearer: There are two ways to create a tool out of a photograph. The first is to make a texture with a black background. When you apply the texture to the object, turn on the Texture>Transparent Texture button. Everything that is black will disappear. The butterfly had black parts that I wanted to keep. So I had to use a more creative approach. 1) Import both the texture and an alpha of the wing's shape. 2) Create a plane with modified initialization settings to give a very high polygon count. 3) Tool>Modifiers>Selection>ALP to apply the alpha as a mask. 4) Also in the selection menu, click Hide Pts, followed by Clear. The shape of the plane will now match the shape of the texture. 5) Apply the texture.

Again, all of those steps aren't necessary for this cloning method if you simply make the background image in Photoshop.

Hope that clears up the questions. When I wrote this, my butterfly pictures were still fresh in people's minds so I guess that they followed along a little more easily. LOL.

thelonious
06-03-02, 01:48 PM
Ah, I think I've got it now. Awesome technique. I've learned a lot here.

Just a quickie thrown together to see it work.

http://www2.zbrushcentral.com/zbc_uploads/user_image-1023133721aei.jpg

ringbearer
06-03-02, 10:00 PM
THANK YOU!! That makes a lot more sense to me now and it's good to know several ways to do this.

Arleen

SpaceMan
03-16-04, 05:01 PM
aurick
Thanks for the excellent tut

CarmenW
05-23-04, 01:34 PM
I can't get this tutorial to work in ZBrush Version 2! It's as if the Cloaner Brush doesn't work!

Does anyone else use this method to put textures on their models??

Carmen.

Frenchy Pilou
05-24-04, 06:39 AM
Hi Carmen from " "
It's an old tutorial :)
But Aurick has made a sort of Upgrade :)
Wait 5 minutes, I shal try to refound it :)
Pilou
Ps Yep that is one
Slide the page! (http://www.pixolator.com/zbc-bin/ultimatebb.cgi?ubb=get_topic&f=1&t=002107)(bottom )