Description: 本代码为Bresenham直线生成代码,在窗体中可以以任意角度画出直线。-The code for Bresenham line generated code, in the form we can draw a straight line to any angle. Platform: |
Size: 1024 |
Author:李文晖 |
Hits:
Description: 画出椭圆。其中用到opengl的画点函数,其余是普通的C++代码-Draw an oval. Which uses opengl for drawing point function, and the rest is ordinary C++ Code Platform: |
Size: 1024 |
Author:feifei |
Hits:
Description: 实验要求:1、分别用圆的参数生成法和Bresenham算法画圆
2、请调用画圆和画椭圆的函数画出右图提示:openGL 里可通过glrotatef函数实现坐标系的旋转,如绕Z轴旋转45度(相当于XY平面内图形绕原点旋转45度)通过glrotatef(45,0,0,1)来实现。
-Experimental requirements: 1, respectively, the parameters used to generate a round and Bresenham algorithm drawcircle 2, call the circle and ellipse drawing function to draw the right tips: openGL in glrotatef function by the rotation of coordinate system, such as around the Z axis Rotate 45 degrees (equivalent to XY-plane graphics rotate 45 degrees around the origin) through glrotatef (45,0,0,1) to achieve. Platform: |
Size: 2089984 |
Author:马卫龙 |
Hits:
Description: 此程序的功能是实现基本的openGL中的画线算法,总共有四个算法。DDA画线算法,中点Bresenham算法画直线,改进Bresenham算法画直线以及 四分法绘制椭圆-Feature of this program is to achieve the basic openGL draw lines in the algorithm, a total of four algorithms. DDA line drawing algorithm, Bresenham midpoint line drawing algorithm, improved Bresenham algorithm for drawing a straight line and ellipse drawing quartering Platform: |
Size: 1732608 |
Author:周中锋 |
Hits:
Description: 画图,OpenGL实现,可以画点,线,圆,椭圆,矩形,多边形等,可以设置颜色和线的粗细,点的大小-Drawing, OpenGL implementation, can draw points, lines, circles, ellipses, rectangles, polygons, etc., you can set the color and line thickness, point sizes Platform: |
Size: 105472 |
Author:芳琪 |
Hits: