V-Ray Object properties don't natively apply to USD Stage Prims?

Testing V-Ray for Maya USD workflow, and it appears that prims on the USD stage aren’t accessible to the V-Ray Object Properties set. Just wanted to verify before going at it through a native USD approach.

Thanks!

Yeah I do not think obj properties work with USD at least for the moment.
Just out of curiosity what are you trying to do?

Object properties are currently supported only on objects within the USD scene (both for export and rendering).

Otherwise, we have an improvement request logged (VMAYA-14061) to support object properties directly on the stage; linking this request there.

Thanks for the response.

I may be missing the correct approach.

1- I haven’t been able to apply v-ray object properties using the traditional method, as a maya object ‘set’, it seems a limitation of the DAG interface.

Selecting the USD prim and clicking the shelf icon fails to create a set.

2- I tried getting around it editing the USD like so

custom bool vray:visibility:reflections = 0
custom bool vray:visibility:refractions = 0

Not sure if that’s the way either, since the object still is visible in reflections.

Is the process documented?

Hey hsz,

Running simple tests at the moment, I have a material sample sphere that I’d like to prevent reflecting in other elements. Just a simple sphere being used as a material sample for a more complex model, would like that sphere to not appear reflected in the more complex object.

I think I HAD to add it to the USD stage to share the material assignments, also being worked on in the stage’s overrides layer. Maybe there’s a way to share materials outside the Stage, but I haven’t figured that out.

the attribute is like this - at least how it worked for me

primvars:vray:MtlRenderStats_reflections_visibility

If I do this in BF it works fine as seen in the GIF

maya_1NRaY9re7i

Thank you for the demonstration. It’s good to know that it can work in one way or another.

I wonder if this has been shown to work with Maya’s V-Ray Object Properties shelf and object sets?

Do I understand correctly that this interfaces with the object’s material, and not the mesh itself?

This is the same as the obj properties but for USD and just this open tabs

As you can see I have a node here that I can control this area now if you want the reflection amount or GI ,etc the primvar should be like this, just showing a few

Not sure if it works the shelf, etc since I have it setup in BF, however it should work since at end of the day BF and Maya share the same USD version.

It would be nice to have a node to do this that would work in BF and Maya