Changes between Version 42 and Version 43 of tutorial
- Timestamp:
- Jul 1, 2013, 2:54:03 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
tutorial
v42 v43 670 670 * gl_ModelViewMatrix*vec4(Zoom*position, 1.0); \ 671 671 }}} 672 672 4. Instead of drawing points use indexed drawing of faces by using 673 {{{ 674 #!c 675 // glDrawArrays(GL_POINTS, 0, vertices); 676 glDrawElements(GL_TRIANGLES, faces*3, GL_UNSIGNED_INT, face); 677 }}} 678 Result is silhouette as we did't provided vertex normals.