Following along this varomix tutorial on geometry to particle dissolve but want to color my particles to match that precise point on the geometry texture where they start. I know how to color particles according to their velocity but kind of lost how to achieve this.
Somehow I need to transfer the Cd attribute at the precise point they leave the geometry. Any particle experts care to chime in?
I'm using Redshift but feel the question of color attribute transfer is more Houdini specific.
My very, very rough guess (feel free to correct if I am wrong)
1-transfer the Cd attribute from geometry to particle at the particles birth
2-enable the Cd point attribute in the enclosing particles geometry Redshift OBJ
3-use the passed Cd attribute in the custom particle shader
https://www.youtube.com/watch?v=zrhXB653wKg [www.youtube.com]
Transferring color from geometry to particle
3879 1 1-
- art3mis
- Member
- 351 posts
- Joined: June 2016
- Offline
-
- tamte
- Member
- 9291 posts
- Joined: July 2007
- Offline
if you have uv attribute on your geo then just make sure it is included in appropriate output attributes pattern on Scatter SOP (point or Vertex, whichever it is)
then your points will inherit that uv and you can use it to look up your color from the texture in VOPs or directly in the material
then your points will inherit that uv and you can use it to look up your color from the texture in VOPs or directly in the material
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- Quick Links