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


    Aug 18 2011 | 8:53 am
    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 :)

    • Aug 18 2011 | 9:53 am
      change the drawmode of the mesh to quad or something
    • Aug 18 2011 | 2:41 pm
      perfect, thx. why is it triangles drawmode does not show anything?
    • Aug 18 2011 | 3:05 pm
      its related to the vertex drawing order for the shape you feed it , see opengl book for more http://glprogramming.com/red/chapter02.html
    • Aug 18 2011 | 4:20 pm
      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.