Forums > Jitter

jit.gencoord issue

June 7, 2010 | 7:42 pm

so I create a jit.gencoord 3 float32 10 10 , and only see it create values across plane 0 and 1, plane 2 is zeroed. is this a bug? (X/Y are values, Z is nada)

– Pasted Max Patch, click to expand. –

June 7, 2010 | 10:38 pm

I believe this would be expected.

If you want to generate values in plane 2 just use [jit.expr] to do so. For example:

– Pasted Max Patch, click to expand. –

June 8, 2010 | 4:01 am

yea, i shouldve mentioned that- jit.expr was my workaround as well. I just was surprised, since jit.gencoord says "supports: any type/planecount/dimcount" when, well, it doesn’t.

What I was trying to do earlier was to use jit.gencoord to generate a cube of equally spaced XYZ vertices. (not just on the outer sides of a cube as jit.gl.gridshape/matrixoutput does, but the inside too. basically sets of equally spaced planes) not sure what the jit.expr expression would be for that- if you have any thoughts, they’re more than welcome.


June 8, 2010 | 8:13 am

jit.gl.multiple?

– Pasted Max Patch, click to expand. –

Viewing 4 posts - 1 through 4 (of 4 total)