Jump to content

How to read attributes values into POP Grains every frame?


magneto

Recommended Posts

Hi,

 

I thought the grains solver read sop attributes every frame. Is this not the case? Should I be using a SOP Solver to bring the attributes values from SOPs every frame manually?

 

Just want to make sure I am not doing unnecessary steps.

 

 

Thanks :)

 

PS I am doing it with a POP Wrangle.

Link to comment
Share on other sites

So is it possible to import an attribute into dop (EDIT: POP/DOP) using only a POP wrangle or I misunderstood?

no, you can use anything you want as POPs are just normal points, but most commonly you would use POP Wrangle/POP VOP, Geometry Wrangle/Geometry VOP or Sop Solver( so any SOPs like Wrangle, Attrib Copy, ...)

  • Like 2
Link to comment
Share on other sites

  • 4 months later...

..., how you do that in pop wrangle or pop vop? How do you call attribute from level up?

...

 

go to Inputs tab

then set what each input represents, for example if you set first input to First Context Geometry, it will mean that accessing input 0 from wrangle or vopnet would actually access geometry connected to the first input of POP net

but you can as well point it to any SOP or DOP geometry data

 

so if you set Input 1 to your desired geometry you want to update some float attribute foo from, then you can access it in wrangle like:

f@foo = point(0, "foo", @ptnum);

instead of @ptnum you can store ptnum value before emitting grains to be able to then index the correct point in case you need that

  • Like 1
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...