algorithmic modeling for Rhino
Hello! I've recently started experimenting with the image sampler... I'm trying to select certain points using a pattern-image (so I can then create a 3d grid out of them). I've managed to do it in xy plane but i'm having trouble figuring out how to convert the xz points to uv coordinates to match my image sampler.
I've used circles and colors to visualize the pattern. The first image is what i need and the second is what i get!
Tags:
-The image sampler needs 2 coordinate numbers to sample pixel information from a bitmap.
-Point generates 3 numbers (X,Y,Z)
-Image sampler takes first two numbers and ignores the third one, so it reads X,Y. Since your point grid is in XZ plane, Y always returns as 0.
- Simply extract XZ coordinates of each point and feed those in to the image sampler.
After searching, i figured that this was my problem, i just didn't know how to "simply" extract the coordinates i needed! Thank you!!!
That's actually really helpfull since i need to apply the def to a number of images of different resolution! And it works perfectly! Thank you for the twist!
(p.s. i love your white grouping color!)
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
© 2024 Created by Scott Davidson. Powered by