Location:
Search - clipping a line
Search list
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: 108711 |
Author: 张斌 |
Hits:
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: 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: 这里将以前编写的一个简单的Cohen-Sutherland线段裁剪算法的实现程序共享给大家。
-Here will be prepared before a simple Cohen-Sutherland Line Clipping Algorithm sharing to everyone.
Platform: |
Size: 120832 |
Author: 柯南 |
Hits:
Description: 通过OpenGL用编码裁剪法实现矩形窗口裁剪二维直线的算法,是计算机图形学中的经典。-Cutting through OpenGL coding method used to achieve a straight line of two-dimensional rectangular window clipping algorithm is a classic computer graphics.
Platform: |
Size: 2048 |
Author: Anse |
Hits:
Description: 源码简介: 这是我上图形学实验课时写的程序,实现了以下功能:
第一次作业:(第一课时)
要求:用Bresenham算法画出一个多边形,然后用扫描线填充
第二次作业:(第二课时)
要求:二维空间变换
第三次作业:(第三、四课时)
要求:三维空间变换及投影
第四次作业:(第五,六课时)
要求:Cohen_Sutherland裁剪,梁友栋-Barsky裁剪,裁剪开窗算法,多边形裁剪。
第五次作业:(第七,八课时)
要求:Hermite曲线,Bezier曲线(几何作图算法,分裂法),B样条曲线分段算法。
-Source Description: This is my experiment on the Graphics class to write the procedures, to achieve the following functions: the first operation: (first class) requirements: using Bresenham algorithm to draw a polygon, then the second scan line fill operation: (second class) requirements: the third two-dimensional space transform operation: (third and fourth class) requirements: three-dimensional projection transformation and the fourth operation: (fifth and sixth class) request: Cohen_Sutherland cutting, You-Xin Liang Dong-Barsky Clipping , cutting window algorithm, polygon clipping. Fifth operation: (seventh, eight hours) to request: Hermite curve, Bezier curve (geometric mapping algorithm, secession law), B-spline curve algorithm subparagraph.
Platform: |
Size: 69632 |
Author: 罗森 |
Hits:
Description: 线段裁剪:
点击线段裁剪下的划线,画一条线段;
再点击矩形裁剪,进行线段裁剪。-Line Clipping: Click under the cut line segment, draw a line segment then click the rectangular cutting, for Line Clipping.
Platform: |
Size: 3643392 |
Author: 冰松 |
Hits:
Description: 利用Visual C++编写的Cohen_Sutherland直线裁剪算法演示程序,图形界面,可以拖拉画直线,裁剪窗口大小可以自由变换,也可以准确定位输入直线和点-The use of Visual C++ Prepared Cohen_Sutherland line clipping algorithm demo program, graphical interface, you can drag and drop drawing a straight line, cutting window size can freely transform, accurate positioning can also enter a straight line and point
Platform: |
Size: 31744 |
Author: wuyiliang |
Hits:
Description: 1. 简单图元的生成(如直线、圆、长方形等)
2. 用DDA算法或中点(Besenham)算法实现直线段、椭圆或圆的绘制
3. 用扫描线填充算法进行区域填充,用Sutherland 裁剪算法裁减多边形
4. BEZIER曲线或B样条曲线的绘制
5. 个性化图形软件包的开发
6. 所有文件包括源码和截图-1. Easy metafile generation (such as linear, round, rectangular, etc) 2. Using DDA algorithm or the mid-point (Besenham) algorithm achieve a straight line segment, draw an oval or round 3. Scanline fill algorithm used to populate the region, with Sutherland reduction of polygon clipping algorithm 4. BEZIER curve or B-spline Curve 5. personalized graphics package development 6. all documents, including source code and screenshot
Platform: |
Size: 1444864 |
Author: lixuan |
Hits:
Description: 了解二维图形裁剪的原理(点的裁剪、直线的裁剪、多边形的裁剪),利用VC+OpenGL实现直线的裁剪算法。
2.实验内容:
(1) 理解直线裁剪的原理(Cohen-Surtherland算法、梁友栋算法)
(2) 利用VC+OpenGL实现直线的编码裁剪算法,在屏幕上用一个封闭矩形裁剪任意一条直线。
(3) 调试、编译、修改程序
-Understanding of the principles of cutting two-dimensional graphics (point of cutting, cutting a straight line, polygon clipping), the use of VC+ OpenGL to achieve a straight line cutting algorithm. 2. Experimental contents: (1) understand the principles of cutting a straight line (Cohen-Surtherland algorithm, You-Xin Liang Dong algorithm) (2) the use of VC+ OpenGL to achieve a straight line cutting the coding algorithm, on the screen in a closed arbitrary rectangular cutting a straight line. (3) debug, compile, modify the program
Platform: |
Size: 566272 |
Author: jing |
Hits:
Description: 了解二维图形裁剪的原理(点的裁剪、直线的裁剪、多边形的裁剪),利用VC+OpenGL实现直线的裁剪算法。-Understanding of the principles of cutting two-dimensional graphics (point of cutting, cutting a straight line, polygon clipping), the use of VC+ OpenGL to achieve a straight line cutting algorithm.
Platform: |
Size: 4096 |
Author: zhanyun |
Hits:
Description: 图形裁剪,有点、线、多边形裁剪,点、线使用四比特法,多边形使用四边框裁剪-Graphic cutting, a little, line, polygon clipping, point, line and use the four-bit method, polygon clipping using the four border
Platform: |
Size: 16384 |
Author: 朱军 |
Hits:
Description: 这个程序可以实现中点画圆画线 种子填充 裁剪-This process can achieve the midpoint of seed filling Circle Draw a line clipping
Platform: |
Size: 1996800 |
Author: beibei |
Hits:
Description: opengl 多边形裁剪
三维视图
填充 画线 整合小插件-opengl polygon clipping drawing a line filled with three-dimensional view of a small plug-in integration
Platform: |
Size: 4076544 |
Author: 陈建 |
Hits:
Description: 一个集成的图形界面的程序,可调用每一次作业子程序。一、调用画点的函数,用DDA、中点算法画直线和中点算法画圆和椭圆。二、多边形扫描转换算法和区域填充算法实现(扫描线算法为必做,基于求余运算的边缘填充和边标志算法为任选;基于种子的区域填充采用4连通区域的递归种子填充算法,或扫描线种子填充算法,要求种子点(x,y)可交互输入)。三、线段裁剪和多边形裁剪算法的动画演示实现。(两种线段裁剪算法和H-S多边形逐边裁剪算法)多边形裁剪算法的动画演示要求先画出一个封闭的多边形,再画矩形的裁剪窗口,然后选择裁剪按钮(或命令),按下“上边裁剪”按钮(或执行“上边裁剪”命令),多边形相对裁剪窗口的上边进行裁剪,显示上边裁剪后的多边形,依此进行其它各边裁剪。四、用动画实现二维图形变换的各种算法,实现对指定形体的平移、旋转和缩放。(包括类似自行车行走和绕固定点旋转的自旋转物体动画。)五、简单三维图形系统:凸多面体的建模、透视投影,隐藏面的消除及基本图形变换(平移、旋转、缩放)。六、交互式Bezier曲线的输入绘制程序实现-An integrated graphical interface program, can call the subroutine each operation. First, call the painting point function, the DDA, the mid-point operator
France and the midpoint line drawing algorithm draw a circle and ellipse. 2, polygon scan conversion algorithm and region filling algorithm (scan line algorithm
The will to do more than seek operation based on the edge of fill, and sign algorithms for the optional side seed-based region filling using 4-connected region
Recursive seed fill algorithm, or scan line seed fill algorithm to require seed point (x, y) can be interactive input). 3, line cutting and
Polygon clipping algorithm to achieve animation. (Two segments by cutting edge algorithms and HS polygon clipping algorithm) polygon clipping
Algorithm animation requirements first draw a closed polygon, and then draw the crop rectangle window, then select the crop button (or
Command), press the "cut on top" button (or the implementation of the "cut on top" command),
Platform: |
Size: 15465472 |
Author: Peng |
Hits:
Description: 本书从图形学最基础的光栅扫描、区域填充、画直线和圆弧等算法讲起,详细介绍了线裁剪和面裁剪、凸区域裁剪和凹区域裁剪的异同,景物空间消隐算法和图像空间消隐算法的差别,具体讲述了二叉空间剖分(BSP)、八叉树等图形学中常用的数据结构。新版本增加了图形用户界面、椭圆、图像压缩和线条反走样算法等,还增加了Liang-Barsky裁剪算法和Nicholl-Lee-Nicholl裁剪算法。新版本大大扩充了可见面光线跟踪算法。在绘制这一章中新增了基于物理的光照明模型,透明效果,阴影生成,纹理映射,以及锥光束、平面光束、笔形光束和随机光线跟踪算法;详细讨论了光辐射度基础,统一颜色空间,彩色图象量化和印刷介质上的颜色重现等新内容。本书列举了90个例子,具体描述了各类算法的执行细节。这对初学者体会算法的基本原理,比较各类算法执行时的细微差别大有禅益。具备大学数学基础和高级程序设计语言知识的人均可自学本书。
-Book from the most basic graphics raster scan, area filling, drawing lines and arcs and so I start algorithm, details of the line cutting and surface cutting, cutting convex and concave regions cut regional differences and similarities, features space blanking algorithm and image space removal method of difference, specifically about the binary space partition (BSP), octree and other data structures used in graphics. The new release adds a graphical user interface, ellipse, image compression and line anti-aliasing algorithm, also increased the Liang-Barsky clipping algorithm and the Nicholl-Lee-Nicholl cutting algorithm. Greatly expanded new version of the ray tracing algorithm can be met. In this chapter, drawing new physics-based lighting models, transparent effects, shadow generation, texture mapping, and the cone beam, flat beam, pencil beam and the random ray tracing algorithm detailed discussion of the optical radiometric base for the harmonized color Kongjian color image quanti
Platform: |
Size: 20500480 |
Author: 李大山 |
Hits:
Description: OpenGL实现的直线裁剪算法,比较简单,梁友栋Barsky裁剪算法-OpenGL, cutting a straight line algorithms is relatively simple, Liang Youdong Barsky clipping algorithm
Platform: |
Size: 1204224 |
Author: 代码 |
Hits:
Description: 图形学Weiler-Atherton裁剪算法、Brensenham画线、画圆算法和扫描线填充算法。做成一个类似于Windows画笔的东西。-Graphics Weiler-Atherton clipping algorithm, Brensenham drawing a line, circle algorithm and scan line fill algorithm. A brush made of something similar to Windows. May be required. Net Framework 3.5.
Platform: |
Size: 149504 |
Author: 王宇翔 |
Hits:
Description: This a Cohen-Sutherland line clipping program. It shows the clipping of a line using OpenGL. -This is a Cohen-Sutherland line clipping program. It shows the clipping of a line using OpenGL.
Platform: |
Size: 5814272 |
Author: Juan |
Hits:
Description: 二维线段剪裁代码,用了多次取中值的方法进行的,内容还包括实验报告。-Two-dimensional cut line code, with a number of methods to take the value, and also includes test reports.
Platform: |
Size: 86016 |
Author: 牛文龙 |
Hits: