OpenGL learning --1

xiaoxiao2021-03-06  71

OpenGL learning (1)

I have to use OpenGL to make a graphics test program recently, so I learned OpenGL. The environment is under Linux. RedHat operating system. In fact, the development of OpenGL under Windows and Linux should be similar. Because the last GL's starting API is the same. Therefore, the portability is relatively strong.

First download some of the information about learning. In Google Find the Redbook, there is an example of code and the RedBook book. It is the book of this English. It can be read in English. I haven't finished reading, too much. There are probably two sets of Chinese information on OpenGL in the Internet. It is best to write the program to read the book. This is faster. I compiled the source code of Redbook (Makefile may change, my system is still one header file, I have to find it yourself) and then executive under xwindows. There are more than a dozen small programs.

Write a general OpenGL applet to compare modularization, write the entire program to a 3D renderings. It is just written with API. The step is modeling, projection, blanking, coloring. . .

转载请注明原文地址:https://www.9cbs.com/read-119927.html

New Post(0)