Use of jit.gl.model & jit.gl.mesh

bassman2112's icon

Hello there,

I'm in the process of learning Jitter (loving it a lot) and have been working on the GL stuff recently.

I have been able to load a model I created in blender to my jit.gl.model object, and want to do some interesting operations with it. I thought that pulling it into jit.gl.mesh would be the best way to do so; but am having trouble having it actually show up.

I have changed the @matrixoutput attribute to 1, which is then going into a jit.gen, followed by the jit.gl.mesh which is being sent to jit.gl.render; but I'm not getting any output. I am able to see the handle I have put on the model within the window; but not the model itself.

Any help would be super appreciated! thanks =)

bassman2112's icon

Actually, I was able to accomplish a bit of what I wanted by looking through the reference files for jit.gl.model and messing around with things provided by the "drawing" tab =D

Fairly interesting, and I am looking forward to further experimentation with it.

Feel free to disregard this post now, thanks again =)

Andro's icon

Make sure that your drawing mode for jit.gl.mesh AND jit.gl.render is set to draw primitive triangles !! Another thing you can do is use the triangulate modifier in Blender.
Simply put the standard quad mode doesn't work very well and can give unexpected results.