Hi I am trying to convert a greyscale image into 3D. I want to displace a mesh using a greyscale image. So black would have 0 displacement in z-axis and the displacement value will increase as the colour changes from black to white. I have attached the image and the grsshopper definition, not sure why its not working. It seems to displace all points in same value... Any help would be much appreciated on this. Thanks.
why are you using Complex number addition (the Pink component)? Did you mean to use multiplication instead?
Greyscale values are between zero and one, but you're adding those values to huge number (20,000), so the relative differences between the offsets are tiny. If you replace the Complex Addition with regular Multiplication, I think you'll get the result you're after.
Hi David
Thank you or your reply.
I have changed it to a regular Multiplication and it has produced some interesting results. However the result doesn't seem to correlate to the greyscale image I have. The points offset are the results it has produced but they don't seem to be even.
I've found this definition from a blog and I want to produce something like this: http://heumanndesigntech.files.wordpress.com/2010/05/step6.png
What do you think is happening. I'm very new to grasshopper. Thank you.
Jisoo