Lesson 6 - attribute transfer in POP level

   2496   5   0
User Avatar
Member
37 posts
Joined: Aug. 2012
Offline
Hi

I'm going through Lesson 6 last example and has a question.
https://archive.sidefx.com/index.php?option=com_content&task=view&id=2186&Itemid=361 [archive.sidefx.com]

also attached the screen shots of the tutorial and mine.
In his setup he added “attribute transfer” in POP level. But in houdini V15, you don't have it in POP level.

What do I need to use instead? I tried “POP attribute from volume” but no luck. As you can see my spheres turn into black instead of getting red color attributes from the box grid.

Any solution?

hb

Attachments:
Screen Shot 2016-06-06 at 1.27.19 PM.png (862.5 KB)
Screen Shot 2016-06-06 at 1.20.38 PM.png (542.5 KB)

User Avatar
Member
1748 posts
Joined: May 2006
Offline
This has been asked and answered a few times before, quick search would have found that.

Nevertheless, I didn't like any of the other answers, so I made my own.

Hey SideFx folk, maybe its time to do a re-record of some of the older stuff? Or at least take them down temporarily until they can be updated? All they do is cause confusion.

Attachments:
pop_transfer_colour.hip (263.6 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
37 posts
Joined: Aug. 2012
Offline
hahaha. Sorry I was getting a bit impatient when things weren't going well. ;-)

huge thanks for your solution!

hb
User Avatar
Member
37 posts
Joined: Aug. 2012
Offline
One more question.

I added “POP Group” with rule “@Cd.r < 0.5;”. But as you can see it doesn't work. In geometry sheet everything is still 0. What did I do wrong?

hb

Attachments:
Screen Shot 2016-06-06 at 6.31.53 PM.png (475.3 KB)

User Avatar
Member
39 posts
Joined: July 2013
Offline
When you make the POP Group node it has “ingroup =” already written in there, you need to keep that. This should work:

ingroup = @Cd.r < 0.5;
User Avatar
Member
37 posts
Joined: Aug. 2012
Offline
Thank you thank you!
It works fine now.

hb
  • Quick Links