Description: This the third tutorial in the Foundation section. This tutorial covers the basics of drawing some simple 2D polygons such as triangle, pentagon, rectangle etc. We will make use of the code that we had generated in the previous section. We ll cover some important topics such as Clipping Area, Viewports, Vertex and the Primitives in OpenGL such as the point, line, triangle, polygon, quads etc. We ll write a program that is menu driven and draws points, triangles, lines, quads etc. Platform: |
Size: 26706 |
Author:zhf |
Hits:
Description: 我的程序是用C语言编的一个画图软件,满足以下几点: 用某种方法实现圆的生成算法。 实现橡皮筋直线、圆、矩形。 实现多边形裁剪。 实现基本几何变换(平移、旋转、缩放)。 实现Bezier曲线或B样条曲线。 最终呈现的结果是一个小型的交互式图形系统,用界面把所有功能串连起来。-the procedures I used the C language is part of a drawing software to meet the following points : the use of a certain method of generating algorithm round. Achieving rubber-band linear, circular and rectangular. Achieving polygon clipping. To achieve basic geometry transformation (translation, rotation, zoom). Achieving Bezier curve or B-spline curves. The final results show is a small interactive graphics system, with all the functional interface to link up. Platform: |
Size: 5120 |
Author:李玮玮 |
Hits:
Description: 这是一个图形剪裁的小程序,包括了直线剪裁和图形剪裁两种-This is a small graphic clipping procedures, including a straight cut and tailoring two graphics Platform: |
Size: 52224 |
Author:陈海涛 |
Hits:
Description: 用Cohen算法实现多边形的裁剪,可以输入任意多边形实现裁剪.-Cohen algorithm using the polygon clipping, arbitrary polygon can be imported to achieve cutting. Platform: |
Size: 1024 |
Author:陈芳洲 |
Hits:
Description: 1. 做一个集成的图形界面的程序,可调用每一次作业子程序。
2. 调用画点的函数,用DDA、中点算法画直线和中点算法及正负法画圆和抛物线。
3. 交互式的二维直线求交:如果存在交点,用实心圆显示交点,并用文字显示其坐标。
4. 用动画实现二维图形变换的各种算法,实现对指定形体的平移、旋转和缩放。(包括自行车行走和绕固定点旋转的自旋转物体动画。)
5. 线段裁剪和多边形裁剪算法的动画演示实现。(两种线段裁剪算法和H-S多边形逐边裁剪算法)多边形裁剪算法的动画演示要求先画出一个封闭的多边形,再画矩形的裁剪窗口,然后选择裁剪按钮(或命令),按下“上边裁剪”按钮(或执行“上边裁剪”命令),多边形相对裁剪窗口的上边进行裁剪,显示上边裁剪后的多边形,依此进行其它各边裁剪。
6. 两种扫描多边形扫描转换算法实现(扫描线算法为必做,基于求余运算的边缘填充和边标志算法任选一种);
7. 4连通区域的递归种子填充算法,和扫描线种子填充算法,要求种子点(x,y)可交互输入)。
8. 简单三维图形系统:凸多面体的建模、透视投影,隐藏面的消除及基本图形变换(平移、旋转、缩放)。
9. 交互式Bezier曲线的输入绘制程序实现
-1. So an integrated graphical interface procedures, which call for each operation subroutine. 2. Calling the painting point function, with DDA, the midpoint algorithm painting line and the midpoint algorithm and France Circle and the positive and negative parabola. 3. Interactive 2D linear intersection : If there intersection with a solid circle indicates Nodal and writing to demonstrate its coordinates. 4. Using 2D animation graphics transform algorithms to achieve the specified physical translation, rotation and scaling. (Including walking and cycling around the fixed point of rotating objects from the rotating animation.) 5. Line cutting and polygon clipping algorithm to achieve the animation demo. (Two segments cutting algorithm and H-S-by-side polygon clipping algorithm) polygon clipp Platform: |
Size: 2161664 |
Author:张斌 |
Hits:
Description: 直方图修正和彩色变换源代码.
功能实现:
反色,灰度转换,对比度扩展,削波,阀值化-and color histogram that transform source code. Function : Anti-color and gray-scale conversion, contrast expansion, clipping, a threshold value of Platform: |
Size: 8192 |
Author:凌云 |
Hits: