I can't get the Z axis working with jit.gl.multiple

mattyo's icon

I'm sure I'm just making some stupid oversight, but I don't seem to be able to control the depth of instances of a jit.gl.multiple. x and Y axes work fine. What have I forgotten to set properly? Stripped-down example is below.

Thanks,

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

M

carsol's icon

i been in a similar situation in the past and setting targetmode of gl.multiple to 1 solve it... but the true is that even the explanation in the help file about targetmode attr. i didnt understand why z axis have this behavior and no the others...

mattyo's icon

that does work, but one thing about draw_raw is that you then lose your lighting_enable and so on. And the scale is completely different, and so forth...

thanks for the suggestion, though!

M

carsol's icon

yes, with the targetmode=1 the ob3d attributes from the target object are ignore, but if you want lighting you can enable it in the gl.multiple object... and the same for scaling, but maybe you dealing with a big patch and this is a big change.. dont know... is up to your patch... :)

mattyo's icon

Oh. Duhh. thanks for reminding me....