- View Offline
Now that we've got a basic understanding of how Spotlight works, let's put it to the test with a real-world example. Texturing a model from photographs is a very common task in 3D art. I will show you how to get great results within ZBrush and Spotlight. For this we're going to texture a head, so let's open up the tool menu here and grab the demo head. I need to drag in into the canvas and go into Edit mode. I also want to change this material from this red wax to something that's white, something that doesn't have a color that comes along with the material, because I just want to see the poly painting that I'm going to be doing.
Also, you can see the total number of polygons that are in this model right now; it's only 69,000. We want to have a lot more polygons to work with, so that we can pick up as much detail as possible. Let's divide the geometry a few times. I am going to go up to about 3 million. Your computer might be able to handle one more subdivision, but it will good enough for now. Okay, let's position this head. We want it to be looking straightforward. So let's hold down Shift to make sure it's locked into a front view, and we will just scale it up so we are seeing more of the face on screen.
Now it's time to bring in our textures. Let's go into Texture and we will go to Import and bring in the head_front exercise image. Now that we've got that in, let's click the Texture palette again and go into Spotlight mode. I just want to close Light Box to get that out of the way. Now we can reposition this photograph so it's more directly over the head. So I might want to rotate and scale a little bit to get this lined up.
Let's see, this wheel is just getting in the way right now, so I am going to move that off to the side. And let's see, the mouth is pretty close, nose is pretty close, eyes are pretty close. I just want to use the Nudge tool. It's this one right here, and we can use this to push around the different pixels in the image so they match up closer to the model. So here we got the draw size.
I am going to make that a little bit bigger, so we can make more dramatic changes. And so with the Nudge tool active, we can just push around parts of this image to get it lined up. It looks like the jaw could come out a little bit wider. It doesn't have to be perfectly accurate. There are always opportunities to fix things up and correct mistakes. Something else I might want to do is get the draw size a little bit smaller, so I have finer control over this.
I also want to tweak the nose. It looks like the corners of the nose are a little bit wider in the photograph than they are in the model. I will just push those in, and I will also try to bring the hair up a little bit more; it looks like model has got a lot bigger of a mass of hair. Now every once in a while you might be noticing the white pixels in the image. That's a little bug with Spotlight and it makes things difficult because we have to repaint those areas.
It's not going to make for a very clean transfer, so I will have to repaint those areas to cover up that area, but otherwise it should work fine. Okay, so once you've got the image situated, we're ready to start transferring this to the model. So one thing I want to do is make sure we're seeing a nice preview of what we are going to be painting, so you can just click and drag on this little icon and scale up your preview. That's about good. Now you just hit Z to go into Polypainting mode. So you see you have got a nice little preview of what's going to be painted on the model.
I have got symmetry on right now, but actually I don't want that on because the photograph is not symmetrical and I don't want the textures to be symmetrical either. Now you can just simply click and drag and it's going to brush all in the model. Now you will notice I forgot to put it into Polypaint mode, so I am just going to hit Ctrl+Z to undo that. Make sure you turn on Rgb and turn off Zadd. Very common mistake. I do it all the time. So one thing you might be noticing is the eyeballs are not being textured. That's because the eyeballs are a separate subtool.
Any kind of polypainting affects only the active subtool. Now the hair isn't totally covering the model, but that's okay. We can fix that up from other views, and we are also getting that--like I was talking about before--those weird white pixels. We can deal with those later. Right now, I just want to get something covering up everything that we can see right now, just to have a base to start working with. Okay, let's take a look around the model and see what's happened. Most of the front of the face looks pretty good, but we do have some weird things happening. For example, the sides of the face are really only picking up any texture information from a very glancing, shallow angle and so it's resulting in a lot of stretch, and things aren't quite accurate. That's okay.
We can pick up a lot of this detail from side photographs. Something else to look at is in the photograph the nostrils weren't quite positioned where the nostrils of the photograph were, so we can clean that up easily. I just want to position the model, so we can see those spots nice and clearly, and then I am going to turn on Z, so that we can turn on the Spotlight again. And I just want to position this photograph so that there is some neutral skin tones are right here where those spots are showing up.
Now I can hit Z again, and what I want to do is just drop my brush size down so we can come in and just paint out those areas. Something I also might want to do actually is turn down the Rgb Intensity. You can see that that painting is kind of painting a harsh line around it. I just want to bring down the intensity so that we can paint more gradual falloff, so I am just going to undo that painting that I did and just paint with a lower intensity so that we don't see that brushstroke quite so obviously.
All right, well I think we are ready to start projecting from the side. So I just want to move them all around. I am going to hold down Shift, so we can lock in a side view. Okay, it's locked in. Move the image roughly to the center and hit Z to bring back the Spotlight. Now we want to bring in a different photograph right now, so I am just going to hit X to close out of this. I am going to go into Texture and import the other exercise file. And we just want to load that up in Spotlight now. And just like we did before, we are going to try to position this over the model.
Rotate is going to come in handy here. I am going to move this off to the side because it's just getting in the way. So I am going to scale. It's looking pretty good. The only issue, it looks like there are just some parts of the face that aren't quite lining up, so as before, we can go into Nudge mode, and see my Draw Size needs to be much bigger. I am just going to work this into position.
Something else I might want to tweak is the brow, make sure that my photograph is lining up nicely with that. It actually helps if the photograph is slightly larger than the model, just to make sure that you are going to get full coverage. And looks like my lips might need to come out a little bit farther just to meet up with the model. I am also going to pull the hair out a little bit so make sure we get full coverage on that.
Whoops, that is not what we wanted. I am going to hit Ctrl+Z to undo that. Actually, Ctrl+Z does not work on the positioning of the image over the model, so I am going to have to reposition that manually actually. It's looks like we have got some of those stray white pixels again. We will just have to deal with those manually. All right, well that's pretty close. Let's take this into Polypainting mode. I'm just going to Z. And one thing you might notice is--I will just rotate here.
We want to turn on Symmetry now, so that we are painting on both sides of the head at the same time. I am just going to rotate that back holding down Shift to lock it back into place. Now you notice it's really faint. I forgot to bring Rgb Intensity back up to 100, so now we are going to get the full effect. Now one thing you want to be careful about is not brushing the side view too close to the front of the face. The reason for that is if I start brushing over here on the front of the face, we are going to get that same texture stretching that we were doing before on the side, but it will be on the front where we have already got a nice result and we don't want to mess with it.
I am going to shrink the brush size down a little bit so we can have a more fine- tuned edit right here. All right! Let's see what this looks like. So it's pretty close. There is a little bit of tweaking and fixing up we can do. Let's fix some of these things up on the head, especially in the back of the head. One little trick here is to position some of this hair so that we can paint hair from the side of the head sort of on to the back, and hair is just kind of messy organic thing anyway so nobody is really going to notice that we are pulling hair from the wrong place and putting it on a different place.
You also might want to turn off symmetry when you are working on a place that's right next to the center line of your model because it will be really obvious if the hairs are exactly the same to halves that are close to each other. It might take some back and forth until you can find just the right part of the photograph to paint on just the right part of the model. I also want to rotate the model in a few different angles just so that I can get a different view on it. So I want to clean up this little bald spot here on the back, so I am just going to bring in this photograph over this area too and just as always, just paint out those bald spots and those errors and those little weird things that happen.
So I could continue doing this all day, but you get the idea. Let's get a view of the model from the front side. So now that we have got lots of nice polypainting in this model, we could export this as texture map, for example, and use it in games. When you are all done, you can hit Z to go back into the Spotlight and just click the X here to make sure you are closed out of it. This method of texturing models is used all the time in the film and the video game industries. It's fast and can result in really high-quality textures.
- Navigating the canvas
- Using perspective and floor
- Creating a mesh with a ZSketch
- Extracting from an existing mesh
- Managing subdivision levels
- Working with alphas
- Masking off parts of a model
- Using deformation
- Using subtools
- Deforming with Transpose
- Painting and texturing
- Creating UV maps