Cd attribute in the Geometry COP

   13461   6   2
User Avatar
Member
6 posts
Joined: July 2005
Offline
Greetings,
I know the Geometry COP says “This COP renders geometry from a SOP as a single color image.”

However, I would like to also have the point color attribute (Cd) on the image.

In other words, is there a way to import an attribute from a Sop and have it displayed inside a Cop ?

Thanks,
Eric Gervais-Despres
User Avatar
Member
383 posts
Joined: June 2010
Offline
Just stumbled across the same problem ..
Any solution found ?
www.woogieworks.at
User Avatar
Member
51 posts
Joined: Oct. 2006
Offline
You can use Intersect inside VOP COP generator to cast rays manually and then sample attributes at hit positions using PrimAttrib (it'll return interpolated values for point attrs). It's slow though, but sometimes can still be useful.
I'm attaching a simple scene to demonstrates this.

Attachments:
COP_Cd_sampling.jpg (126.0 KB)
COP_Cd_sampling.hipnc (163.8 KB)

User Avatar
Member
37 posts
Joined: April 2013
Offline
To access at Cd Attributes in COP :
In CHOP create Geometry and add your Geo in SOP, Attributes Scope will be : Cd
Use Pixel COP, red green blue will be the channel of the Geometry CHOP.

Pixel COP is slow, i don't know how we can have access to Point Attributes in VopCop ? (for bypass the pixel COP)
User Avatar
Member
670 posts
Joined: Sept. 2013
Online
Kim Goossens published a tutorial on exchanging image data between SOPs and COPs.
Introduction: https://www.youtube.com/watch?v=BrNaDDeNymE [youtube.com]
Part 1: https://www.youtube.com/watch?v=_5t-afUyMfE [youtube.com]
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
User Avatar
Member
1 posts
Joined: Oct. 2019
Offline
Why my Houdini doesn't have Attribute for map? Or where is it?
User Avatar
Member
8525 posts
Joined: July 2007
Offline
Silver7890
Why my Houdini doesn't have Attribute for map? Or where is it?
its in SOPs
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links