搜索资源列表
test7
- 一个线段的裁减算法,具体实现在矩形区域内,对两条直线裁减。-a segment of the reduction algorithm, rectangular concrete realization in the region, the two straight cuts.
vp_flight_path
- This sample illustrates how to draw geometry to simulate the flight path of an object. This sample defines the class myApp, which is derived from vpApp, and uses a vsRenderStrategyFrameGeometry to create dynamic path geometry for a F-16 flying around
opgl_torus
- 用OpenGL开发化工过程仿真视景系… 基于虚拟现实技术的自行车漫游...线段。移动物体 在视图中建立一个正方 体,使用鼠标左键点击正方体,这时正方体-developed using OpenGL chemical process simulation visual system ... based on virtual reality technology to a bicycle ... roaming segment. Moving objects in view the establis
OpenGL最全数学库
- OpenGL的数学库!分别处理数学和几何运算。3D 数学库-矩阵 向量 四元数 数学部分包含向量、矩阵、四元数的运算。以及其它的运算。 几何部分包含Box Frustum AABB OBB Ray Line Line-Segment Plan Triangle等的运算,详见代码
分别以直线段正三角形为初始生成元
- 分别以直线段正三角形为初始生成元,实现迭代次数在6次以内的Kock曲线,要求用键盘交互控制迭代次数。-Equilateral triangle is a straight line segment, respectively, the initial generator, to achieve the number of iterations in less than 6 times Kock curve, requiring interaction with the keyboard cont
Line.rar
- glut画线程序 自己做了一个用glut画直线段、多段线和闭合直线段的小程序.操作方法:单击鼠标右键会有弹出菜单,执行相关命令可以画线。 如果下所包里的程序不能执行,用VC重新编译一下就可以执行了。,Line glut procedures do draw a line segment with glut, multi-paragraph straight line and close the applet. operation: Click the right mouse button w
kock
- 用OpenGL编程,分别以直线段和正三角形为生成元,实现迭代6次以内的Kock曲线,用键盘交互控制迭代次数。 -Programming with OpenGL, respectively, as a straight line segment and triangle generator, to achieve within 6 iterations Kock curve, the number of iterations interactive control with the keybo
Raining
- 此程序演示了利用粒子系统实现雨景效果模拟。实现雨景模拟的粒子系统中,每个雨点粒子是一条短线,即一定长度的线段,把这条线段当做一个粒子,随着时间的推移,它根据两个顶点所决定的方向向量,按一定的速度下降,实时计算出它的具体位置,然后在这个位置上将该粒子绘制出来。具体实现过程可参照代码。-This program demonstrated the use of particle systems to achieve the effect of simulated rain King. The real
Cohen-Sutherland
- 程序运行Cohen-Sutherland线段裁剪算法 ,所用坐标系为笛卡尔直角坐标系. 起始状:用户输入所画线段的起点和终点坐标 结束状态:程序打印出裁剪以后的线段-Program runs Cohen-Sutherland Line Clipping algorithm, used for the Cartesian coordinates Cartesian coordinate system. Start-shaped: the user to enter the draw
SutherlandTriCubeIntersectTest
- 三角形和立方体的相交测试demo,OpenGL实现 使用3维Sutherland算法做优化 线段与三角的相交测试技术与D3D的拾取示例实现相同-Triangle and cube intersection test demo, OpenGL implementation. use3-D Sutherland algorithm for optimization .line segment and triangle intersection test using the same tech
826916
- 裁剪线段,将超出范围的线段裁剪,颜色可以自己去定义过-Cutting line, cutting the segment will be out of range, color can define themselves through
color-Image-Segment
- 使用OpenGl实现彩色图像分割的代码,简单实用,方便大家学习-Color image segmentation using OpenGl implementation of the code, simple and practical, facilitate learning
lab4
- 用OpenGL画圆,编写鼠标画圆程序,假定以直线的一端作为圆心,直线段的长度为圆的半径。-Circle with OpenGL, written procedures for the mouse draw a circle, assuming that one end of a straight line as the center of a circle, the length of the line segment radius of the circle.
opengl1
- 使用glBegin()/glEnd()方法绘制如下图元: 点 (点要有不同大小) 线段(线段要有不同宽度) 三角形(要分别以list, fans, stripes三种方式进行绘制) 矩形 可以使用鼠标来对绘制图元进行旋转; 可以使用键盘控制视点的位置;-GlBegin ()/glEnd () method to draw the following diagram: point (point to have a different size) segment
FibDetectICCP
- The segmentation of structure from 2D and 3D images is an important rst step in analyzing medical data. For example, it is necessary to segment the brain in an MR image, before it can be rendered in 3D for visualization purposes. Segmentation
ijsrp-p1208
- used to get quantitative estimates of organ sizes and provide aid in any necessary diagnoses. Another important application is registration. It may be easier, or at least less error prone to segment objects in multiple images prior to registrat
color-Image-Segment
- 使用OpenGl实现彩色图像分割的代码,简单实用,方便大家学习-Color image segmentation using OpenGl implementation of the code, simple and practical, facilitate learning
Bresenham
- OPENGL下使用bresenham算法实现的一个画线程序,画出的为直线线段,颜色随机。-Bresenham algorithm using a line drawing program, draw a straight line segment, random color under OPENGL.
区域填充
- 用水平扫描线从上到下扫描由点线段构成的多段构成的多边形。每根扫描线与多边形各边产生一系列交点。将这些交点按照x坐标进行分类,将分类后的交点成对取出,作为两个端点,以所填的色彩画水平直线。多边形被扫描完毕后,填色也就完成。(A polygon consisting of a plurality of segments consisting of a line segment from bottom to bottom by horizontal scanning. Each scan line p
Page33
- //在屏幕上画一条2d的线段 使用opengl 入门用(Draw a line segment of 2D on the screen)