ITdreamer Posted July 1, 2008 Share Posted July 1, 2008 Hello, friends. Please, help me to find out what is the problem. I need to map color from texture to the particles. I think that the problem is that UV attribute doesn't transfer to the pop_network. And when I try to map color to particles using Color POP and tex function, it dosn't know the UV coordinates of the source color. I tried to map color using Color POP and COP2 Network, but when I write $MAPU and $MAPV to U and V fields, Houdini falls. Here is the simple script, where I have this problem. Please, fix it and post. Many thanks. Part_Color.hip Quote Link to comment Share on other sites More sharing options...
graham Posted July 1, 2008 Share Posted July 1, 2008 (edited) The problem is the UV Texture sop creates the UVs as vertex attributes by default, which the particles aren't picking up since they are points. To fix this you can set the Apply To paramter to Point Texture, or Attribute Promote them. Edited July 1, 2008 by graham Quote Link to comment Share on other sites More sharing options...
ITdreamer Posted July 1, 2008 Author Share Posted July 1, 2008 I didn't understand this first variant. To fix this you can set the Apply To paramter to Point Texture but with the Attribute Promote the problem was solved. Can you explain the first variant? Many Thanks Quote Link to comment Share on other sites More sharing options...
graham Posted July 1, 2008 Share Posted July 1, 2008 On the UVTexture sop there is a parameter called 'Apply to' which controls whether the texture is applied to points or vertices. Natural Location, the default, lets the operator determine what type of attribute is created. In this case it has created the UVs as a vertex attribute. If you change this option to 'Point Texture' it will create the UVs as a point attribute and allow your particles to pick them up. Quote Link to comment Share on other sites More sharing options...
ITdreamer Posted July 1, 2008 Author Share Posted July 1, 2008 Many Many Thanks, friend! )) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.