Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Batman by Jason Edwards
You are here > Home > SimplyMaya Community Forums

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 20-02-2011, 06:32 PM   #1
BabyDuck's Avatar
Join Date: Nov 2002
Location: USA
Posts: 1,170
Thanks: 3
Thanked 12 Times in 12 Posts
Lightbulb Wireframe on Subd

hi there,

been a while since I have been on here. Have not found a whole lot on wireframe rendering in Maya. So I played around with it and found a nice trick on how to put a wireframe on a poly or subd. This will be done with vray for maya.

Unlike MR or MayaVector, the "wireframe pass" (lets call it that for simplicity) is done before the actual render and not as a post-effect. The scene I am using for this is the simplest there can be - 2 spheres on left hand side poly, on right hand side subd lighted by 2 point lights from front. The first picuture with MR shows the inability to wireframe the subd sphere. To see the difference you have to view the full res version (they are each in HD720).
Click image for larger version

Name:	mr_wire.jpeg
Views:	102
Size:	74.0 KB
ID:	46086
Also note how the wireframe is only one color. Now the exact same render done with Vray:
Click image for larger version

Name:	vray_wire.jpeg
Views:	101
Size:	51.0 KB
ID:	46087
In Vray the wireframe is part of the color value of the default lambert material. This is how I connected them:
Click image for larger version

Name:	hyper.jpg
Views:	119
Size:	19.4 KB
ID:	46088
The first VRayEdgeColor is a 2D texture (VRay Edges) with white as Edges Color color, and blue for Background Color and 1.000 Pixels width. This connects VRayEdgeColor.outColor->blendColors.color1. The second node EdgeOutline is also of the type VRay Edges, but this time white edges and black background with 3.000 pixels width. I connected EdgeOutline.outColorR->blendColors1.blender. Does not really matter which color channel you use here. The other color I left the default 50% gray - this however can be linked to any texture. Then last not least, connect [i]blendColors.output->lambert1.color[/]. Now it is ready to render in Vray in a single pass w/o compositing afterwards. This setup also allows to render the same scene with different renderer w/o having to touch hypershade at all - it appears that VRay Edges defaults to the background color if not using Vray. this will blend out the wireframe completely no matter how the colors are set up in VRayEdgeColor.

Now showing WIP can be done w/ wireframe and still correctly lit up (including the wireframe) in a single render pass even with SubD. All you need is save picture from renderview. Only drawback - NURBS still won't be able to render wireframe directly in Vray. NURBS can be rendered with wireframe, but unfortunately it will use the tesselated triangular mesh.

If this is useful (or not) please let me know

p.s.: oh almost forgot - do experiment with it - with the wireframe calculated pre-render new possibilities open up. e.g. wireframe as bump/displacement, 2 sided shading with different color on the backside of the wireframe ....
BabyDuck is offline   Reply With Quote

Similar Threads
Thread Thread Starter Forum Replies Last Post
shaded to wireframe animation jigsy Maya Basics & Newbie Lounge 3 21-01-2011 08:00 AM

Thread Tools

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.