rest in triplanar

hello!

Is it possible to add input for using rest attribute to attach the triplanar on. We are using alot of fx and this would help alot.

Regards Alexis

I’m not sure what will this input do…
Rest attributes are exported as part of the mesh and are not part of the texture…
What’s the goal? To automatically export rest attributes to mesh if this socket is connected?

the rest attribut is created before based on the P (position of the attribute). Later in shading you can pick up that rest attribute and attach the triplanar on that rest attribut instead of the object or world position. This makes it possible to stick triplanars to deforming objects.

> This makes it possible to stick triplanars to deforming objects.

Yes, I know this. And this is already working like that. Thing I don’t understand is how that input could help.

Ah. interesting it picks it up automatically, sorry about that didnt know. So if there is a rest attribute present it will use that. The reason is in some other triplanars node you can choose the attribute yourself so you use a vray_user_color to pickup the rest attribute and pipe it into the reference space on the triplanar node.

> Ah. interesting it picks it up automatically, sorry about that didnt know.

Yes, it is.

> The reason is in some other triplanars node you can choose the attribute yourself so you use a vray suer color to pickup the rest attribute and pipe it into the reference space on the triplanar node.

I’m not sure I’m aware of such nodes…

this is an example with mtlx in solaris how it could work.

Is it possible to implent a way to control the ref transform with a vector instead of a path to a geometry? In our example we want to have the same direction on a lot off geometries and it would be the cleanest to not use something referenced from outside the shader.

Regards Alexis

Will “xform” node + reference_transform input work?

yeah i think that would work well

I tested the latest build and the input was there but it doesnt affect anything. Am I doing this correct?

V-Ray for Houdini number:21324 hash:0598092 from 05 Mar 2022 03:28
V-Ray Core 5.20.20 [184660f8] from 24 Feb 2022

houdini 19.0.455
linux centos7

> Am I doing this correct?

It’s not yet supported in Solaris. Will add this week. Basically that’s why I haven’t commented here yet.

haha, got it! :smile:

any eta on this?

Have you tried it and it doesn’t work? I think I’ve implemented it like a week ago… Could you pls send me a scene if this won’t work?

It seems to only update when dropping down a new node. Restart vray or changing parameter doesnt seem to update.