Message Boards Message Boards

Project an image, geographical object, as a texture onto a flat 3D plane?

Dear Community,

I would like to project an image, a geographical object (Lake.PNG) as a texture onto a flat 3D plane. Although I thoroughly checked the coordinates, and studied the documentation, I can't manage to do it. Import is fine, image is fine, the plane appears yet without the image. Could someone have a short look at it, what do I do wrong? Notebook and image attached.

Tx in advance, Best regards. Andras

Attachments:
POSTED BY: Andras Gilicz
2 Replies

Dear Sander,

Works perfect, thank you very much, I've overseen this in the help.

regards Andras

POSTED BY: Andras Gilicz

Change your vertex coordinates:

VertexTextureCoordinates -> {{0, 0}, {1, 0}, {1, 1}, {0, 1}}

Notice that it says this in the help:

The texture coordinates u, v, and w are assumed to range from 0 to 1.

POSTED BY: Sander Huisman
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