文档介绍:光栅图形学教学演示系统的设计与实现
学院
专业
班级
学号
姓名
指导教师
负责教师
摘要
计算机图形学是一种使用数学算法将二维或三维图形转化为计算机显示器的栅格形式的科学。由于计算机图形学技术本身的长足进步及其应用的日益广泛,计算机图形学已成为计算机科学技术与其他应用学科之间的一个桥梁,也已成为许多本科生专业的必修课之一。
本文实现了一个光栅图形学教学演示系统,该系统在Windows XP平台下实现,采用Visual C++ 。本文对光栅图形学教学演示系统进行了详细分析,确定了相应的结构和主要功能,以及实际开发中所采取的技术。教学演示系统能够形象的展示各种算法的工作过程,如直线扫描转换算法、圆弧的扫描转换算法、多边形的扫描转换、区域填充、直线和多边形的裁减算法以及曲线、曲面的生成算法等。该系统操作简洁,能够在模拟的光栅区域上按照算法的原理将图形的光栅化过程展示出来,便于老师在教学中更形象的展示各种算法的工作过程,也便于学生在学习过程中能够更好的理解基本图形生成算法。同时,本文也介绍了系统开发设计的全过程,对算法原理做了详细的阐述,也对系统的功能进行了测试。
本系统实现了大部分的基本图形生成算法,可以应用于计算机图形学的教学中,以达到提高教学质量的目的。
关键词:计算机图形学;光栅;教学;基本图形生成算法
Design and implementation of raster graphics teaching demonstration system
Abstract
Computer Graphics is a science which translates two-dimensional or three-puter graphics into the display grid in mathematical algorithm. As the remarkable progress and the widespread application puter graphics, it has e a bridge between puter science and other application disciplines, and it is one of the required courses of many undergraduate professionals.
This paper implements a raster graphics teaching demonstration system, which under the Windows XP platform and Visual C + + . This paper analyzes the system in detail, and determines the appropriate structure and main functions, as well as the technology adopted in actual development. The teaching demonstration system can show the visual working process of various algorithms, such as the line scan conversion algorithm, the arc scan conversion algorithms, the polygon scan conversion algorithms, the area fill algorithms, the line and polygon reduction algorithm and curve, surface generation algorithm. The system operation is simple and can display the raster process in the simulate raster area in accordance with the principles of these algorithms, which not only can more vivid display the working process of various algorithms in teaching, but also could facilitate students to better understand the basic pattern generation algorithm in the learning proc