搜索资源列表
3DLensFlareWithOcclusionTesting
- 3D Lens Flare With Occlusion Testing Learn how to do lens flares by extending a glCamera class. If you look at a lens flare you will notice that they all share one thing in common. They all seem to move through the center of the screen. With this
D3DCamera3
- 第三人称视角的摄像机例子,在场景中移动一个球,初学者可以研究下里面的坐标变换-Examples of third-person camera view, in the scene to move a ball inside the beginner can be studied under the coordinate transformation
Light
- opengl 球体的描绘 进行渲染 移动 放大与缩小 以及坐标系的变换-opengl rendering depicts the sphere move zoom in and out, and coordinate system transformation
MouseTest
- 检测鼠标运动的软件,可以检测鼠标移动和坐标。-check mouse move and coordinate
2
- 整个平面模拟出星空。卫星以及轨迹显示在其中。 点击菜单中的“数据读入”键,即可读入卫星坐标数据并显示出卫星。 点击菜单栏中的“数据输入”键,要求输入即可显示出输入的卫星。 当鼠标移动到卫星上时,即会显示出该卫星的名作和坐标信息。-Simulate the whole plane out of the Star. Satellite and show up in either track. Click the menu " data read" button, yo
MouseTrace
- MouseTrace,用 VC++写的鼠标Hook钩子,获取X,Y坐标,并适时显示在窗体上,如上图示,在窗体上移动鼠标,坐标信息会被跟踪,移出窗体则无效。-MouseTrace, written with VC++ Mouse Hook hook, to get X, Y coordinates, and time display on the form, above the icon, move the mouse on the form, the coordinate information
zhan
- N soldiers of the land Gridland are randomly scattered around the country. A position in Gridland is given by a pair (x,y) of integer coordinates. Soldiers can move - in one move, one soldier can go one unit up, down, left or right (hence, he can
DrawCoor-coordinate-axis
- c++实现坐标轴以及轴中的曲线的放大缩小移动-c coordinate-axis, curve zoom, move, etc.
chap6
- 求解过程中,由于几何模型发生变化而导致区域网格改变时会出现几何结构的连续性问题。本章中,我们举两个例子——流道中由于不同尺寸孔板引起额外压力损失问题是稳态几何连续性的一个例子。从概念来看,这个问题与第5章贝纳尔问题中通过Rayleigh数进行的变量连续性没什么不同。第二个例子是液体中悬浮的乳胶颗粒的干膜。在这个问题中,考虑了两个移动前缘;一个通过坐标变换,另一个通过光滑界面模型。该技术对于之前模拟该问题采用的移动弱项方法有所改进。-Solving process, due to geometry
1txx)
- 1) 直线的生成内容:用Bresenham算法画直线要求: 将象素网格表现出来,建立网格坐标系 用橡皮筋的形式输入参数 鼠标移动时,显示鼠标当前位置 显示判别式的计算过程和下一点的选择策略 记录生成点的坐标,建议用表的形式 图形生成过程可以重复进行2)圆弧的生成内容:用Bresenham算法画圆 要求:᠊ -1) line generated content: draw a straight li
ZDAJ
- 定点一个坐标后自动移动鼠标到定点坐标点击鼠标左键-Designated a coordinate automatically move the mouse to click the left mouse button designated coordinates
b-spline3daedit
- VC6+OpenGL实现可编辑的B样条曲面,可用鼠标右键拖拽旋转图形,用左键选择控制点,并拖拽坐标轴沿不同方向移动控制点修改图形。 该程序为成都理工大学软件工程系图形学教学综合应用实例程序,实现了一个可以交互编辑的B样条曲面,综合应用了鼠标追踪球旋转、B样条曲面、OpenGL光照、材质、拾取等三维交互编辑技术-VC6+OpenGL Editable B Spline. You can drag mouse right button to rotate the B Spline surfac
Mave_Show
- 在窗口中画一条曲线,能够上下移动曲线,并且相应改变纵坐标的坐标值,在曲线旁边动态显示鼠标的纵坐标值-In the window, drawing a curve, it is possible to vertically move the curve, and the corresponding change in the vertical coordinates of the coordinate values on the curve next to the ve
Soldiers
- 【问题描述】 在一个划分成网格的操场上,n个士兵散乱地站在网格点上。网格点由整数坐标(x,y)表示。士兵们可以沿网格边上、下、左、右移动一步,但在同一时刻任一网格点上只能有一名士兵。按照军官的命令,士兵们要整齐地列成一个水平队列,即排列成(x,y),(x+1,y),…,(x+n-1,y)。如何选择x 和y的值才能使士兵们以最少的总移动步数排成一列。 【算法设计】 计算使所有士兵排成一行需要的最少移动步数。 【数据输入】 由文件input.txt 提供输入数据。文件的第1
Opengljuzhen
- 自己用opengl绘制的多彩坐标系,用鼠标可以移动翻滚坐标系-Opengl rendering the colorful coordinate system, you can use the mouse to move the roll coordinate system
MouseTrace
- MouseTrace,用 VC++写的鼠标Hook钩子,获取X,Y坐标,并适时显示在窗体上,如上图示,在窗体上移动鼠标,坐标信息会被跟踪,移出窗体则无效。-MouseTrace mouse Hook with VC++ write hook for X, Y coordinates and time display on the form, such as the icon, move the mouse on the form, the coordinate information is t
huarongdao
- 通过游戏可了解到一些基础知识,比如:如何记录选中的控件ID,初始化时设置各个位置的可用状态,初始化各人物方格位置,设置各方格的初始图片,设置各方格的初始位置,设置最后一行的首尾位置不可用,设置最后一行的中间两个位置可用,通过按键盘上的上、下、左、右键来移动人物方格,定义每个人物方格的大小, 共有x*y(x=4, y=5)个人物方格 相关的代码注释: PStyle = PStyles.P2V //记录方格样式 pl = panel1 //记录选中的控件ID
tuxingbiajiqi
- (1)文件功能 (2)有鼠标,键盘输入(可以画直线,折线,矩形,圆 ,三角形) (3)具有选择图形,移动,删除功能 (4) 菜单功能 (5)可以选择线形,线宽,颜色 (6)具有坐标显示功能 文件功能,图形移动删除功能等局部功能没实现,大部分都可以实现,如果机器不支持全屏显示,可下个DosBox,在DosBox中运行-(1) File feature (2) there is a mouse, keyboard input (you can draw a straigh
clockgood
- 比较实用的,绘制表盘的外观、绘制表盘上的小刻度和大刻度也是值得参考的,表盘分割成60份,将分割点处的坐标存放在数组中,每当小程序重新开始时,首先消灭线程,然后重新开始创建线程。12点各个时针的位置坐标(按新坐标系的坐标)。 Thread 时针=null, 分针=null,秒针=null //用来表示时针、分针和秒针的线程。 //表示时针、分针、秒针端点的整型变量: int hour_a,hour_b,munite_a,munite_b,second_a,secon
DONGTAIDRAW
- 自己做的MFC基于对话框的动态绘图程序。包括实时显示,其原理是坐标轴的移动。- Do their own MFC dialog-based dynamic drawing program. Including real-time display, its principle is to move the co
