Issues iterating attribute VOP with multiple objects
1695 2 2-
- moonjelly
- Member
- 1 posts
- Joined: June 2021
- Offline
I am having issues using one attribute upstream to drive a parameter inside an attribute VOP downstream.
I have attached some images for reference. Basically I've setup a "rock generator" that works well for single objects but I want to develop a second branch that takes in a collection of objects. In order to avoid obvious tiling, I thought it simple enough to vary the offset parameter for the noise. I've tried driving it with the "class" attribute from a connectivity node on the prim level, and using a attribute randomize on the point level. I even tried to drive it with the iterations detail (like this [www.youtube.com]) inside a for loop, but that didn't work either.
Any help would be appreciated.
I have attached some images for reference. Basically I've setup a "rock generator" that works well for single objects but I want to develop a second branch that takes in a collection of objects. In order to avoid obvious tiling, I thought it simple enough to vary the offset parameter for the noise. I've tried driving it with the "class" attribute from a connectivity node on the prim level, and using a attribute randomize on the point level. I even tried to drive it with the iterations detail (like this [www.youtube.com]) inside a for loop, but that didn't work either.
Any help would be appreciated.
-
- tamte
- Member
- 9403 posts
- Joined: July 2007
- Offline
on your /obj/geo1/attribrandomize1
change the Attribute Name from randattrib to offset
and Distribution/Dimensions to 3
this will create random vector3 attribute called offset based on class seed
the following Attribute VOP will automatically use this attribute to override Offset parameter since the attribute has the same name and data type, no need to alter your vop in any way
alternatively you can also just Bind your randattrib and use it to do whatever
change the Attribute Name from randattrib to offset
and Distribution/Dimensions to 3
this will create random vector3 attribute called offset based on class seed
the following Attribute VOP will automatically use this attribute to override Offset parameter since the attribute has the same name and data type, no need to alter your vop in any way
alternatively you can also just Bind your randattrib and use it to do whatever
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- eikonoklastes
- Member
- 447 posts
- Joined: April 2018
- Offline
-
- Quick Links


