Houdini 20.0 Rendering

How to render wireframes

On this page

This method works with polygons, primitives, nurbs, and metaballs.

Create a scene

  1. Create a grid by clicking the Grid tool on the Create shelf tab.

  2. Create a teapot by clicking the Platonic Solids tool on the shelf and changing the Solid Type to Utah Teapot.

  3. Click the Environment Light on the Lights and Cameras shelf tab to add soft lighting.

  4. On the Material Pallette select a shader and drag it onto the grid and teapot.

    For this example we will use the Clay material.

Render the scene

  1. Create a camera by Ctrl-clicking the camera on the Lights and Cameras shelf tab.

  2. Create a mantra render node by clicking Render ▸ Create Render Node ▸ Mantra in the Houdini menu.

  3. Render your image.

    The following is what your default rendered image will look like.

  4. Improve the quality of your render by navigating to the Light tab on the environment light, by clicking the Area Light Options subtab and increasing the Area Samples parameter to 256.

  5. Render the image again.

    The following is what your new rendered image will look like.

  6. Save the image and close MPlay.

Render the scene with wireframes

  1. Turn off the display of any objects you don’t want visible, such as the environment light.


    To turn off the display of the light handles, press ⎋ Esc.

  2. Click the Shading mode button at the right side of the viewer toolbar and choose Hidden Line Invisible.

  3. RMB the Flipbook icon and choose Flipbook with New Settings.

  4. On the Output tab, change the Frame Range/Inc to: 1, 1, 1 since it is a still image.

  5. On the Effects tab, enable the Depth of Field and increase the Quality to something much higher, such as 16.

  6. On the Size tab, set the Resolution to the same as the Resolution on the View tab of your camera. In this example it is 640x480.

    You can also turn on Crop Out View Mask Overlay.

  7. Press Accept and render your image.

    This render will also produce a nice looking alpha channel.

  8. Save the image again and close MPlay.

Composite the two renders

  1. Switch the view to Composite View and switch to the img network.

  2. Dive into the Compositing network and create a File node using the Tab menu.

  3. Change the File from default.pic to your wire render.

  4. Create another File node using the Tab menu and change the File from default.pic to your original render.

  5. Insert a Multiply node and connect the two file nodes to the inputs.

    This will make the entire image darker because you are multiplying the entire color channel.

  6. Connect the wire file to the mask input, which will use the alpha channel from the wire file.


Mantra user guide



Next steps


Other renderers