Hello,
I am very new to Processing, so please forgive what I'm sure will be ignorance to the point of stupidity. So far I have found this forum extremely helpful, but this will be my first post.
I am writing a sketch that will gather the RGB values from a set range of pixels from a loaded image - this is where I have gotten to.
The next step is to convert the RGB values to XYZ co-ordinates in a 3D environment with a vertex shape connecting the points.
My question is, theoretically speaking, how do I save the RGB values, then load them to be read (by something?) in a new 3D sketch.
I'm looking at arrays, but using them seems to assume a knowledge that I don't have yet.
If you know of any relevant tutorials, or any other pointers, I'd be extremely grateful.
Best wishes,
Andy
I am very new to Processing, so please forgive what I'm sure will be ignorance to the point of stupidity. So far I have found this forum extremely helpful, but this will be my first post.
I am writing a sketch that will gather the RGB values from a set range of pixels from a loaded image - this is where I have gotten to.
The next step is to convert the RGB values to XYZ co-ordinates in a 3D environment with a vertex shape connecting the points.
My question is, theoretically speaking, how do I save the RGB values, then load them to be read (by something?) in a new 3D sketch.
I'm looking at arrays, but using them seems to assume a knowledge that I don't have yet.
If you know of any relevant tutorials, or any other pointers, I'd be extremely grateful.
Best wishes,
Andy
1