algorithmic modeling for Rhino
Hello everyone,
I need your help, i need to "represent" an image, on a square grid, by rotating the squares, with the axis in their middle, like if they were individual oriented blind, and the angle of aperture is somehow defining the image or logo...
How can i do this... at the moment im lost.
Thank you all in advance, and best regards from Portugal!
Help - How to sample an image on rotating square grid?
Tags:
Hi João,
Is this what are you looking for:
?
Here is a definition that rotates the squares and colors them according to the brightness of the image.
When you open the definition, just double click on Image sampler component, and then in "File path" choose the .jpg file "image-sampler-rotating2inve.jpg" that you have just downloaded from here.
Hi Diordie,
Thank you for sharing this definition. It has been very useful however I am having trouble baking the gradient. The gradient does not show up in Rhino. Can you help?
Thank you!
Chifen
Hi Chifen,
I can't edit my upper file, as I do not have PC with me.
But the thing you need is bakeAttributes component. It will enable you baking objects with their respected colors.
Download the bakeAttributes component from here, then import it into my upper .gh file. Connect the "obj" plug with the rotating squares, and gradient colors output with "color" plug. Then bake.
Hi Diordie,
Thank you for your quick reply. I imported the bakeAttributes but I don't see anything in Rhino... Can you look at the attached and advise what I did wrong?
Did you set the "activate" plug to "True" (that will bake the geometry to Rhino)?
It works! Thanks!
I have one more question. How can I render the result with gradient. Keyshot doesn't read it as a gradient.
Thank you!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by