Post by Anthony on May 18, 2015 18:52:23 GMT
Gradient Map technique
Let’s start with Gradient map technique, in this technique, we use gradient map to render the wireframe of the object. I have a low poly model on viewport and you can use any other object to use these techniques.
1 First of all, we have to prepare a material. So, open up the Material Editor by pressing M key on your keyboard. Select a material slot and inside Shader Basic Parameters rollout; turn on the Face map option. Now, click on Diffuse button and select Gradient Ramp material.
2 Inside Gradient Ramp Parameters rollout, create a gradient as shown in the image and set the Gradient Type to Box.
Note that the width of the black area is the width of the wireframe of your object and you can change it any time.
Step 3
Now apply the material to your object and render it and here is your object with wireframe.
Sometimes it looks little dirty as the width of the wire is not evenly rendered at some places so I generally do not use this technique to render wireframes of my models.
Composite Material technique
In this technique, we will use a material called Composite but before using that you have to switch to Mental ray renderer. So, Press F10 key to bring up the Render Setup Dialog. Under Assign Renderer rollout choose Mental ray as the production renderer.
Step 1
Now, we have to create wireframe material first so press M for Material Editor. Select a material slot then click on Standard button and pick Composite material from the list.
Step 2
Let’s prepare a base material for our object so go ahead and assign a Standard material to Mat. 1 and change the diffuse color to anything that you like for the base color of your object. Here, I am using white color for my model. Now, click on Go to Parent button to get back to the Composite Basic Parameters.
Step 3
Now, it’s time to prepare our wireframe material. Under Composite Basic Parameters rollout, click on None button and assign a Standard material to Mat. 2. In Standard material, just turn on the wire option and change the diffuse color to black or any color that you want for your object’s wireframe. You can change the wire size by adjusting the Size parameter which is present under Extended Parameters rollout inside Wire group. Now, apply the material to your model and press render button to render the wireframe.
Let’s start with Gradient map technique, in this technique, we use gradient map to render the wireframe of the object. I have a low poly model on viewport and you can use any other object to use these techniques.
1 First of all, we have to prepare a material. So, open up the Material Editor by pressing M key on your keyboard. Select a material slot and inside Shader Basic Parameters rollout; turn on the Face map option. Now, click on Diffuse button and select Gradient Ramp material.
2 Inside Gradient Ramp Parameters rollout, create a gradient as shown in the image and set the Gradient Type to Box.
Note that the width of the black area is the width of the wireframe of your object and you can change it any time.
Step 3
Now apply the material to your object and render it and here is your object with wireframe.
Sometimes it looks little dirty as the width of the wire is not evenly rendered at some places so I generally do not use this technique to render wireframes of my models.
Composite Material technique
In this technique, we will use a material called Composite but before using that you have to switch to Mental ray renderer. So, Press F10 key to bring up the Render Setup Dialog. Under Assign Renderer rollout choose Mental ray as the production renderer.
Step 1
Now, we have to create wireframe material first so press M for Material Editor. Select a material slot then click on Standard button and pick Composite material from the list.
Step 2
Let’s prepare a base material for our object so go ahead and assign a Standard material to Mat. 1 and change the diffuse color to anything that you like for the base color of your object. Here, I am using white color for my model. Now, click on Go to Parent button to get back to the Composite Basic Parameters.
Step 3
Now, it’s time to prepare our wireframe material. Under Composite Basic Parameters rollout, click on None button and assign a Standard material to Mat. 2. In Standard material, just turn on the wire option and change the diffuse color to black or any color that you want for your object’s wireframe. You can change the wire size by adjusting the Size parameter which is present under Extended Parameters rollout inside Wire group. Now, apply the material to your model and press render button to render the wireframe.