搜索资源列表
实例56
- 利用OpenGL函数实现绘制茶壶图形,包括可视窗口的大小尺寸,窗口背景和绘图功能。-Function OpenGL graphics rendering teapot, including the visualization window sizes, the window background and graphics features.
cael-1.5.tar
- 它运行一个蜂窝汽车模拟系统,并支持一套可以是Conway的生命游戏的规则,但是可以通过修改以在更广泛的其它蜂窝汽车模拟系统上运行.它使用OpenGL来处理图形,但不支持3D.可能的网格尺寸只受限于处理器的处理能力和内存大小.用户可以放大网格,直到其尺寸填满整个窗口 也可缩小网格直到整个网格是可见的. -CAEL stands for Cellular Automata Engine (Life). It runs a cellular automata simulation with a set
Lesson3
- openGL的window 创建,大小窗口的选择,数据读入-creation, the choice of window size, read data, etc.
Openglzoompandrawline
- 以往下载的一个OPENGL的例子,我作了一些修改,可以实施二维绘图(绘线)、拖动、缩放等功能,希望有人将它修改为窗口大小变化时,图形大小不要变化 bxmmjm@yahoo.com.cn
ImageCapture
- 在OpenGL环境下,保存窗口客户区的绘制内容为24位BMP位图(可以选择保存位图的大小);保存8位位图的函数框架也已经搭好。
Text
- 在OpenGL环境下,在窗口客户区写字的程序,可以设置字体的样式、颜色、大小、位置。
OpenGL_ellipse
- 用OpenGL实现的中点画椭圆算法,包括实现了调整窗口大小,椭圆不会变形。-OpenGL implementation in the dotted ellipse algorithm, including the realization of the window is resized, the ellipse will not be deformed.
lesson01
- 在bcb上创建一个OpenGL窗口,实现任意更改窗口大小,-create a opengl
3
- 绘制点、线、三角形等基本对象,设定投影关系,确定窗口大小与视口大小,通过改变顶点坐标位置,观察物体绘制结果的变化,并与实际计算的结果相对照;通过改变顶点位置,设计针对直线的完全裁剪、一端部分裁剪,中间部分裁剪三种情况,并观察响应的结果;设计针对面的不同裁剪情况。-Draw points, lines, triangles and other basic objects, set projection relation to determine the window size and viewpo
MFC
- 基于MFC的OPENGL绘图架构。可绘制2维及三维图形。其中的OPENGL的初始化,窗口大小设置,像素格式设置具有学习意义-OPENGL MFC-based graphics architecture. Can draw two-dimensional and three-dimensional graphics. OPENGL which initialization, window size, pixel format settings have to learn the meaning
Circle
- 用Bresham算法画圆,并在窗口大小改变后保持圆不发生形变-Circle with Bresham algorithm, and after the window is resized to maintain round deformation does not occur
GLRect
- Opengl编程实现画矩形,且矩形位置大小可以随窗口位置大小变化做相应变化-Opengl programming draw a rectangle, and the rectangle position size can change with the window size changes accordingly
Cube
- Opengl画立方体,且立方体位置大小可以随窗口位置大小变化做相应变化-Opengl draw a cube, and a cube position size can change with the window size changes accordingly
文本(2017-11-07 113444)
- gl绘制一条线段,可以更改颜色,位置,窗口大小(GL draws a line segment)
梁友栋裁剪算法
- (1)按下键盘"1",可用鼠标在窗口画若干任意条直线。如图7-1所示。 (2)按下键盘"2",可用鼠标在窗口添加一个任意大小的裁剪窗口 (3) 一旦窗口画完(鼠标松开)即完成直线的裁剪,分别使用梁友栋裁剪算法 和 编码裁剪算法实现裁剪效果 ,如图7-2 ,7-3所示。 (4)重新按“1”,“2”又可多次重复操作。 提示:画矩形结束时,同时把若干条直线的起点坐标和终点作为参数循环调用裁剪算法,达到线段裁剪的目的。