Normal Map Creation in Maya: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
 
(6 intermediate revisions by 4 users not shown)
Line 10: Line 10:
(2 triangles, created with the Reduce tool)]]
(2 triangles, created with the Reduce tool)]]


In this tutorial, I created a mesh plane with a subdivision level of 100x100. This plane was sent to Mudbox and edited/sculpted there with Masks to achieve a brick looking mesh.


 
This mesh was sent back to Maya and duplicated. Reduce the amount of one plane by using the "Reduce" tool. I went with a flat plane.
In this tutorial, I created a mesh plane with a subdivision level of 100x100. This plane was sent to Mudbox and edited/sculpted there with Masks to achieve a brick looking mesh.<br />
 
 
This mesh was sent back to Maya and duplicated. Reduce the amount of one plane by using the "Reduce" tool. I went with a flat plane.<br /><br />
 
 


<!--[1]______________________________________________________________________________________________________________________________________-->
<!--[1]______________________________________________________________________________________________________________________________________-->


==== Actual Baking ====
==== Actual Baking ====
Line 27: Line 20:
[[File: Maya baking stp1.jpeg|800px|left]]
[[File: Maya baking stp1.jpeg|800px|left]]


<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
Go to "Lighting/Shading" and select "Transfer Maps".
 
 
Go to "Lighting/Shading" and select "Transfer Maps".<br />


[[File: Maya baking stp2.jpeg|800px|left]]
[[File: Maya baking stp2.jpeg|800px|left]]
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />


A window will pop up, you have to select your <b style="color: white;">target</b> mesh (low poly version), your <b style="color: white;">source</b> mesh (high poly mesh) and your transfering method (there are "normal map", "displacement maps", "diffuse maps", "lightning maps" and "alpha maps"). Use the outliner or viewport to select meshes!
A window will pop up, you have to select your <b style="color: white;">target</b> mesh (low poly version), your <b style="color: white;">source</b> mesh (high poly mesh) and your transfering method (there are "normal map", "displacement maps", "diffuse maps", "lightning maps" and "alpha maps"). Use the outliner or viewport to select meshes!
Line 46: Line 34:
<td>
<td>
<div style="margin-left:10px; background-color: #2D3D2D; padding: 5px; height: 850px; margin-top: -10px;">
<div style="margin-left:10px; background-color: #2D3D2D; padding: 5px; height: 850px; margin-top: -10px;">


<!--[2]______________________________________________________________________________________________________________________________________-->
<!--[2]______________________________________________________________________________________________________________________________________-->
Line 67: Line 54:


* <span style="color: white; font-size: 30px;">Alpha Maps:</span>
* <span style="color: white; font-size: 30px;">Alpha Maps:</span>
Bakes the alpha channel of an object into its texture for a clean transition from e.g. black to fully transparent)<br />
Bakes the alpha channel of an object into its texture for a clean transition from e.g. black to fully transparent)


</div>
</div>
Line 76: Line 63:
<!--[3]______________________________________________________________________________________________________________________________________-->
<!--[3]______________________________________________________________________________________________________________________________________-->
You now can click <i>Bake</i> or <i>Bake and Close</i>. The latter will close the menu after baking.
You now can click <i>Bake</i> or <i>Bake and Close</i>. The latter will close the menu after baking.
<br />


[[File:Maya baking normal result.jpg|framed|center|My Result after baking. Left the source mesh, right the target mesh.]]
[[File:Maya baking normal result.jpg|framed|center|My Result after baking. Left the source mesh, right the target mesh.]]
Line 88: Line 74:
* Make sure your taregt mesh's faces are bigger/above the source mesh!<br />
* Make sure your taregt mesh's faces are bigger/above the source mesh!<br />
* Make sure texture's are enabled in your viewport!<br />
* Make sure texture's are enabled in your viewport!<br />
* Dont bake meshes, that contain 90degree angle's, this will mess up the renderer!<br />
* Arnold (Maya's built in raytracing renderer) support's baking, but MtoA.mll (Maya to Arnold) currently <b>DOES NOT</b> utulize it!<br />
</span>
</span>
<span style="color: #8f8;">Settings:<br />
<span style="color: #8f8;">Settings:<br />
Line 94: Line 82:
* The <i>Filter type</i> defines which type of blurring is being used, standart is a gaussian blur with a value of 3, for unfiltered texture, use a filter size of 1.
* The <i>Filter type</i> defines which type of blurring is being used, standart is a gaussian blur with a value of 3, for unfiltered texture, use a filter size of 1.
</span>
</span>
[[Category:Maya]][[Category:Material System]][[Category:Tutorials]]

Latest revision as of 17:34, 22 April 2024

This page will help you creating a normal map in maya based of an high resolution and an low resolution mesh model.

If you simply wan't to create a normal map out of a texture, we suggest you using CrazyBump (or any other Normal Map creation tool like NVidia's normal tool) for this task!

Creating Normal Maps with Transfer Maps

You can "bake" a normal map from an high resolution mesh to an low poly mesh using the "transfer maps" feature of maya.

A highpoly brickwall created in Autodesk Mudbox
A lowpoly version of the highpoly mesh
(2 triangles, created with the Reduce tool)

In this tutorial, I created a mesh plane with a subdivision level of 100x100. This plane was sent to Mudbox and edited/sculpted there with Masks to achieve a brick looking mesh.

This mesh was sent back to Maya and duplicated. Reduce the amount of one plane by using the "Reduce" tool. I went with a flat plane.


Actual Baking

Select "Rendering" in the menu to get access to the rendering menu bar.

Maya baking stp1.jpeg

Go to "Lighting/Shading" and select "Transfer Maps".

Maya baking stp2.jpeg

A window will pop up, you have to select your target mesh (low poly version), your source mesh (high poly mesh) and your transfering method (there are "normal map", "displacement maps", "diffuse maps", "lightning maps" and "alpha maps"). Use the outliner or viewport to select meshes!

Maya baking stp3.jpeg


  • Normal Map:

uses tanget spaces, to simulate detail rich surfaces with propper lightning

  • Displacement Map:

Actually deform's the mesh and creates an realistic representation, may use much more computing power than Normal Maps

  • Diffuse Map:

Transfers a texture from a highpoly mesh to an lowpoly mesh.
This is not recommendet in model creation.
Just sculpt your model and dont look at the UV's.
Lay your UV shells propperly out on a lowpoly variant, its easier!

  • Lightning Maps:

Simulates light and bakes it to the corresponding texture.
(The source engine uses this method to bake the lightning into your maps altough slightly more dynamic).
(Dont create full blown maps with this within maya. The viewmodel will be fullbrigth and you would still have to use brushes to seal your map!)

  • Alpha Maps:

Bakes the alpha channel of an object into its texture for a clean transition from e.g. black to fully transparent)

You now can click Bake or Bake and Close. The latter will close the menu after baking.

My Result after baking. Left the source mesh, right the target mesh.


Settings & Notes

Note:

  • Make sure your taregt mesh's faces are bigger/above the source mesh!
  • Make sure texture's are enabled in your viewport!
  • Dont bake meshes, that contain 90degree angle's, this will mess up the renderer!
  • Arnold (Maya's built in raytracing renderer) support's baking, but MtoA.mll (Maya to Arnold) currently DOES NOT utulize it!

Settings:

  • Select a destination for your normal map or you have to look it up in Hypershade.
  • For preview purposes, select a small resolution under the Maya Common Output Tab, baking normal maps with high resolution meshes can get very expensive very fast!
  • The Filter type defines which type of blurring is being used, standart is a gaussian blur with a value of 3, for unfiltered texture, use a filter size of 1.