Texture baking Maya tutorial

Using maya projections for texture reference


maya projection texturingWhen you are trying to match the texture details from a real image, it can be difficult to get it right just by looking at it. In this post I am going to share how using maya projections can help you in your texturing tasks. The basic idea is to project your image reference in the geometry and bake that texture to UV space.

Maya scene setup

This is the 3D scene that I am working on and the particular object that I am trying to “texture match” is that handrail, highlighted in the above image.

As you can see I have loaded the reference image as an image plane, in this particular scene it is an exact match of the reference image, but you can use this aproach matching just one particular object that you want texture detail.

Then you will need to make some clean uv’s, in this object I gave more texture space for the part that will be visible to the camera, that’s why I have bigger “patches” than others instead of the recommend aproach to have 1:1 scale in your uv’s.

Maya projection

Now we will project our reference image into our selected object so we can get the texture detail. Open hypershade and create a surface shader, then create a file node as projection, set it to perspective and link it to your camera. The file node will have the reference image.

Baking the projection

Now select you object and open hypershade, add the surface shader to the selection and go to Edit > Convert to file Texture (Maya Software) [], open the option box for this command and set your file extension and resolution as needed.maya align image ate a new material with a file texture.

You should get something like the above image, we projected our texture and baked it to UV space, so we can use in photoshop as a guide/reference. Select your image file, open the attribute editor and copy the path where the image has been saved, so you can load it into photoshop.

Photoshop texturing

Export an image of your uv’s and open it in photoshop along with your baked reference texture. Put your uv’s on the layer above as guide. Now you can use the baked reference image to match the texture scale, details, position, etc.maya uvs e painting your real texture or loading your wood textures. Sometimes I convert this baked texture to a black and white image, sharpen it and use it as an overlay on top of my final diffuse texture. This doesnt mean you have to make the texture exactly the same, just use it as reference. There are many uses for this technique, this is just a simple example.

Final Result

In the end I was happy with the wood texture, and the baked reference was very handy to get the texture scale/ details. I might tweek it here and there to get a better result but it’s a good start I think.

maya 3d scene maya surface shader projection maya convert file texture bake maya baked texture


More about Texture baking Maya tutorial

Alias Maya 3D Rendering

by whasaa

Here is a short list of my Maya Collection if you like any of these email me at CodeBusterx@yahoo.com Each DVD/CD $10.00 for download only.
Alias Maya Digital Tutors Fundamentals DVD
Alias Maya Gnomon Rendering DVD
Alias Maya Gnomon Texture Painting Fundamentals 2DVDS
Alias Maya Gnomon Texture Painting Weathered Surfaces 2DVDS
Alias Maya Enoble Tutorials 2DVDS
Alias Maya Understanding Fluid Effects CD
Alias Maya Techniques Exploring Particles CD
Alias Maya Techniques Rig Body Simulations For Visual Effects CD
Alias Maya Techniques Using Mental Ray CD
Ali

Charles River Media Introduction to 3D Graphics & Animation Using Maya (Charles River Media Graphics)
Book (Charles River Media)

CorelDRAW X7 review: Customizable features make this robust design program ..  — PCWorld
.. purchase, as well as a $25 monthly subscription. People miffed by Adobe's wholesale move to subscriptions will find a great alternative here. ..

Galaxy 61 Delivers Show Open for VH1's 'The Fabulous Life  — Animation World Network
VHI recently called upon Galaxy 61 to create a show intro for the new 2014 season of The Fabulous Life, the hit series that reveals the extravagant places, possessions and pastimes of pop-culture's most famous celebrities. The Brooklyn-based ..

Hunterdon County Polytech students bridge the gap thanks to local Rotary Clubs  — Hunterdon County Democrat
This year's Job Fair, on March 25, attracted the Dave Gansfuss Allstate Agent for an agency logo; G&H Publishing and author Katherine Kurz for children's book illustrations; Artiste Salon for a new logo, brochure and social media materials; St.

Related Posts