jit.gencoord issue

derp mcderpington's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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)

Jesse's icon

I believe this would be expected.

Max Patch
Copy patch and select New From Clipboard in Max.

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

derp mcderpington's icon

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.

Jesse's icon
Max Patch
Copy patch and select New From Clipboard in Max.

jit.gl.multiple?