![]() ![]() Approximation of 3D surfaces in real-time graphics by means of simpler shapes is known as tessellation. Why a triangle? Well, the geometric shape more frequently used to approximate surfaces is the triangle. Now we want to draw something with OpenGL on that window, specifically, a triangle. A Simple Triangleīy following the tutorials in the previous posts ( Setting up Eclipse CDT for OpenGL and the GLFW Example) we were able to create a minimal program displaying an empty window. ![]() In the following, renderization of a triangle assumes modern OpenGL, i.e., the old, fixed-function pipeline is of no concern for us in this post, as we’ll be using OpenGL buffer objects and shaders. This post will discuss how to render a triangle with OpenGL.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |