Import/Export Surface Color (Cf)

   2186   1   0
User Avatar
Member
6 posts
Joined: 8月 2009
オフライン
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
8173 posts
Joined: 9月 2011
オンライン
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 - 2017年10月11日 00:24:18
  • Quick Links