algorithmic modeling for Rhino
I've been trying to use the image sampler to generate a simple facade pattern but as soon as I add an image, it locks up and crashes. Originally I had a 3000x500px image which I thought might be too large. After resizing it to 330x50 (as a test), it still froze up. When it is not freezing up, it is not correctly evaluating the brightness of the image--it tells me every brightness value is 1.0, which is incorrect.
I don't think I'm doing anything wrong...can someone shed some light on this?
Running 0.09.0076 BTW
thanks in advance
Tags:
Are you sampling the colour or the brightness?
david-
just the brightness....
i've attached the file in question
No you haven't.
One problem you can tell from the screenshot is that your points are in the XZ plane. You want them in the XY plane.
The other problem might be the image size domains, by default they range from 0 to 1. I recommend keeping them on the default value and just input a grid of points that range from (0,0) to (1,1).
whoops, my bad.
Vincente, maybe i've misunderstood how this component works, I've used the XZ plane because I want to align the rectangular grid vertically along a building surface. As for the domain, I was mapping it to the dimensions of the surface to be manipulated, though I often get confused by domain logic so I may be making the wrong move here. As you can see in the image, I'm trying to manipulate each brick by the corresponding brightness value of the image I used.
thanks for all your help!
so, I think you're right vincente. If I remove the xz plane and instead use world XY, it evaluates the image correctly. I assumed the X and Y mentioned in the image sampler were intrinsic to the image and NOT the X and Y world axis. But it looks like thats the case. Anyway, I think it will work fine from here!
thanks for checking in
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