Jump to content

For each number loop Attribute Issues


JFWfilms

Recommended Posts

Hi

I’m working on a building destruction shot, and I’m trying to create a ‘clump’ point attribute using a Point Wrangle in a For Each Number loop(Which I’m struggling to get my head around) . I’ve used a Point Wrangle with the expression @clump = 1 + prim(1, "class", 0);. This should take the second input of the wrangle node and assign the value of the class attribute + 1, to the clump attribute, but the clump attribute is 0.0?  I've attached my hipnc file so hopefully it makes a bit more sense.

Thanks a lot!

 

Josh

BuildingDestruction_001.hipnc

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...