Point color from Material SOP?

   9190   5   0
User Avatar
Member
691 posts
Joined: June 2006
Offline
How can i put the colors of a material in the points of a grid (for example) to perform a copy of a box in each point; and each point take his color from the reference point ?

It should be from a Material SOP not from a texture from disk or COP file.

Thanks.
Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
User Avatar
Member
7899 posts
Joined: July 2005
Offline
Is your material a procedural shader? You can create a similar VOP SOP network (eg. copy/paste the nodes from the VEX Surface Shader network) to duplicate the material onto the point colors.
User Avatar
Member
691 posts
Joined: June 2006
Offline
The nodes from the shader VOP didnt work for SOP VOP, for example the texture node.
Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
User Avatar
Member
665 posts
Joined: July 2005
Offline
I realize this is a bit of a diveregence from what you're asking for. But perhaps it would better suited to color your points, and then feed those to the VEX?

Though, now that I read your entry closer, you want a texture… which is probably higher res than your points…

For VOP SOPs you can use the Color Map VOP, doesn't have quite as many options as the Texture VOP in Shaders, but should get you most of the way there.

cheers,
-j
User Avatar
Staff
2642 posts
Joined: July 2005
Offline
alejandro
The nodes from the shader VOP didnt work for SOP VOP, for example the texture node.

Not sure, but perhaps this thread will help?

http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=12562 [sidefx.com]
User Avatar
Member
691 posts
Joined: June 2006
Offline
Thanks Mark, that is much better than the pic() expression.
Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
  • Quick Links