-
OpenGL 3
OpenGL三维图形系统开发与实用技术》书的源码-OpenGL 3-D graphics system development and practical skills, "the source
- 2022-07-19 01:06:57下载
- 积分:1
-
OpenGL图像编程的代码,一本不错的书的源代码,可惜没下载到书。希望代码可供大家学习...
OpenGL图像编程的代码,一本不错的书的源代码,可惜没下载到书。希望代码可供大家学习-OpenGL graphics programming code, a good book" s source code, unfortunately did not download the book. Hope that the code for them to learn from
- 2022-10-15 02:15:03下载
- 积分:1
-
Opengl实现的旗帜飘动效果,c语言源代码。
Opengl实现的旗帜飘动效果,c语言源代码。-Opengl realize the effect of the flag fluttering, c language source code.
- 2022-08-13 07:09:45下载
- 积分:1
-
Opengl绘制镜子效果
应用背景混合是什么呢?混合就是把两种颜色混在一起。具体一点,就是把某一像素位置原来的颜色和将要画上去的颜色,通过某种方式混在一起,从而实现特殊的效果。
假设我们需要绘制这样一个场景:透过红色的玻璃去看绿色的物体,那么可以先绘制绿色的物体,再绘制红色玻璃。在绘制红色玻璃的时候,利用“混合”功能,把将要绘制上去的红色和原来的绿色进行混合,于是得到一种新的颜色,看上去就好像玻璃是半透明的。
要使用OpenGL的混合功能,只需要调用:glEnable(GL_BLEND);即可。
要关闭OpenGL的混合功能,只需要调用:glDisable(GL_BLEND);即可。
注意:只有在RGBA模式下,才可以使用混合功能,颜色索引模式下是无法使用混合功能的。关键技术 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-04-13 12:23:43下载
- 积分:1
-
Author : yulongsun penGL need to give Chinese exports, However, we did not find...
作者: yulongsun
需要在penGL中作中文输出,但没发现何处有合适的,把一个叫zhaohui的人写的英文字符输出类改了一下,可以输出中文了,但却并没有解决我的问题。我感觉得应该使用wglUseFontBitmaps()函数使字体保持不变。但我对 OpenGL不熟,不知怎么用。不过我做的东西也许对别人有用,权且放在这儿。同时希望得到指教。
文件:CGLFont.c CGLFont.h
env::windows2000, vc6.0
e-mail: yulongsun@163.com -Author : yulongsun penGL need to give Chinese exports, However, we did not find a suitable where, a person called zhaohui write English characters output category changed a bit, the Chinese can export, but not solve the problem. I feel that you should use wglUseFontBitmaps () function so that fonts remain unchanged. But I OpenGL well, I do not know how use. But I may do something useful for others, the time being here. Hope received the exhibitions. Documents : CGLFont.c CGLFont.h env : : Solaris, vc6.0 e-mail : yulongsun@163.com
- 2022-02-25 06:21:46下载
- 积分:1
-
Prepared by a real OpenGL teapot models, can hit lights, can also rotate
用OpenGL编写的一款真实茶壶模型,可以打灯,也可以旋转-Prepared by a real OpenGL teapot models, can hit lights, can also rotate
- 2022-01-26 01:12:17下载
- 积分:1
-
OpenGL初级学习的经典例程open inventor
OpenGL初级学习的经典例程open inventor-OpenGL and open inventor
- 2022-02-04 17:35:27下载
- 积分:1
-
OBJ文件的载入。
OBJ文件的载入。-OBJ included in the document.
- 2022-10-01 09:35:03下载
- 积分:1
-
有趣的象棋游戏,很容易赢
fun chess game that is easy to win
- 2022-08-22 09:30:32下载
- 积分:1
-
绝对原创的鼠标控制代码 资源消耗量做到了绝对够小
绝对原创的鼠标控制代码 资源消耗量做到了绝对够小-Absolutely original code of the mouse to control consumption of resources to achieve a small enough absolute
- 2022-01-23 11:16:17下载
- 积分:1