Color/greyscale vertex attribute and displacement

3D Studio Max Plugin (Export Script Plugins developed by [gk] and KilaD; Integrated Plugin developed by Karba)
Forum rules
Please post only in English in this subforum. For alternate language discussion please go here http://render.otoy.com/forum/viewforum.php?f=18
Post Reply
tombyrom
Licensed Customer
Posts: 58
Joined: Fri Dec 15, 2023 9:26 am

Hello,
I don't think Color/greyscale vertex attribute works when using in the Vertex displacement mixer as the blend texture?

They work fine in the main composite material for the masks but seems to have no effect when used in the Vertex displacement mixer?
Attachments
Screenshot 2025-03-04 214111.png
tombyrom
Licensed Customer
Posts: 58
Joined: Fri Dec 15, 2023 9:26 am

Attaching a basic set up as an example.

I tried using mix texture and a composite texture piped into a vertex displacement as well instead of the Vertex Displacment mixer but that doesn't work either.
Attachments
vertex_displacment_issue.zip
(128.81 KiB) Downloaded 35 times
User avatar
paride4331
Octane Guru
Posts: 3804
Joined: Fri Sep 18, 2015 7:19 am

Hi tombyrom,
Taking a look at it, I'm not sure I fully understand the expected final result, but did you know that, unlike the texture displacement node, the vertex displacement node doesn't require texture baking?
Regards
Paride
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
tombyrom
Licensed Customer
Posts: 58
Joined: Fri Dec 15, 2023 9:26 am

The maps being baked here is irrelevant, the fact remains that when using a vertex color/attribute as a mask, either via Vertex Displacement Mixer or a standard Mix node into Vertex Displacement, it does not work...

In my example file, there are two colours on that material, the displacement when rendered is the same across both colors of the plane, this is wrong. It should only be displacing half the surface, just like how the colour is being masked - it's the same mask that's driving the colour on the plane but it's is not masking the displacement.

Surely VERTEX attributes are compatible with VERTEX Displacement?


EDIT: I've simplified my example further, I have also baked out the vertex colour as a map and you can switch between the two materials to see the problem.
Attachments
vertex_displacment_issue_v2.zip
(1.68 MiB) Downloaded 27 times
vertex attribute in displacement doesn't work
vertex attribute in displacement doesn't work
Baked map only in displacment / the original vertex attribute still works in the composite material as the main mask between materials
Baked map only in displacment / the original vertex attribute still works in the composite material as the main mask between materials
User avatar
paride4331
Octane Guru
Posts: 3804
Joined: Fri Sep 18, 2015 7:19 am

Hi tombyrom,
Thanks, I see what you're saying now. From what I remember, this is a known issue (related to the SDK). I tried using a single material with the mixer displacement node, but it didn’t seem to make a difference (attached screenshot). I’m reporting it to the developers to see if it’s a workflow issue and if there’s a quick fix.
Regards
Paride
Attachments
01.jpg
2 x Evga Titan X Hybrid / 3 x Evga RTX 2070 super Hybrid
tombyrom
Licensed Customer
Posts: 58
Joined: Fri Dec 15, 2023 9:26 am

Thanks for confirming the issue paride4331, yes it seems very strange that this does not work with vertex displacement... Baking out maps is not an option because every time you make a change you need to re-bake them out...
Post Reply

Return to “Autodesk 3Ds Max”