搜索资源列表
openglline
- 程序使用了Bresenham算法的思想,将四个象限的问题通过交换端点的方法合并成一,四象限的问题。再利用sign变量,统一成一个问题。又考虑到斜率<1,>1最终问题分成了两种情况。在直线插补程序的一开始,把斜率为正无穷的情况单独进行讨论。最终完成了整个程序-procedures for the use of the Bresenham algorithm thinking, four quadrant of the issue through the exchange of endp
拓展的Bresenham画直线(全象限全斜率)
- 拓展的Bresenham画直线(全象限全斜率),采用实时判断斜率的方式分别对正负斜率进行处理,用了对称的思路做出图象。效果很好,代码非常简洁明了。,Bresenham draw a straight line extended (all-quadrant all-slope), the use of real-time manner to determine the slope of the positive and negative slope, respectively, to deal w
zyBresenham
- Bresenham算法的动画演示程序,用opengl编写,可以显示斜率大于1和小于1的两种情况。-Bresenham algorithm animation demo program using opengl prepared to show the slope is greater than 1 and less than 1 in both cases.
tuxingxu
- 用vc++实现直线生成算法,根据斜率大于或小于1来确定从那个方向开始-Using vc++ to achieve a straight line generating algorithm, based on the slope is greater than or less than 1 to determine the direction from the beginning
bresenham
- Bresenham’s increments x by 1 and y by 0 or 1 This makes sense for our lines, we want them to be continuous If the magnitude of the slope were more than 1, we’d swap x & y-Bresenham’s increments x by 1 and y by 0 or 1 This makes sense for our l
drawline
- 给定两点用bresenham画任意斜率的斜线,在c++里用opengl实现-Given any two points with the slope of the diagonal bresenham painting, in c++ implementation in use opengl
OpenGL_1
- 基于Open GL 开发了针对三维边坡稳定分析的可视化软件。软件框架由3 个部分组成:前处理模块、计算模块和后处理模块。-Open GL based on the development of three-dimensional slope stability analysis for the visualization software. Software framework consists of three parts: pre-treatment module, the calculat
Draw12
- 使用 OpenGL 进行三维地形的绘制的源代码,能够通过输入参数值确定地形的坡度-Using OpenGL for rendering of the source code for the three-dimensional terrain, through the input parameter values to determine the slope of the terrain
Hermite-Splines
- 自定义函数 根据两个控制点以及对应斜率 画出Hermite曲线 并由方向键控制形状大小-Hermite curve by the arrow keys to control the shape and size of a custom function to draw the two control points and the corresponding slope
jiyupodudelvbo
- 基于坡度的滤波处理程序,用于点云的初期滤波-Slope-based filter handler for the initial filtering of the point cloud
opengl-zhongdianhuaxian
- 通过opengl实现中点画线法,可以分为斜率大于和小于1来实现-By opengl implementation dotted line, can be divided into the slope to achieve greater-than and less than 1
line
- 1、编写函数LineDDA(),实现任意斜率直线的扫描转换,算法为DDA算法; 2、编写函数LineBre(),实现斜率任意斜率直线的扫描转换,算法为改进的Bresenhan算法; 3、编写函数LineMidPointBre(),实现任意斜率直线的扫描转换,算法为中点Bresenhan算法。-1, write the function LineDDA (), arbitrary slope of the line scan conversion algorithm to DDA algo
1
- 基于OPENGL的任意直线的对称变换,可自由定义直线的斜率,对称图形的形状等-OPENGL-based arbitrary line of symmetry transformation, can be freely defined linear slope, the shape of symmetric graphics, etc.
code
- 用Bresenham画线算法实现水平、垂直、斜率大于1、斜率小于1、斜率为正、斜率为负等各种情况(不能直接调用OpenGL画线函数)。(Using Bresenham line drawing algorithm to achieve horizontal, vertical, slope greater than 1, slope is less than 1, slope is positive, slope is negative, and so on, and can not direc
