GLSL under Linux (GLX version, no tool library such as GLUT)

xiaoxiao2021-03-06  21

http://xreal.51.net/temp/mylinux/glsl.jpg

http://xreal.51.net/temp/mylinux/glsl.test.0.0.1.tar.gz

In fact, there is a long time ago. Just just put the GLX-related code. Then put the GLSL into it. I have been busy for a small money recently. Not how to integrate other code. Such as mathematics libraries. New devil texture read function, etc. The relevant part is used in 2003 code. Mainly demonstrate GLSL and GLX.

The program was debugged under the DEBIAN SARGE 2.6.8-K7 kernel NV 7176 GCC 3.3.5 driver. The program successfully uses Dri (there is no way for time. I don't know why). .

The code with an Anjuta project. No one is recommended. Apt-get install Anjuta is OK. But the entire project cannot be compiled directly in Anjuta. You have to make your own Make Run. The function of the GLSL code is to detect the texture.

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

New Post(0)