登录
首页 » OpenGL图像 » bresenham画直线及opengl扫描线算法填充

bresenham画直线及opengl扫描线算法填充

于 2022-04-13 发布 文件大小:2.50 kB
0 57
下载积分: 2 下载次数: 1

代码说明:

使用bresenham法实现画直线,再利用扫描线算法实现多边形的填充,使用了opengl来显示界面。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 我们将利用OpenGL API
    We will draw as OpenGL API
    2022-06-26 12:09:27下载
    积分: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 太阳 地球 光照代码
    本代码适合学习OpenGL光照编程的同学们,描述了地球绕太阳旋转,在不同角度受到不同太阳光的动态过程。
    2022-03-23 20:25:59下载
    积分:1
  • 二维图像的三维显示 详细信息 < OpenGL > 本人为了图像处理的需要,很想实现二维图像的三维显示,于是写了本代码,希望与此有兴趣的读者共享。图像的获取一是bmp图像文件,二是来自剪贴板。本代码在MFC中调用OpenGL库函数来实现二维图像的三维显示,图像的宽度、高度和象素的亮度分别为三维空间的x,z,y坐标。程序主要有初始化、绘图、资源释放和操作部分,这些功能在OGL_MFCView.cpp文件中实现。OpenGL库的初始化在该文件中的OnCreate,InitScene和DrawScene函数中实现,主要初始化OpenGL运行时的环境变量,三维物体的光照,材质等,由于介绍OpenGL库的初始化的文档很多,在这里我就不多说了,感兴趣的读者可以参考有关的文档。在DrawScene函数中调用全局函数GLDraw3DBMP完成绘图部分。编译源代码时,必须把opengl32.lib glu32.lib链到工程中。 可以通过对话框改变材质。按上下箭头键可以实现三维图像的绕x轴旋转,按左右箭头键可以实现三维图像绕z轴旋转。本代码在Windows2000下编译通过。 -two-dimensional images of three-dimensional display detailed information Image Processing himself to the needs and would like to achieve th ree-dimensional two-dimensional images, then wrote the code, with the readers are interested in sharing. Image Access First bmp image files, two from the clipboard. The MFC code Calling OpenGL library functions to achieve the three-dimensional two-dimensional image display, image width, height and pixel brightness of the three-dimensional space x, z, y co
    2022-05-22 12:29:02下载
    积分:1
  • 高度OpenGL
    height map opengl
    2023-01-13 18:15:03下载
    积分:1
  • 这是OPENGL的第二个例子,这个例子实现了LIGHT的实现,
    这是OPENGL的第二个例子,这个例子实现了LIGHT的实现,-OPENGL This is the second example, this example to achieve the realization of the LIGHT,
    2022-06-26 11:55:46下载
    积分:1
  • use OpenGL prepare a topographical data processing tool for the development, mai...
    用OPENGL编写的一种地形数据文件处理工具的开发,主要是提取并显示DEM文件-use OpenGL prepare a topographical data processing tool for the development, mainly DEM extraction and display documents
    2023-07-04 07:35:03下载
    积分:1
  • 用vertex shader进行繁重的渲染工作,可以获得很多很多的好处
    用vertex shader进行繁重的渲染工作,可以获得很多很多的好处-using vertex shader for rendering the heavy work, many of the available benefits
    2022-03-12 13:38:42下载
    积分:1
  • VB is used to achieve the 3D graphics, OpenGL
    用VB是实现的3D图形,基于OpenGL实现的,感觉挺不错的,-VB is used to achieve the 3D graphics, OpenGL-based realization, I feel pretty good,
    2022-01-25 19:45:39下载
    积分:1
  • opengl和visual c++ 实现的例子系统的演示,漂亮的烟花效果
    用opengl和visual c++ 实现的例子系统的演示,漂亮的烟花效果-use opengl and visual realization of the c examples of the display system, the beautiful effect of fireworks
    2023-06-07 05:55:03下载
    积分:1
  • 696522资源总数
  • 104027会员总数
  • 45今日下载