Rendering Wireframe Using ToonShader

toonshader_set0

Introduction :

Well, everyone knows the old method of rendering wireframes in Maya through vector rendering, and rendering creased line, one set back to that was that it would tend to render each quad divided into two tris. Well, my major problem was with Maya 2008 64bit doesn't support vector rendering plugins. :) so I thought I`d try something new, I mean there has to be another solution out there. Hunted the internet for some time and came across this Highend Wireframe Tutorial, but in the modelling stage the model would not have UVs, so this is not an efficient enough method, so after fiddling around with the Maya toon shader, I got something working :)

Steps :

Step 1. Select all your objects and apply a toon shader outline.

Step 2. In the PFXToonShape Turn ProfileLines - Off, Border Lines - Off and Crease Lines - On.

Step 3. In the Crease Lines tab, Hard Creases Only - Off and Crease Min/Max Value to 0.

Step 4. Adjust the Crease Line Width depending on how far or near your model is to the camera.

Step 5. Render Using Maya Software. The renders are very low cost, and don't require any UV information, and if you smooth the mesh, the toon shader will automatically update itself with the new mesh topology. :) And here is some stuff that I rendered in the same technique. This is a truck from the SWAT KATS series that I had made around Oct-Nov 2007.

Scripts :

mel_icon

I have made a script for this purpose called crToonWireframeRen 2.0 that lets you add the wire-frame and makes the settings that are required. What you get is a render ready version of the wire-frame on any selected meshes. It is quite helpful and can be found below, or by looking into the scripts section of this blog. scripts/maya/cr_toon_wireframe_render/

Images :

toon_wire_render_set1 toon_wire_render_set2 toon_render_set2

Comments