Hardware Render with Wireframe on shaded?

Hi all...

I use more often screen capture with wireframe on shade option on.. than software render as it gives more clear and useful view on my model ... usually architectural Buildings and object.

I've tested Maya 5.0 (beta) with vector renderer.. it works great and I loved it ..but. still is rack of functions that i am looking for..

specially. Wireframe on shaded is the only the way we can see edges on polygonal model. not just border edges but, soft /hard edges as well.

and we misses x-ray options also..

I am wondering why A/W didn't include these options for hw render buffer options which they already made possible on screen?

is there anyone who knows how to hack these?

any small tips would greatly appreciated....

thank you in advance...

http://www.highend3d.com/boards/showthread...&sb=&o=

Using Ame's reference to overrideShading, and a couple more lines of code you can do this:

/*A maya bug causes the vertices of the connected shape to be selected and moved
the first time the original mesh is edited. To avoid this, the vertices are moved 0 before
the connection is made.*/
string $objList[] = ls -sl;
ConvertSelectionToVertices;
move -r -os -wd 0 0 0;
string $currentObj;
for ($currentObj in $objList)
{
string $wireObj[] = duplicate -rr $currentObj;
string $currentShape[] = listRelatives -shapes $currentObj;
string $wireShape[] = listRelatives -shapes $wireObj;
eval ("connectAttr -f "+ $currentShape[0] +".outMesh "+ $wireShape[0] +".inMesh");
parent $wireObj[0] $currentObj;
setAttr ($wireObj[0] +".overrideEnabled") 1;
setAttr ($wireObj[0] +".overrideShading") 0;
setAttr ($wireObj[0] +".overrideDisplayType") 2;
}
;
select -cl;