hello all,
I am looking for something similar to this:
The equivalent statement to get(x, y) using pixels[] is pixels[y*width+x].
only in 3D and other way round.
Let's assum I have a cube 3x3x3 and
value going up from 0 to 27.
I want to assign each cell in the cube to a number.
So I need a function value-> PVector
e.g. 23 -> 2,3,2 or so.
I Tried % 3 but no success
Can Anyone help?
Thanks!
Chrisir
1