vrayUVSetName attribute does not work in displacement

Hi,
The first problem was here :
http://www.chaosgroup.com/forums/vbulletin/showthread.php?67772-Crash-use-VRayDirt-in-displacement

So, i decide to bake my VRayDirt, amd also, create an another UVSet just for my displacement.
After, on my 2dtexturePlacement, i create the Vray UVSet Name attribute to choose my UVSet.
But…it doesn’t work with displacement (work in diffuse color)…

Is it a bug ?

Nightly from today, linux64, Maya 2011.

Thanks.

Ahah, the UVChooser does not work also with displacement. It is a Maya limitation, not Vray…
If the vrayUVSetName attribute can work, it will be very very great.

The workaround is : set your “displacement UV” into the UVSet “map1” (the default), set your “color UV” into another UVSet. Add vrayUVSetName attributes to all color/reflection/bump/etc etc 2dplacementTexture.
With this, the displacement will take the default UV set (it is good), and other map, other UVSet.
But if we have more than 1 displacement UVSet…fail.

Multiple UV sets for displacement work fine for me - see the attachment where I have two textures, a bulge and a cloth texture used as displacement on different UV sets using the V-Ray 2d placement extra attributes to specify the set name.

Best regards,
Vlado


displ_uvs.zip (7.99 KB)

I found the bug : add displacement attribute on your pPlaneShape1, set the displacement type to 2D displacement.

2d displacement indeed doesn’t work and unfortunately this can’t be fixed easily. You’ll have to use the regular displacement type.

Best regards,
Vlado

Ok, no problem. I did the workaround above.
Thank you Vlado !