ranxerox Posted January 7, 2010 Share Posted January 7, 2010 hey all, I have a textured model, and some points which track on the surface of the model. I would like to transfer the color from the texture on this model onto these points (so that the particles emanating from them can inherit color). I am using attribpromote to promote the uvs from vertex attributes to point attributes, then using an attribute transfer SOP to transfer the uvs to the points. Then I create a Cd for the dest points and my plan was to make a VOPSOP to texture the points based on these uvs and the same texture as the model. I am kind of stuck because I can't find a VOP to load a 2d texture (so that I can look up the color based on the uvs of the current point). question: Is this the right way to go, and if so, what VOP can I use to load the file texture in the VOPSOP ? thanks in advance. -ranxx Quote Link to comment Share on other sites More sharing options...
ranxerox Posted January 7, 2010 Author Share Posted January 7, 2010 oops, just found it, 'colormap' VOP is what I was looking for. Thanks. -ranxx hey all, I have a textured model, and some points which track on the surface of the model. I would like to transfer the color from the texture on this model onto these points (so that the particles emanating from them can inherit color). I am using attribpromote to promote the uvs from vertex attributes to point attributes, then using an attribute transfer SOP to transfer the uvs to the points. Then I create a Cd for the dest points and my plan was to make a VOPSOP to texture the points based on these uvs and the same texture as the model. I am kind of stuck because I can't find a VOP to load a 2d texture (so that I can look up the color based on the uvs of the current point). question: Is this the right way to go, and if so, what VOP can I use to load the file texture in the VOPSOP ? thanks in advance. -ranxx 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.