Quick GL Question – Why Is jit.gl.mesh Not Working?

Aug 18, 2011 at 8:53am

Quick GL Question – Why Is jit.gl.mesh Not Working?

Hi, here’s the most rudimentary possible patch for jit.gl.mesh. How come this is not rendering anything? I am sure it’s something tiny that I am overlooking but I am absolutely stumped. Please help! Much thanks :)

– Pasted Max Patch, click to expand. –
#58522
Aug 18, 2011 at 9:53am

change the drawmode of the mesh to quad or something

#210298
Aug 18, 2011 at 2:41pm

perfect, thx. why is it triangles drawmode does not show anything?

#210299
Aug 18, 2011 at 3:05pm

its related to the vertex drawing order for the shape you feed it ,
see opengl book for more

http://glprogramming.com/red/chapter02.html

#210300
Aug 18, 2011 at 4:20pm

ah thanks for the link! will read up on this, i am sure a lot of questions i have about opengl will be answered in this book.

#210301

You must be logged in to reply to this topic.