Hello, I was wondering if there's a way to generate points on the surface of a model then color those points based on the texture of the geometry?
I was thinking of Copy Sop with template>Use template attr but there maybe another way.
Thank you
Scatter SOP and texture color
6321 3 0-
- Mike Jose
- Member
- 4 posts
- Joined: June 2013
- Offline
-
- tamte
- Member
- 9380 posts
- Joined: July 2007
- Offline
-
- Mike Jose
- Member
- 4 posts
- Joined: June 2013
- Offline
-
- tamte
- Member
- 9380 posts
- Joined: July 2007
- Offline
I didn't mean shader, even though it is the same thing, but at render time
here is simple example of the Color Map VOP in VopSop so you can then use the color on points for something still in SOPs
if you need more options for sampling the image you can use Texture VOP
and it works because UVs define texture coordinate for each point and Color Map VOP (or Texture VOP) just takes that coordinate and looks up which pixel corresponds to that on the image (it can interpolate if the sample is among more pixels) then it just returns the information from that pixel, usually RGB or RGBA channels
here is simple example of the Color Map VOP in VopSop so you can then use the color on points for something still in SOPs
if you need more options for sampling the image you can use Texture VOP
and it works because UVs define texture coordinate for each point and Color Map VOP (or Texture VOP) just takes that coordinate and looks up which pixel corresponds to that on the image (it can interpolate if the sample is among more pixels) then it just returns the information from that pixel, usually RGB or RGBA channels
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- Quick Links

