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

   8983   4   0
User Avatar
Member
33 posts
Joined: 1月 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: 11月 2006
Online
Try the pic() function.
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
729 posts
Joined: 7月 2005
Online
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: 1月 2006
Offline
thanks for the suggestions and the movie link. This forum is truly outstanding.
  • Quick Links