gl3 & jit.gl.multiple model

Matth's icon

i would like to know if in the future jit; gl.multiple & jit.gl.model tightened with gl3 engine? they do not currently work together

Rob Ramirez's icon

hi MATTH, gl.model compatibility with gl.multiple is indeed missing in gl3 for now. it is definitely on my list.

in the meantime, you *should* be able to workaround this using gl.model matrixoutput to gl.mesh.

this patch demonstrates this, along with a technique for concating multiple drawgroup matrices into a single matrix for gl.mesh input, and demonstration of basic texturing of the model.

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

Matth's icon

thank you rob !it's perfect

Federico-AmazingMaxStuff's icon

Hi Rob,
I've found that when using GL3 shaders attached to objects that are target of a jit.gl.multiple, it doesn't work.
The object is only rendered ones.
Is this expected behavior or should I research some errors in my shader?
Thank you very much!

Federico-AmazingMaxStuff's icon

Also, setting shader parameters through jit.gl.multiple in gl3 doesn't work.
I mean, when using a shader with version < 1.5
P.S.: I'm on Windows 10

Matteo Amadio's icon

I'm having the same problem as Federico with jit.gl.multiple when a gl3 shader is attached to the target object.
Both the shader and jit.gl.multiple work properly on their own, but not when present together.