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

sabo's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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 :)

yair reshef's icon

change the drawmode of the mesh to quad or something

sabo's icon

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

yair reshef's icon

its related to the vertex drawing order for the shape you feed it ,
see opengl book for more
http://glprogramming.com/red/chapter02.html

sabo's icon

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.