openGL bangla tutorial | first program | computer Graphics | part-02

Опубликовано: 01 Ноябрь 2024
на канале: Shadow Coder
2,390
23

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_LINES bulit-in command.