Join David Mattingly for an in-depth discussion in this video Adding the sky, part of Digital Matte Painting 5: Camera Projection in Maya.
The last piece of geometry we need to add is for the sky. We're going to create this out of a sphere again, so go up to the top menu to Create > Polygon Primitives > Sphere and open the side box. 60 by 60 will work for this, don't use any less than that. Go into the Perspective View, hit the F key to focus in on the sphere. Now, let's scale this up so that it's large enough to cover everything between the castle and the image plane with your painting on it.
Now, move it down, and you can move it forward a bit. The reason we're positioning the sphere like this is that the clouds right above our head are much closer than those near the horizon. The clouds right above you are maybe a thousand feet away, while those near the horizon are probably miles away. By lowering the sphere that the sky will be mapped to, we can reproduce that effect of having the clouds curve above our heads. Return to the Projection Cam view. We are going to want to keep only the faces that the sky is projected on, not the entire sphere.
So we need to see all around our picture. Go up to View > Camera Settings and then choose Over scan. That gives us a border all the way around. Select the sky, and then turn off Soft Select. And choose Faces from the right-click menu. Select all of the faces around the edge of the view. Go to Edit. Choose Invert Selection And then delete all of those faces. We don't need them for this guy so it's helpful to just get rid of him.
Go back into the Prospective Cam, we have some ragged edges, select them and press delete to clean them all up. Now the sky is a much more manageable size. When we go back into Object Mode, and select the sky, you'll notice that the transform jack for the sky is out here, where the center of the sphere used to be. That's not very handy for transforming it, so go up to Modify, and choose Center Pivot. That centers the pivot right where you would expect it to be, in the middle of the sky.
Let's go back into the Projection Cam view. I'm going to save this file with all the rough geometry completed for you premium members in the scenes folder as 2_CameraProjection_RoughGeometry.ma. We're ready to start projecting the textures, which we'll do in the next lesson.
- What is camera projection?
- Isolating the layers in your painting
- Setting up for projection camera
- Adding geometry
- Projecting textures
- Animating the camera
- Vertex modeling
- Animating the background
- Adding flames, smoke, and glows
- Rendering your project