openGL bangla tutorial || 2D triangle (Polygone) || computer Graphics || part-03

Опубликовано: 04 Ноябрь 2024
на канале: Shadow Coder
680
4

what is openGL?
..............................................................................................................
Open Graphics Library (OpenGL) is a cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics and it is used in the fields of computer-aided design (CAD), virtual reality, scientific visualization, information visualization, flight simulation, video games etc.

This tutorial will help you about ..

How to draw a 2D triangle in openGL?
................................................................................
we use line-drawing program to make a line between two specified points and finally we draw a 2d traingle.This is done with the help of using GL_POLYGON bulit-in command.