Grasshopper

algorithmic modeling for Rhino

I'm working on a form generating script for a Canstruction project, and I want to add a bit of realism, so I'm trying to map a can label onto a mesh cylinder. But I just can't get the image to cohere. Any ideas of what I'm doing wrong here?

Views: 1322

Attachments:

Replies to This Discussion

Hi Paul,

I can not help you with solving this problem in Grasshopper.
But you can definitively solve it in Rhino, in this way:

0) Bake your cylinder from Grasshopper.

1) Select it in Rhino

2) In the Properties drop box menu (on the right) choose "Material".

3) Choose "Basic" from the radio buttons below

4) Check "Texture"'s checkbox

5) Define your texture "Map file". In your case, use "Carrots small.jpg" file.

Hi Paul,

it's easy...once you know how the image sampler works...its confusing sometimes.

You have to input point coordinates that corrispond to the pixel coordinates on the picture and not those from the mesh directly. See pic above.

You can imagine it as a UV map. I've added the display for the points with the same color on the construction plane. So you see how these point coordinates are beeing mapped onto the cylinder.

Cheers FF

Attachments:

Very nice Florian.
Thank you!

Thanks dude!

your welcome...just for interest...why do you need this as a vertex color on the mesh? are you going to print it with the zcorp or some crazy shit??? ;-)

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service