Wireframe is a method of rendering a 3D object. It is a visual presentation of a three dimensional or physical object used in 3D computer graphics. It is created by specifying each edge of the physical object where two mathematically continuous smooth surfaces meet, or by connecting an object’s constituent vertices using straight lines or curves.
Using a wire frame model allows visualization of the underlying design structure of a 3D model. so now i am going to show you how to render wireframe in maya 2009. Mostly there are several technique to wireframe rendering in maya but i will tell you 4 methods that i like.
1 Method: Playblast Rendering
Playblast is a method of capturing unrendered frames on viewport to form an animation.When we create a playblast, Maya goes through and takes a screenshot of each frame and combines them altogether to form an animation. So moving on to my cool technique which i used for wireframe renderings.
Note – Playblast captures frames according to viewports resolution. So if your screen maximum resolution is 1024 by 768 then forget about getting HD renders. The rule of thumb here is that, the more the screen resolution the bigger the render you get. So to make HD renders (720p or larger) push your graphic cards screen resolution to the maximum.
First select your model and assign a lambert shader to it.Then go to the attribute editor (ctrl+a) and make the color to white and set the white color value to 1.5 to give it a higher saturation.
Now go to the panel menu and under Shading check wireframe on shaded.
Now select the object and go to Display>Wireframe Color and set the color to
You can also set your own desired color if you like but i choose dark grey because i am going to composite it with the Ambient Occulusion pass of the model.
Now go to windows>playblast options and set the Time Range to Start/End or, Timeslider, whichever you want according to your need.Now under Viewer options select Image Viewer.
Go to Display Size and select Custom and type in the resolution you want, in my case 1280 by 720. Also set the Scale to 1 and Frame Padding to 3. Now select Save to File option and select your desired location and hit playblast.
Here one thing to note that before making any playblast hit ctrl+spacebar to maximize the viewport area, so that it gets enough resolution to renderHD ( 1280 by 720). In my case screen resolution is 1440 by 900px.
NOTE- Image format (i.e- Tga,Tiff,Png etc) depends on the settings of Render Settings Window.
You can also download the PDF from here…
2 Method:Contour Rendering
Assign a shader to your polygon object. It doesn’t matter lambert,blinn, or phong it’s all up to you.
Now press ctrl+A or, go to the Attribute Editor of the shader. Now go to the shading group(SG) of the particular shader. From there expand the Mental Ray section of the shader. Now come to the contour section and enable it.
Now in the Contour section select the color you want, in my case i choose white color. Here let the Alpha and Contour Width ( Absolute Width) value to its default.But set the Width Amount to 0.4 (Which adjusts the thickness of the mesh).
Now go to Render Settings Window and enable Mental Ray (if mental ray doesn’t show up in the Render Settings Window then go to windows>setting/preferences>plug-in manager and enable mayatomr.mll and set it to Loaded and Autoload so that whenever you start maya it auto loades Mental Ray plug-in).
Now go to the Features Tab and expand the Contour section. From there set the Enable Contour Rendering,( you can also enable the Hide Source checkbox this will make your object hidden, rendering only the wireframe which you can then composite in any compositing softwares) and set the Over sample value to 5, Filter Type to Gaussian Filter and Filter Support to value 2.
Now come to Draw By Property Difference section below the Contour section and enable Around All Poly Faces checkbox, which will enable contour to be drawn to every single faces.
3 Method: Toonshader Rendering
First of all select your object and assign a Toon Shader Outline to it.
Now press ctrl+A or, go to the Attribute Editor of the shader. Now In the pfxToonShape expand the Profilelines and Borderlines tab and turn all of there values to 0.
Now for wireframe rendering turn the Crease Line option on.
In the crease line tab, turn the Hard Crease only to off and Crease angle Min/Max Value to 0.
In the crease line tab adjust the Crease Line Width depending on how thick you want your wires to be.
Now render the scene using Maya Software Renderer. Here note that Toon Shader Outline doesn’t support Mental Ray or, Maya Hardware Renderer.
4 Method: Hardware Render Buffer
First go to the window > rendering editors > hardware render buffer,this will open a window.
From this window go to render>attributes. A new tab will open named defaultHardwareRenderGlobals. Now go to image output files and from this choose the resolution you want. If you also want alpha to be there then select Hardware Alpha under Alpha Source.
Now go to render modes>draw style and choose wireframe.
Now under render modes check line smoothing which smoothes out the wireframe edges. Also check the full image resolution checkbox.
Now go to background color under display options tab and choose the background color you want.
Go to top menu bar and choose display>polygons and select backface culling ,which will force backface wires not to render.
Now select the model and go to display>wireframe color and choose the color you want. And you are done.
NOTE- The difference between vector rendering and hardware render buffer rendering is that hardware render buffer gives smooth wireframes meaning if we were to apply a smooth(modifier) to models it updates itself but vector rendering gives hard edge results.
Here note that vector rendering is supported only by maya 32bit versions. Vector Renderer plugin doesn’t ship with 64bit versions of maya(2009) till now.