jit.gencoord issue

Jun 7, 2010 at 7:42pm

jit.gencoord issue

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. –
#50785
Jun 7, 2010 at 10:38pm

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. –
#182252
Jun 8, 2010 at 4:01am

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.

#182253
Jun 8, 2010 at 8:13am

jit.gl.multiple?

– Pasted Max Patch, click to expand. –
#182254

You must be logged in to reply to this topic.