Description: Filling algorithm experiment four irregular region
Experimental subjects: irregular region filling algorithm
Purpose: Verify that the irregular region filling algorithm
Experiment: Use VC and OpenGL, irregular region filling algorithm realization.
1, will do: simple recursive irregular region filling algorithm.
2, choose to do: take up too much stack space algorithm for simple recursive shortcomings, to improve, to achieve seed filling algorithm based on scan line
Experimental requirements:
The coordinate grid drawn on the screen, each pixel occupies one lattice point, by a small filled circle.
Use the mouse to click on a way to draw irregular border region.
Seed filling algorithm, can be 4 or 8 Unicom Unicom Choose one.
To Search:
File list (Check if you may need any files):
实验4\123022011012赵雯雯.doc
.....\区域填充算法.doc
.....\参考答案\Debug\main.exe
.....\........\.....\main.ilk
.....\........\.....\main.obj
.....\实验4答案\Debug\main.exe
.....\.........\.....\main.ilk
.....\.........\.....\main.obj
.....\.........\.....\main.pch
.....\.........\.....\main.pdb
.....\.........\.....\vc60.idb
.....\.........\.....\vc60.pdb
.....\.........\glut.dll
.....\.........\glut.h
.....\.........\glut.lib
.....\.........\glut32.dll
.....\.........\glut32.lib
.....\.........\main.cpp
.....\.........\main.dsp
.....\.........\main.dsw
.....\.........\main.ncb
.....\.........\main.opt
.....\.........\main.plg
.....\参考答案\Debug
.....\实验4答案\Debug
.....\参考答案
.....\实验4答案
实验4