Grasshopper

algorithmic modeling for Rhino

Hi, everyone.
How to use imagesampler ?Is there some example before the tutorial publiced?

Views: 2732

Replies to This Discussion

From what I can figure out, you need to supply points on the left in a range of 0 to 1 representing your chosen images edge length for example: the middle point of your image is point (0.5,0.5,0). This is still the case if the aspect ratio of the image is not 1.

The output of this (by default) is the RGB colour values at the supplied point.

You can drag+drop an image file directly onto the Grasshopper canvas to instantiate a new Image Sampler. Or you can drag it from the toolbar, then double click the control to open up the options.

You can adjust the physical range of the image, and also the output types (colour, red, green, blue, alpha, hue, saturation, brightness).

Double click on the ImageSampler icon in the toolbar to display the help-topic for this object.

--
David
Thank you, there are some amazing tools in new version, u r awesome~I want to find some creative way to use these componets, now I only found we could use this one to change the landform picture to 3dmodel. Is there anything else?
Here's an example of a simple nurbs heightfield using the image sampler component:

The image sampler is set to ouput the brightness values and clamped, the rest is set to its default values. The input surface is reparametrized.
Thank you for your help~ only one problem, The SrfGrid component, last one, aways turns to red, I do the same as your defination, could you tell me why ?
If you divide a segment in 200 parts, you end up with 201 points. Add "u+1" into the expression editor of the U input.
thank you very much~
Hi Vicente
Thank you for definition,
Would u please tell me how can I adjust the amount of the extrusion? In case you want to extrude more
thanks
Add a multiply component between the image and the vector amplitude component. The image should output a number between 0 and 1 so the other number being multiplied should be the maximum desired height of the transformation.
may i ask what is the second last component? GT....G? where is it located?
is the last component "surface from grid"?

thanks
GT...tht is the move component...the last is srf from grid, yes
thanks! luis, it's working^^

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