Custom AttTransfer With Effector in Vops

   1369   3   1
User Avatar
Member
76 posts
Joined: Feb. 2017
Offline
Hello everyone,

I was wandering how would I need to approach the need to trasnfer an attribute, say N, from a geometry to and identical one with an effector or some sort of object which position determines where the attribute is transfered.

When the transfer is from an A to a B object, the solution is a pretty straight farward classic Attribute Transfer Sop, but how about the A to B through C scenario?

I have found an easy fix with Sops: boolean substract a sphere form a grid A, copy the normal attribute from grid A to the product of the boolean then attribute trasfer from the product of the boolean to the B grid. Still this is very intricate and culd easily get superslow when dealing with more complex geomety, how could it be build inside Vops using some sort of geometry as bias/effector?

I attached an Hip with what i have so far

Thank you for yor time
Frankie
Edited by ProceduralFrankie - July 13, 2019 20:50:55

Attachments:
ATTR_TRANSFER_BY_EFFECTOR.hiplc (175.2 KB)

User Avatar
Member
900 posts
Joined: Feb. 2016
Offline
Hello,
why not using groups with attrib copy?

Attachments:
ATTR_TRANSFER_BY_EFFECTOR_fix.hiplc (183.1 KB)

User Avatar
Member
36 posts
Joined: July 2013
Offline
Hey,
sounds like you could do this in a couple different ways.
If I understand right, you could approach it like this.

Build your own attrib transfer either in VEX or VOPs.
Just using pcopen / pcfilter approach.
Make your mask object a fog volume.
In your custom attrib transfer you can import the mask with volumsample.
Then multiply attrib transfer result by the volume value.
Edited by adrianmeyerart - July 19, 2019 03:01:51
User Avatar
Member
36 posts
Joined: July 2013
Offline
Just brainstormed away from my PC…
If you need more detailed help let me know.
Edited by adrianmeyerart - July 19, 2019 03:03:27
  • Quick Links