搜索资源列表
Bresenham高效画线算法
- 画线的算法不少,但要作到高速、简单并不容易。斜率相乘法是最简单的方法之一,但计算每个点均要花费不少时间用于乘、除法运算;下面介绍的是Bresenham s高效画线算法,对每个点的坐标计算只要加、减法就能完成。-line drawing algorithm, but a lot to be done fast, simple is not easy. The slope is the most simple multiplication
传奇写屏
- 最近玩热血江湖,想在游戏屏幕上显示自已的字符串。比如我做的江湖MM,想让她按F12时在屏幕上显示:“技能开启”字样。一般来说,在游戏中写屏是可以通过OD跟踪程序找到写屏函数的。不过,偶刚学OD啦,跟了头大也找不到。。。。。呵呵,那位大哥知道技巧告诉我啊。 只好换个容易的,利用屏幕上本身就有的字符串加入自已的东东。分析屏幕,发现显示地图坐标的字符串可以利用,嘿嘿,就拿它开刀。 我们知道,屏幕上坐标的显示格式是 [ x
逻辑坐标与实际坐标
- 在客户区画图,根据实际坐标与逻辑坐标间的转换。-District drawing in customers, according to the actual coordinates logical coordinates with the conversion.
querydot
- 在三维系统中求从圆外一点到平面圆上的投影点的坐标,是我在工作中遇到的-in 3D systems seek from outside the circle 1:00 into the plane circle the projection coordinates, I encountered in the work
MapDisplay
- MapDisplay 是一个矢量图形读取与编辑软件。我们自定义文件格式包括点、线、面、注记四大方面,对于点我们主要读取它的ID、颜色、坐标,而线另外包括线形、线宽,面则另外包括填充色,注记主要是记录ID、颜色、坐标、字体信息,对于这四方面,我们还读一个标记flag,以决定是用基本方法绘图还是用符号库来绘图。另外,为了兼容性,我们也设定它能直接读DXF文件,以处理来自AUTOCAD、Corel Draw等矢量图形编辑软件的数据。 Ma
CatchCadCoordinate
- 捕获CAD中鼠表的位置坐标,用VS STADIO 开发 -catch mice CAD table position coordinates with the development of VS STADIO
获得桌面颜色
- 用鼠标钩子对鼠标消息进行拦截来得到鼠标在目前的位置,然后由的到的坐标来取得颜色值,-mouse news hook to intercept the mouse to be in the current mouse position, then the coordinates to get the color value,
依赖坐标的分割方法
- 用matlab编写的一种依赖坐标的图像分割方法,即动态阈值分割法-using Matlab prepared by the coordinates of a reliance on image segmentation method, that is, dynamic thresholding segmentation method
Module1
- 可变坐标系代码,可以满足你在作图过程中的任意坐标系的建立!有些类似于《几何画板》的坐标系统-variable coordinates code, which can satisfy you in the process of drawing arbitrary coordinate system established! Similar to "Geometer's Sketchpad" Coordinate
C_五子棋
- 和电脑下五子棋的C小程序,运行时,输入X坐标+一个逗号+Y坐标-and computer under 331 C small program running, input X coordinates Y coordinates of a comma
幻影代码2003(Build01)
- 通过绘图来记录窗口坐标,从而使用API实现C++代码和VB代码的输出-through mapping to record coordinates of the window, thereby using the C API VB source code and the output
遗传算法TDOA解决
- 用遗传算法解决通信中的TDOA问题 文件名 program 完成功能 求出在进行account_test次的试验中每一次的最优染色体,并且求出均值MV,和均方误差MSE 文件名 definition_constant( ) 完成功能 对各个常量试验参数进行设定 文件名 main_program 完成功能 完成一次试验的计算 文件名 all_Noise 完成功能 计算TDOA值(由基站所测量的TDO
XYZ_to_BLH
- 大地坐标与卫星定位坐标的换算,用VB编程,可提供专业人员使用-geodetic coordinates with the GPS coordinates of the conversion, using VB, can provide professional use
showyuhuoqv
- direct+vc编程显示与获取鼠标坐标-direct access to programming shows with the mouse coordinates
simnature_exe
- 基于高度图的3D地形渲染,其最基本的原理就是,地形上各个点的高度值存于一个文件中(高度图),渲染时,把高度图中的高度数据设为顶点缓冲区中对应顶点的Y坐标值,那么自然就会产生高低起伏的地形了-based on the height map rendering 3D terrain, the basic principle is that the terrain on each of the high value stored in a d
GPUGeometryClipmaps
- 我们使用同一个vertex shader来渲染之前描述的所有2D footprint。首先,对于给定的footprint坐标(x,y)来说,shader通过简单的缩放和变换来计算它的世界坐标(x,y)。接下来,从顶点纹理中读取高度值z。这里不需要任何过滤器,因为顶点和纹理采样是一一对应的-we use with a vertex shader to exaggerate the descr iption before all 2D fo
threedmesh
- 为了实现图像处理的需要,实现二维图像的三维显示,于是写了本代码,希望与此有兴趣的读者共享。图像的获取一是bmp图像文件,二是来自剪贴板。本代码在MFC中调用OpenGL库函数来实现二维图像的三维显示,图像的宽度、高度和象素的亮度分别为三维空间的x,z,y坐标。程序主要有初始化、绘图、资源释放和操作部分,这些功能在OGL_MFCView.cpp文件中实现。OpenGL库的初始化在该文件中的OnCreate,InitScene和DrawSc
cup
- 这段代码可以通过一段贝塞尔曲线画出一个杯子,并可以切换纹理。(建议在linux下运行)。 运行:make 编译,./Courbe coupe.glb ,在 coupe.glb 文件中有多项属性可供修改,用来控制纹理文件,纹理大小,控制点个数和控制点坐标。-This code can draw a Bezier curve of a cup, and can switch texture. (Recommendation run in
0327401100
- 多边形的填充,算法可用于任何多边形的填充,只需知道它们的定点坐标就行。使用OpenGl写code-Polygon fill algorithm can be used for any polygon filling, they know only the sentinel coordinates on the line. Use OpenGl write code
guidlb
- 建立一个对倒立摆动画进行控制的用户界面。一共用到:3-static text, 2-popupmenu, 4-pushbutton和1-axes。 先给定小车起始坐标和终点坐标,按“启动”键开始仿真;按“暂停”后,画面将停止,按任意键(键盘)继续;仿真结束后,按“刷新”清屏;按“退出”键关闭窗口,点“ok“确认。 -creation of an inverted pendulum control animation user i