Message Boards Message Boards

0
|
3002 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How to use VertexTextureCoordinates?

Posted 2 years ago
Attachments:
POSTED BY: Mariano Gonzalez
2 Replies
POSTED BY: Mariano Gonzalez

Mariano,

I guess you basically have to rescale the (2D texture) vertex coordinates:

Graphics3D[{Texture[pic], Polygon[v, VertexTextureCoordinates -> Rescale[Rest /@ v]]}, 
 Boxed -> True, Axes -> True]

enter image description here

... well, at least I hope this is you have in mind.

Muchos saludos a Lima -- Henrik

POSTED BY: Henrik Schachner
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract