Search - User list
Full Version: Getting at geometry attributes in COPs
Root » Houdini Indie and Apprentice » Getting at geometry attributes in COPs
klove
This seems like a basic question, but I can't seem to find a answer that works with the latest Houdini 20.5 versions.

In Houdini 20.5, we have COP Network and COP Network - Old.

I have made geometry that calculates some masks on points that I'd like to use to build textures from. On my geometry, I have added UV's. I just want to have the texture be baked out from those attributes. I tried the Labs Map Baker node. But I'm getting nothing out. I've attached a image of my settings.

This seems like it should be trivial.

So either I wanted to import my attribute into my NEW cop network and access it directly. Or export a map. How would I do that? The reason I want to do this is I can do some calculations to visualize where I'd put vegetation and flow maps for my material. Maybe I'm not looking at this problem right. Any help would be appreciated.

The attached image shows my Labs Baker Node settings. I don't know how it knows what UV's its decided use. I would assume it uses the ones I created. But I don't see a place where I explicitly set it. I wanted a map created from the 'mask' attribute.
jsmack
Are you looking to rasterize the attribute? The rasterize geometry node does that. By default it does an orthographic projection from -1 to 1, but you can change the space to uv unwrapped with the rasterize setup node.
klove
I'm not in front of Houdini at the moment. Is the rasterize geometry node a COP context node? I'm guessing it is. I watched a tutorial where the geometry was brought in appearing to be unwrapped like it was UV's. I thought what I saw was using the older COP Network - Old workflow. That's when I stopped watching as I guessed it was the old way of working. I'm never sure about some of these legacy nodes. Will it be deprecated? Is there a new way to accomplish the same task?

But all that aside, to get the geometry attributes in cops, requires the geometry to be imported in with a rasterize geometry node?
jsmack
klove
I'm not in front of Houdini at the moment. Is the rasterize geometry node a COP context node? I'm guessing it is. I watched a tutorial where the geometry was brought in appearing to be unwrapped like it was UV's. I thought what I saw was using the older COP Network - Old workflow. That's when I stopped watching as I guessed it was the old way of working. I'm never sure about some of these legacy nodes. Will it be deprecated? Is there a new way to accomplish the same task?

But all that aside, to get the geometry attributes in cops, requires the geometry to be imported in with a rasterize geometry node?

Yes, this a COP node, not an old COP2 node. The geometry has to be imported with a SOP Import node into the COP network, then rasterized (converted to pixels) with the rasterize geometry node. To rasterize it unwrapped, the rasterize setup node can be used unwrap using the uv attribute.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB