Issues iterating attribute VOP with multiple objects

   1695   2   2
User Avatar
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.

Attachments:
AttributeVOP_Inside_Points_01.JPG (61.2 KB)
AttributeVOP_Outside_Points_01.JPG (142.8 KB)
MultiObject_Workflow_01.JPG (120.1 KB)
Granite Texture_Master File.hipnc (650.1 KB)

User Avatar
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

Attachments:
Granite_Texture_Master_File_fix.hipnc (657.2 KB)

Tomas Slancik
CG Supervisor
Framestore, NY
User Avatar
Member
447 posts
Joined: April 2018
Offline
You don't really need to use a VOP for noise any more. An Attribute Noise SOP will do this for you with a bunch of artist-friendly controls built in from the get-go.

  • Quick Links