搜索资源列表
OpenGL命令和例程概述
- 许多O p e n G L命令直接影响诸如点、线、多边形以及位图等O p e n G L对象的绘制。而另一些 命令,例如那些用于反走样或纹理操作的命令,主要用来控制图像如何生成。还有一些命令则 关注帧缓冲区的操作。
Bèzier
- 关于贝塞尔曲线,带控制顶点和控制多边形达到G1连续的两段3次Bèzier曲线的绘制-on Bessel curve, with the control vertices and control polygon G1 achieve two consecutive three Bzier curve drawing
OpenGLpolygon
- 本例演示了如何使用OpenGL绘制多边形。 采用OpenGL绘制图形能够使得图形的线条光滑,更美观。-the cases demonstrate how to use OpenGL rendering polygon. Rendering graphics using OpenGL graphics to make the smooth lines, a more beautiful.
02_DrawTriangle
- 你的第一个多边形: 在第一个教程的基础上,我们添加了一个三角形和一个四边形。也许你认为这很简单,但你已经迈出了一大步,要知道任何在OpenGL中绘制的模型都会被分解为这两种简单的图形。 读完了这一课,你会学到如何在空间放置模型,并且会知道深度缓存的概念。 -your first one polygon : a tutorial in the basis, we added a triangle and a square. Perhaps you think this is
MFC_OpenGL
- 通过等值线的绘制与填充过程分离的编程思想,先用OpenGL硬件加速的光栅化技术实现区域快速填充,然后利用MFC下的GD I绘图功能在相同的区域上绘制等值线。该方法不涉及到复杂的算法,用很简单的代码就能实现与商业软件视觉效果相媲美的等值线填充效果,且适用于离散区域为任意形状的多边形网格系统。
glGraph
- OpenGL实现多边形扫描转换的扫描线算法,以及利用OpenGL绘制饼图和柱状图,颜色的选择
AreaFill
- 区域填充算法的实现。利用OpenGL编程绘制多边形并填充之。
在VC++中使用OpenGL绘制典型曲面
- 基本几何图元是OpenGL进行建模的最基本的方法,但其对较复杂真实物体的建模则比较困难。对于这些复杂物体的建模,需要用到OpenGL基本库和功能库函数(gl库和glu库)以对图元进行扩展并完成法向计算、曲线生成和曲面构造等内容。这种对基本图元的扩展实际也就是对点、线及多边形的扩展。OpenGL中定义的点可具有不同大小的尺寸,其扩展的函数形式为:
stencilTess_src_main
- 采用 visual c++ 和 opengl 模版技术绘制凹多边形的例子-The use of visual c++ And opengl rendering template technology concave polygon examples
proj1
- 在Windows系统中,安装GLUT库:打开glut-3.7.6-bin.zip,取出glut.h,glut32.lib,glut32.dll,分别放置。 使用Visual Studio C++编译已有项目工程,并修改代码生成以下图形: 在此基础上,修改各顶点颜色,使得每个顶点颜色不一样,多边形内部颜色渐变。 操作方法和实验步骤: 1.使用GL_POLYGON模式绘制白色的多边形,由于所绘多边形为凹多边形,故从最左上角的点开始绘制,以防得到不可预测的图形。注意求得各凹角(refl
ps3
- 鼠标操作绘制多边形,可以任意移动旋转放大绘制的多边形,检测鼠标的位置,当鼠标接近多边形顶点时,拖动鼠标来改变多边形顶点的位置;当鼠标接近做边形的边时,在该边上任意加入顶点。-Mouse drawing polygons, you can draw any move to enlarge the polygon rotation to detect the mouse position, when the mouse near the polygon vertices, the drag the
OpenGLHMR
- 自己写的一个简单的OpenGL程序,能绘制多边形,移动多边形,改变多边形的颜色,改变多边形的属性-Wrote it myself, a simple OpenGL program that can draw the polygon, move polygon, change the color of the polygon, change the properties of polygons
opengl
- 绘制一个多边形,实现以下变换:a) 按字母U或u进行旋转轴的切换:旋转轴为垂直于屏幕的直线,过当前窗口中心或者过物体中心(通过按U/u在两种可能中切换)。改变旋转轴后的变换是在以前发生所有变换的基础上累加进行的。b) 按字母R或r, 物体绕旋转轴分别旋转一个小角度d0或者-d0。 c) 按向上、下、左、或右方向键,物体相对于屏幕向上、下、左、或右平移固定长度L0。d) 按S或s实现物体绕自身中心放大为原来的k或1/k倍,其中k>1为放缩因子。e) 如果按字母i或I, 则取消之前b,c,
Graphics_ex1
- OpenGL演示程序。 1创建一个窗口,窗口分成四块。第一块绘制线(虚线、实线、粗线),第二块绘制多边形,第三块窗口用渐变填充多边形,第四块窗口绘制圆。 2右击每一块,则单独显示该块的内容。单独显示时,可以使用鼠标左键对显示内容进行拖动,用滚轮进行缩放。再次右击则显示四块的内容。-OpenGL demo. 1 to create a window, the window is divided into four. The first one to draw a line (dashed,
OPENGlCODE
- OPENgl绘制多边形,可实行光照变换,和鼠标事件改变位置,动画功能-OPENgl polygon, it can take light transform, and change the location of mouse events, animated feature
Bresenham
- OPengl,利用Bresenham算法绘制多边形,并实现种子填充-Use Bresenham algorithm to draw polygons and achieve seed fill
polygon
- 利用opengl绘制多边形,为其填充颜色并实现多边形的移动-Opengl draw the polygon for the fill color and the polygon s mobile
75265438Plotampdemo
- 利用opengl绘制多边形,为其填充颜色并实现多边形的移动-Hello ! My name is qu xue wen ,I m a girl. I like eat apples bananas and Oranges. I like play computer games.I m tall but me is very fat.I have very big eyes,A small nose
opengl1
- 采用opengl绘制多边形(正方形及五角星)-Using opengl draw a polygon (square and five-pointed star)
opengl2
- 采用opengl绘制多边形(正方形及五角星)-Using opengl draw a polygon (square and five-pointed star)
