transfering color attribute(Cd) to points from an image file

   8973   4   0
User Avatar
Member
33 posts
Joined: Jan. 2006
Offline
Hi. I'm trying to assign Cd values to the points of a sop from an image file. So far, I've been using a paint sop, with the stamp bitmap option turned on, but there has to be a more efficient or at least accurate way to do this. Any suggestions? Thanks.
User Avatar
Member
1922 posts
Joined: Nov. 2006
Offline
Try the pic() function.
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
729 posts
Joined: July 2005
Offline
Still have this uploaded.

http://www.pixelheretic.com/files/tex_function.avi [pixelheretic.com]
User Avatar
Member
14 posts
Joined:
Offline
I think VEX is the faster way.
Add a VOP SOP Definition, and in VEX you can use “Color Map” node to get color from UVs.
User Avatar
Member
33 posts
Joined: Jan. 2006
Offline
thanks for the suggestions and the movie link. This forum is truly outstanding.
  • Quick Links