-
DDA 算法的实现
数字微分分析器或只是简略的 DDA 直线绘制算法是用于光栅图形设备中绘制线条。在这种算法,在行的开始和结束位置已提供。
中介像素位置将在起始点和结束点之间的时间间隔的变量线性内插法计算。该算法如下所示:
让开始和结束点线的是 (x 1,y1) 和 (x2,y2),分别。所以坡、 m = (y2-y1)/(x2-x1)。根据 m 和该象限的 (x,y) 的值属于,中介像素职位要计算如下:
职位要计算如下:
象限
m < = 1
m > 1
第一次
x = x + 1
y = y + m
x = x + 1/m
y = y + 1
第二次
x = x 1
y = y + m
- 2022-08-10 08:17:23下载
- 积分:1
-
一个可以观看quake系列游戏3D模型的软件
一个可以观看quake系列游戏3D模型的软件-a quake can watch the game 3D model of software
- 2022-02-06 08:35:56下载
- 积分:1
-
这个是老师留的作业,用OpenGL方针一个机械手开/关一个灯泡
这个是老师留的作业,用OpenGL方针一个机械手开/关一个灯泡-the teachers to stay the operation of a principle with OpenGL manipulator on/off a light bulb
- 2022-03-24 10:06:26下载
- 积分:1
-
OpenGL light examples source codes
OpenGL light examples source codes
- 2022-03-17 16:06:02下载
- 积分:1
-
OpenGL 3D模型
资源描述
3D建模和真实感图形绘制
- 2022-05-17 11:22:24下载
- 积分:1
-
use opengl and vc write demonstration seawater example, the dynamic effects
用opengl和vc++写的演示海水的例子,有动态效果
-use opengl and vc write demonstration seawater example, the dynamic effects
- 2022-03-16 11:57:43下载
- 积分:1
-
java语言实现图像的捕捉等功能
java视频处理软件,可用来播放视频,采集摄像头图像等。-video processing software can be used to broadcast video, acquisition camera images.
- 2022-07-17 20:29:48下载
- 积分:1
-
周炜的nehe opengl全中文48章教程,最近网上不能下载,有喜欢的朋友可以一起分享,我会陆续把他的代码全部上载,再次感谢这位无私的朋友为我们提供的这么好的...
周炜的nehe opengl全中文48章教程,最近网上不能下载,有喜欢的朋友可以一起分享,我会陆续把他的代码全部上载,再次感谢这位无私的朋友为我们提供的这么好的学习教材-Zhou Wei, the Chinese-language nehe opengl tutorial Chapter 48, the latest online Can not download, like to have friends can share, I will catch him all the code upload, once again thank the selfless friend to provide us with such a good learning materials
- 2022-03-06 02:57:05下载
- 积分:1
-
OpenGLMT算法源代码,基于VC++6.0的开发平台。
OpenGLMT算法源代码,基于VC++6.0的开发平台。-OpenGLMT algorithm source code, based on VC++ 6.0 development platform.
- 2023-07-11 18:40:03下载
- 积分:1
-
一个很经典的的OPENGL程序
一个很经典的的OPENGL程序-a classic procedures of the OpenGL
- 2022-07-01 19:02:34下载
- 积分:1