i am messing around with Vray Render Elements. the VrayZDepth works great, but i am having problems getting others to do much of anything.
specifically, i am trying to get the VrayMtlId to work, but it doesn’t seem to do anything. …has anyone else messed with this? the documentation is currently less than adequate, and a search on this site returns 0 results.
there’s a tiny number just between put to library and show map on viewport in the mat options. default is 0, any other number than this should give you different id colors. never actually used it though, just like render and object id, I can’t seem to have vray doing any antialiasing on them. wire color is the one that usually works best for me.
Not quite. The VRayMtlID element shows you the ID of the material being rendered, and not the material IDs that you assign to mesh faces. To set the ID of a material, follow rivoli’s advice.
Wouldnt be cool to have a script capable of assigning random -non repeated and distinctive - colors to wireframes in order to use the vraywire color? It could even be possible to use it in combustion as a replacement for objectid element, using the Rpf Builder operator…this way we’d get better masks…
max assigns random colours to objects in the first place - they may become similar if you copy / instance objects but if you don’t change the wire colour yourself you should get a pass with pastel colours suited to a 70’s bathroom.
@ panthon, you couldt perhaps just use something like
for o in $* do o.wirecolor = random white black
that shouldt make random wirecolors…im not shure about repetition though
Hope it helps
ptr