Minor Project Technical Paper
Transcript of Minor Project Technical Paper
![Page 1: Minor Project Technical Paper](https://reader031.fdocuments.in/reader031/viewer/2022020207/553fd530550346e26f8b4944/html5/thumbnails/1.jpg)
Creating a Wireframe using Contour Rendering
Minor Project Technical Paper Daniel Rolph
![Page 2: Minor Project Technical Paper](https://reader031.fdocuments.in/reader031/viewer/2022020207/553fd530550346e26f8b4944/html5/thumbnails/2.jpg)
Contour rendering is a way of creating wireframe images without using the Toon render options, and without having to harden edges. It can also be used to create an outline around an object, give the impression of a drawing, or many other tricks.
The first step is to enable contour rendering. This is done by opening the attribute editor for the shading group that the material on the object in question. If you are making a wireframe, it is best to apply a Lambert shader with Matte Opacity set to Black Hole.
![Page 3: Minor Project Technical Paper](https://reader031.fdocuments.in/reader031/viewer/2022020207/553fd530550346e26f8b4944/html5/thumbnails/3.jpg)
Expand the “Mental Ray” options in the group attributes, and click the box marked “Enable Contour Rendering.
Make sure that it is set to “Absolute Width”
The “Width” slider controls the width of the lines; it is the only way to control this.
![Page 4: Minor Project Technical Paper](https://reader031.fdocuments.in/reader031/viewer/2022020207/553fd530550346e26f8b4944/html5/thumbnails/4.jpg)
Next, open the Render Settings, and set the scene to render using Mental Ray.
Open the “Features” Tab, and scroll down to the bottom.
![Page 5: Minor Project Technical Paper](https://reader031.fdocuments.in/reader031/viewer/2022020207/553fd530550346e26f8b4944/html5/thumbnails/5.jpg)
Expand the Contours Tab, and click on the “Enable Contour Rendering” box.
Next, set Over-Sample to 3 (this improves the smoothness of the wireframe, by rendering it 3 times and averaging)
Then, set the Filter Type to “Gaussian Filter”
![Page 6: Minor Project Technical Paper](https://reader031.fdocuments.in/reader031/viewer/2022020207/553fd530550346e26f8b4944/html5/thumbnails/6.jpg)
At the moment, rendering produces no lines, as none of the render options are enabled
![Page 7: Minor Project Technical Paper](https://reader031.fdocuments.in/reader031/viewer/2022020207/553fd530550346e26f8b4944/html5/thumbnails/7.jpg)
Selecting “Around Silhouette (Coverage)” results in a line being drawn around the outside edge of the object.
![Page 8: Minor Project Technical Paper](https://reader031.fdocuments.in/reader031/viewer/2022020207/553fd530550346e26f8b4944/html5/thumbnails/8.jpg)
Selecting “Around all poly faces” draws a line around every poly face. Usually, this will be enough to create a wireframe, but sometimes a few edges will be missing
![Page 9: Minor Project Technical Paper](https://reader031.fdocuments.in/reader031/viewer/2022020207/553fd530550346e26f8b4944/html5/thumbnails/9.jpg)
Selecting “Around coplanar faces” draws a line at every hard edge that isn’t flat
![Page 10: Minor Project Technical Paper](https://reader031.fdocuments.in/reader031/viewer/2022020207/553fd530550346e26f8b4944/html5/thumbnails/10.jpg)
Selecting “Front vs. back face contours” draws a line wherever a piece of geometry is in front of a different piece of geometry
![Page 11: Minor Project Technical Paper](https://reader031.fdocuments.in/reader031/viewer/2022020207/553fd530550346e26f8b4944/html5/thumbnails/11.jpg)
To make a wireframe, enable:
• Around silhouette (Coverage)
• Around all poly faces
• Front vs. back face contours
![Page 12: Minor Project Technical Paper](https://reader031.fdocuments.in/reader031/viewer/2022020207/553fd530550346e26f8b4944/html5/thumbnails/12.jpg)
It’s also possible to show the triangles that make up the polygons of the model without changing the geometry. To do this, enable:
• Around silhouette (Coverage)
• Around coplanar faces
• Between different instances
• Around render tesselation
• Front vs. back face contours
![Page 13: Minor Project Technical Paper](https://reader031.fdocuments.in/reader031/viewer/2022020207/553fd530550346e26f8b4944/html5/thumbnails/13.jpg)
One final piece of advice: Since contour rendering is part of mental ray, it will take account of any smoothing you have done in the viewport. Therefore, it is usually a good idea to unsmooth the geometry of whatever you are wireframing, unless you want an extremely high-resolution wireframe.