Import/Export Surface Color (Cf)

   1711   1   0
User Avatar
Member
6 posts
Joined: Aug. 2009
Offline
I have procedural vopMaterial in my scene and in that there is attribute called surfaceColor (Cf) which i want to use as emission map for particles and fluid without baking (bakeTexture). So is it possible to use surface color in SOP/POP/DOP ??
User Avatar
Member
7770 posts
Joined: Sept. 2011
Online
No, surface shaders can only be evaluated by mantra. Geometry shaders (CVEX) are required to procedurally evaluate point or vertex color. The attribute vop and geometry vop evaluate cvex geometry shaders in geometry(SOPs) and dynamics(DOP) contexts. Surface shaders are built using the same langauge as geometry shaders, so it may be possible to recreate in a geometry context. Note that there are differences in how global variables work, and which nodes are usable.

This page isn't very much help for new users, but this is the node to use for building vop networks to operate on geometry in sops:
http://www.sidefx.com/docs/houdini/nodes/sop/attribvop [www.sidefx.com]
and dops:
http://www.sidefx.com/docs/houdini/nodes/dop/geometryvop [www.sidefx.com]
particles in dops:
http://www.sidefx.com/docs/houdini/nodes/dop/popvop [www.sidefx.com]
Edited by jsmack - Oct. 11, 2017 00:24:18
  • Quick Links