Description: 一个OpenGL的编程简单例子,初学者看一看,c++平台上运行,有兴趣可以看看,主要实现画矩形和右击鼠标出现菜单,按 q 实现退出,代码只有几十行。 -OpenGL programming a simple example, take a look at the beginner, c++ Platforms are interested can see that the main draw rectangular and right-click mouse menu appears, press q to achieve withdrawal, code only a few dozen lines. Platform: |
Size: 2363392 |
Author:huangwenjun |
Hits:
Description: 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 Platform: |
Size: 756736 |
Author:jinjuan |
Hits:
Description: 利用MFC和OpenGL制作了一个基于菜单的图形应用程序,能够使用菜单绘制圆,直线,矩形,并且能够使用鼠标拾取并且拖动,还可以通过键盘控制选择物体的转动-Using MFC and OpenGL has produced a menu-based graphical applications, can use the menu draw circles, straight lines, rectangles, and can use the mouse to pick up and drag, you can also select using the keyboard and rotating objects Platform: |
Size: 9645056 |
Author:赵斌 |
Hits:
Description: 此源码是vs2005。mfc单文档实现opengl的一些基本功能,包括:点,直线,虚线,三角形,sierpinski,实现鼠标拖动的和bresham算法,和中点园算法..也可以输入坐标点-It s based on Opengl,and it can draw points,lines,triangle,polygon.cricle,use some algorithm such as bresham amd mid_circle...you can also use mouse or set a coordinate to draw some graphics. Platform: |
Size: 189440 |
Author:何龙 |
Hits:
Description: 集成了动态坐标显示、鼠标按键响应、bresenham画线算法、DDA算法画线、OpenGL画线和裁剪功能-Integrated dynamic coordinates of the mouse button response, bresenham line drawing algorithm, the DDA algorithm and draw lines, OpenGL drawing lines and cutting function Platform: |
Size: 2143232 |
Author:张金威 |
Hits:
Description: 一个简单的可以交互的OpenGL应用程序,支持用户利用鼠标创建和删除2维多边形,可以设置多边形颜色,进行填充,也实现了一些简单的画直线,画圆的算法-A simple interactive OpenGL applications to support the user using the mouse to create and delete the 2-dimensional polygon, you can set the polygon color, fill the polygon.Some simple algorithms which can draw lines,circles are included too. Platform: |
Size: 1798144 |
Author:叶子 |
Hits:
Description: OpenGl绘制直线和圆形的简单程序。用鼠标控制绘图,左键画线,右键画圆。-OpenGl to draw lines and circles of simple procedures。Use the mouse to control the drawing, left to draw lines, right circle. Platform: |
Size: 716800 |
Author:陈苗苗 |
Hits: