-
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
-
为了更好的学习管理OpenGL or Direct3D撰写的各种3D图形算法演示
为了更好的学习管理OpenGL or Direct3D撰写的各种3D图形算法演示-Management in order to better learning OpenGL or Direct3D to write a variety of 3D graphics algorithms demo
- 2022-05-15 03:09:39下载
- 积分:1
-
这个程序主要是如何绕轴旋转物体。让物体绕Z轴, X轴,Y轴 或者全部3个轴旋转...
这个程序主要是如何绕轴旋转物体。让物体绕Z轴, X轴,Y轴 或者全部3个轴旋转-this procedure is mainly around how the rotating objects. Let objects around the Z-axis, X-axis, Y-axis or all three-axis rotation
- 2022-10-14 18:10:08下载
- 积分:1
-
vs2010下opengl打开ply
visual studio2010下加载opengl库之后,可以打开.ply的图像mesh文件,代码清晰易懂,有例子。
- 2022-11-01 19:50:04下载
- 积分:1
-
opengl画多边形源代码
这是如何用opengl画多边形的源代码,这是opengl的基础。可以用来画多边形,可以用来画凸多边形,凹多边形等,知道源代码可以更好地知道编程的原理。以便于学习opengl,这对以后学习opengl有很大的帮助。希望这对大家有很大的帮助。
- 2022-12-18 04:40:03下载
- 积分:1
-
我上传的是基于OpenGL,在Delphi环境下运用的几个小程序,分别在文件夹1,2,3,4,5中,每个文件夹有程序的介绍(txt文件),切记要将glut32....
我上传的是基于OpenGL,在Delphi环境下运用的几个小程序,分别在文件夹1,2,3,4,5中,每个文件夹有程序的介绍(txt文件),切记要将glut32.dll文件拷贝到Windows的System目录下,程序才可运行!由于我还是高校学生,不会太难的程序,望站长酌情考虑-is based on OpenGL, the Delphi environment using a few small programs, in 1,2,3,4,5 folders, each folder on the procedures (txt file), should bear in mind glut32.dll copy the file to the Windows System directory procedures can run! Because I still college students, not too difficult procedures, as appropriate, consider looking head! ! Thank you! !
- 2022-01-25 19:07:48下载
- 积分:1
-
OpenGL (junior) three
OpenGL(初级)三维图形系统开发与实用技术源代码-OpenGL (junior) three-dimensional graphics system development and practical technology source code
- 2023-02-13 02:55:04下载
- 积分:1
-
console app to draw with opengl
console app to draw with opengl
- 2022-04-29 20:09:04下载
- 积分:1
-
3D编程 OpenGL 书
3D编程 OpenGL 书-OpenGL 3D programming book
- 2022-04-28 01:02:12下载
- 积分:1
-
这是一个简单的OpenGL程序:旋转的三维几何图形
这是一个简单的OpenGL程序:旋转的三维几何图形-This is a simple OpenGL program for rotate 3D geometry graph
- 2022-03-06 03:49:45下载
- 积分:1