-
VC OpenGL, a game engine
VC+OpenGL,一个游戏引擎-VC OpenGL, a game engine
- 2023-02-10 05:10:04下载
- 积分:1
-
Opengl绘制镜子效果
应用背景混合是什么呢?混合就是把两种颜色混在一起。具体一点,就是把某一像素位置原来的颜色和将要画上去的颜色,通过某种方式混在一起,从而实现特殊的效果。
假设我们需要绘制这样一个场景:透过红色的玻璃去看绿色的物体,那么可以先绘制绿色的物体,再绘制红色玻璃。在绘制红色玻璃的时候,利用“混合”功能,把将要绘制上去的红色和原来的绿色进行混合,于是得到一种新的颜色,看上去就好像玻璃是半透明的。
要使用OpenGL的混合功能,只需要调用:glEnable(GL_BLEND);即可。
要关闭OpenGL的混合功能,只需要调用:glDisable(GL_BLEND);即可。
注意:只有在RGBA模式下,才可以使用混合功能,颜色索引模式下是无法使用混合功能的。关键技术 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2022-04-13 12:23:43下载
- 积分:1
-
OPENGL在VC++中的图像上色好的旋转
OPENGL在VC++中的图像上色好的旋转-OPENGL in VC++ Good color image rotation
- 2022-02-28 23:13:56下载
- 积分:1
-
用OpenGL编写的模拟地球、太阳、月亮三者运行状态的文件,可以用方向键操作它们的运动。自己写的代码,欢迎批评,...
用OpenGL编写的模拟地球、太阳、月亮三者运行状态的文件,可以用方向键操作它们的运动。自己写的代码,欢迎批评,-with OpenGL simulation prepared by the Earth and the sun, the moon three running in the paper, you can use the direction keys to operate their campaigns. His writing code, welcome criticism, illustrious
- 2022-05-21 19:10:33下载
- 积分:1
-
这是实时光线跟踪的演示,没有使用openGL、directx3d等三维引擎,真实感特别强烈。...
这是实时光线跟踪的演示,没有使用openGL、directx3d等三维引擎,真实感特别强烈。-This is a real-time ray tracing demo, do not use openGL, directx3d such as three-dimensional engine, realism is particularly strong.
- 2022-03-16 12:10:58下载
- 积分:1
-
OpenGL图元运动 三个圆形的图元 分别代表太阳 地球 月亮 表示了三者的运动关系...
OpenGL图元运动 三个圆形的图元 分别代表太阳 地球 月亮 表示了三者的运动关系-OpenGL pixel circular movement of the three elements representing the sun the moon the Earth, said the relationship between the three movement
- 2022-07-25 18:12:39下载
- 积分:1
-
OpenGL入门第一课,画平面二维图形
资源描述
OpenGL入门第一课,看懂后迅速入门。
绘制二维平面几何图形;
OpenGL的着色模式,Smooth和Flat
实现图形的旋转
- 2023-07-18 06:45:05下载
- 积分:1
-
关于OPENGL光照的程序
关于OPENGL光照的程序-OpenGL light on the process
- 2022-03-30 17:23:27下载
- 积分:1
-
opengl glut dll h文件 opengl glut dll h文件
opengl glut dll h文件 opengl glut dll h文件-opengl glut dll h
- 2022-02-01 12:00:37下载
- 积分:1
-
OpenGL绘制地球
- 2022-02-06 08:12:11下载
- 积分:1