Skip to content

A mini draw system based on OpenGL allowing you to draw points, lines, circles and any polygons and fill, translate, rotate, scale, and cut objects.

Notifications You must be signed in to change notification settings

zhangnaifan/OpenGL-Draw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

If you need to run this program on your computer,
make sure that you have installed glew/freeglut on your computer.

In this program, following CG algorithms are implemented:

Midpoint line\circle method
Bresenham line\circle mothod
Ordered edge table filling algorithm
translate, scale, rotate, symmetry
mask cutting lines algorithm
judgeing whether a point is within a polygon using angle sum

image

About

A mini draw system based on OpenGL allowing you to draw points, lines, circles and any polygons and fill, translate, rotate, scale, and cut objects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages