Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8562

Howto get texture color from brep

$
0
0

@dsw wrote:

Hi

we currently developing an application where we need to know, which texture color i have on a specific point on the surface.

i found some code snippets where the texture color is calculated from a colored mesh which is generated with the command ComputeVertexColors.

But i think it would be more straight forward to calculate the color directly from the texture and the corresponding texture mapping.
Do you have a code example where this is basically shown?

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 8562

Trending Articles