CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - draw paint in openGL
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - draw paint in openGL - List
[
OpenGL program
]
paint
DL : 0
OpenGl base on C.The paint program implement draw line,triangle,rectrangle,character,rubberband lines and rectangles.
Date
: 2025-07-13
Size
: 3kb
User
:
陈晨
[
Windows Develop
]
2dDrawing
DL : 0
The basics of this program is to develop a simple 2D paint program, similar in function in many respects to MS Paint. provide the user access to the following functions: Point in this mode, each left mouse down should create a point on the screen Scribble in this mode, user should be able to draw “freehand” lines with left mouse down Line in this mode, the user can draw a line between two points selected with two successive clicks of the left mouse button Rectangle in this mode, the user can draw a rectangle by selecting two opposite corners of the rectangle with two successive clicks of the left mouse button Clear clear the screen to black Quit cause the program to exit-this program is very useful for OpenGl beginers
Date
: 2025-07-13
Size
: 739kb
User
:
jinjuan
[
Graph program
]
BspLines
DL : 0
BspLines曲线生成 Step1:建立控制点数组; Step2:设定插值步长、曲线Si的控制点、参数t的取值区间为(0,1); Step3:用OPENGL画出各控制点及其连线; Step4:进行插值计算:计算出的若为第一个插值点定位到画图窗口否则画曲线到该点。 -BspLines curve generation Step1: establish control points group Step2: Set interpolation step, the curve control points Si, the parameter values t interval (0,1) Step3: Draw the control points with OPENGL and its connection Step4: interpolation calculation: if the calculated interpolation point positioning for the first one to paint the window or painting curve to that point.
Date
: 2025-07-13
Size
: 2.22mb
User
:
chengyangmao
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.