Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
aotexturinginmaya [2016/10/16 12:22]
robbie
aotexturinginmaya [2016/10/22 15:09]
robbie
Line 14: Line 14:
 First off, before you start learning how to make AO texture for your models, do you know what it is, what it does, what it changes ?  First off, before you start learning how to make AO texture for your models, do you know what it is, what it does, what it changes ? 
  
-Here is a quick definition (from Wikipedia): [[https://​en.wikipedia.org/​wiki/​Ambient_occlusion|Ambient Occlusion ​definition]]\\+Here is a quick definition (from Wikipedia): [[https://​en.wikipedia.org/​wiki/​Ambient_occlusion|Ambient Occlusion ​Definition]]\\
  
  
Line 33: Line 33:
  
 This is the beast I'll work on : This is the beast I'll work on :
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343682895-1.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343682895-1.png|Fig:1]]\\
  
 **Step 2. Baking the Ambient Occlusion** **Step 2. Baking the Ambient Occlusion**
  
 Now that you have your model selected, you need to bake the Ambient Occlusion to it. First off, select the rendering tab in the dropdown menu, top-left corner. Now that you have your model selected, you need to bake the Ambient Occlusion to it. First off, select the rendering tab in the dropdown menu, top-left corner.
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343683051-2.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343683051-2.png|Fig:2]]\\
  
 On the top list, go to Lightning/​Shading > Batch Bake (mental ray) , click the little box On the top list, go to Lightning/​Shading > Batch Bake (mental ray) , click the little box
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343683201-3.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343683201-3.png|Fig:3]]\\
  
 This window should pop-up :  This window should pop-up : 
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343683334-4.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343683334-4.png|Fig:4]]\\
  
 (if it doesn'​t,​ it's because you didn't click the little box) (if it doesn'​t,​ it's because you didn't click the little box)
Line 58: Line 58:
  
 To finish this step, click on Convert and Close. This is what you should have : To finish this step, click on Convert and Close. This is what you should have :
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343683617-5.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343683617-5.png|Fig:5]]\\
  
 **Step 3. Exporting the AO texture** **Step 3. Exporting the AO texture**
  
 Open the Hypershade editor, found in Window > Rendering Editor > Hypershade. This should pop-up : Open the Hypershade editor, found in Window > Rendering Editor > Hypershade. This should pop-up :
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343683833-6.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343683833-6.png|Fig:6]]\\
  
 On the top, select Texture instead of Material. On the top, select Texture instead of Material.
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343683958-8.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343683958-8.png|Fig:7]]\\
    
 Click on your texture that should appear if you followed this tutorial correctly Click on your texture that should appear if you followed this tutorial correctly
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343683936-7.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343683936-7.png|Fig:8]]\\
  
 Look in the Attribute Editor, on the right of your screen, to see the path where the file was saved (under File Attributes) Look in the Attribute Editor, on the right of your screen, to see the path where the file was saved (under File Attributes)
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343684165-9.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343684165-9.png|Fig:9]]\\
  
 My file is saved in  **Documents/​Maya/​Projects/​Cube/​RenderData/​mentalray/​lightMap/​baked-blinn1SG-pCube1** . Your path should be the same, except for the "​Cube"​ wich should be your project name. My file is saved in  **Documents/​Maya/​Projects/​Cube/​RenderData/​mentalray/​lightMap/​baked-blinn1SG-pCube1** . Your path should be the same, except for the "​Cube"​ wich should be your project name.
Line 89: Line 89:
  
 Open Photoshop, and open your AO texture that you dragged to the desktop. You should have something like this (if you made a cube of course). Open Photoshop, and open your AO texture that you dragged to the desktop. You should have something like this (if you made a cube of course).
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343684640-10.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343684640-10.png|Fig:10]]\\
  
 Create a new layer, and paint if the color of your choice (blue in my case). Put the new layer (the one with the color) below the AO texture that we created in Maya. Create a new layer, and paint if the color of your choice (blue in my case). Put the new layer (the one with the color) below the AO texture that we created in Maya.
  
 In the dropdown menu just above the layers, select **Multiply** instead of Normal. This should merge your color to AO texture In the dropdown menu just above the layers, select **Multiply** instead of Normal. This should merge your color to AO texture
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343684916-11.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343684916-11.png|Fig:11]]\\
  
 This is the result : This is the result :
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343684920-12.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343684920-12.png|Fig:12]]\\
  
 **IMPORTANT** : If the object you are texturing is a more complex object than a cube (and I guess it is), it's the same thing. Instead of creating a layer that you paint in blue, like I did, you need to put your UV map in this layer. You can't start with a not-textured project like me if you are doing something more complex that requires UV mapping. **IMPORTANT** : If the object you are texturing is a more complex object than a cube (and I guess it is), it's the same thing. Instead of creating a layer that you paint in blue, like I did, you need to put your UV map in this layer. You can't start with a not-textured project like me if you are doing something more complex that requires UV mapping.
  
-Let's say you were to make a cultivator, you need to 1) Make the mesh 2) Make the UV map, something like this : ([[https://​dl.dropbox.com/​u/​33757235/​kvernlandPRO_diffuse.jpg]] --> This one is by Solanz, not me, but it's a great example 3) Follow this tutorial 4) Put the UV map from 2) in the layer in Photoshop. I really hope this is clear enough, if it's not feel free to post here below or to contact me. +Let's say you were to make a cultivator, you need to 1) Make the mesh 2) Make the UV map, something like this : ([[https://​dl.dropbox.com/​u/​33757235/​kvernlandPRO_diffuse.jpg|Fig:13]] --> This one is by Solanz, not me, but it's a great example 3) Follow this tutorial 4) Put the UV map from 2) in the layer in Photoshop. I really hope this is clear enough, if it's not feel free to post here below or to contact me. 
  
 **Step 5. Applying your AO texture to your model**  ​ **Step 5. Applying your AO texture to your model**  ​
Line 108: Line 108:
  
 Go back to Maya, and select your <​del>​cube</​del>​ object Right-click it, and hit Assign New Material. Select Blinn, Lambert or Phong depending on your project. Go back to Maya, and select your <​del>​cube</​del>​ object Right-click it, and hit Assign New Material. Select Blinn, Lambert or Phong depending on your project.
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343685630-13.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343685630-13.png|Fig:14]]\\
  
 Now, in the Attribute Editor on the right, click the little button beside Color  Now, in the Attribute Editor on the right, click the little button beside Color 
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343685827-14.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343685827-14.png|Fig:15]]\\
  
 In the window that pops-up, click on File, and beside Image Name click the folder icon In the window that pops-up, click on File, and beside Image Name click the folder icon
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343685883-15.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343685883-15.png|Fig:16]]\\
  
 Select your AO texture on the desktop, and you're done ! If you don't see the texture, press 6.  Select your AO texture on the desktop, and you're done ! If you don't see the texture, press 6. 
  
 This is the AO textured cube : This is the AO textured cube :
-[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343685955-16.png]]+[[http://​image.noelshack.com/​fichiers/​2012/​31/​1343685955-16.png|Fig:17]]\\
  
 I hope that you liked the tutorial, don't forget to rate and comment. If you find any mistakes, please post below, I'm not an expert when it comes to AO texturing but I thought it was worth it to share this knowledge with you, so you can improve even the most basics models. I hope that you liked the tutorial, don't forget to rate and comment. If you find any mistakes, please post below, I'm not an expert when it comes to AO texturing but I thought it was worth it to share this knowledge with you, so you can improve even the most basics models.
Line 132: Line 132:
 Original Author: **Marxtai** ​ | Date: **July 30, 2012** Original Author: **Marxtai** ​ | Date: **July 30, 2012**
         ​         ​
-[[modding_tutorials|Modding Index]] | [[vehicle_modding|Vehicle Tutorials]]+[[modding_tutorials|Modding Index]] | [[vehicle_modding|Vehicle Tutorials]]\\ 
 + 
 +{{:​fsukwiki.png?​nolink&​200 |}}