-
以往下载的一个OPENGL的例子,我作了一些修改,可以实施二维绘图(绘线)、拖动、缩放等功能,希望有人将它修改为窗口大小变化时,图形大小不要变化 bxmmjm@...
以往下载的一个OPENGL的例子,我作了一些修改,可以实施二维绘图(绘线)、拖动、缩放等功能,希望有人将它修改为窗口大小变化时,图形大小不要变化 bxmmjm@yahoo.com.cn-OPENGL downloaded a previous example, I have made some modifications, can be implemented two-dimensional graphics (drawn line), drag, zoom and other functions, I hope it was amended to change the window size, the graphics do not change the size of bxmmjm @ yahoo. com.cn
- 2023-09-02 05:30:03下载
- 积分:1
-
DDA 算法的实现
数字微分分析器或只是简略的 DDA 直线绘制算法是用于光栅图形设备中绘制线条。在这种算法,在行的开始和结束位置已提供。
中介像素位置将在起始点和结束点之间的时间间隔的变量线性内插法计算。该算法如下所示:
让开始和结束点线的是 (x 1,y1) 和 (x2,y2),分别。所以坡、 m = (y2-y1)/(x2-x1)。根据 m 和该象限的 (x,y) 的值属于,中介像素职位要计算如下:
职位要计算如下:
象限
m < = 1
m > 1
第一次
x = x + 1
y = y + m
x = x + 1/m
y = y + 1
第二次
x = x 1
y = y + m
- 2022-08-10 08:17:23下载
- 积分:1
-
基于Open GL实现的太阳系模拟系统,模拟太阳和八大行星运行。...
基于Open GL实现的太阳系模拟系统,模拟太阳和八大行星运行。-The program is created in Open GL.It simulates that how the Solar system is trunning in space.
- 2022-03-22 06:24:47下载
- 积分:1
-
2048+OpenGL 游戏源码
使用C语言写的2048小游戏,绘图使用了OpenGL图形接口,VC环境下开发,有C语言基础的都能够整明白,可以作为学习之用,欢迎下载。
- 2022-02-21 03:46:51下载
- 积分:1
-
OpenGL,to draw a line and draw a circle(line and circle algorithms)
OpenGL,to draw a line and draw a circle(line and circle algorithms)-OpenGL, to draw a line and draw a circle (a line and circle lgorithms)
- 2022-07-13 11:13:55下载
- 积分:1
-
OpenGL示例源码,是您踏入OpenGL编程的敲门砖。
OpenGL示例源码,是您踏入OpenGL编程的敲门砖。-OpenGL sample source code, is your stepping stone into the OpenGL programming.
- 2022-02-02 00:35:45下载
- 积分:1
-
一本有关三地图形学的书籍,内容丰富,涵盖广阔
一本有关三地图形学的书籍,内容丰富,涵盖广阔-3D Computer Graphics A Mathematical Introduction With OpenGL
- 2022-01-25 23:27:16下载
- 积分:1
-
opengl game programming book, the code examples in Chapter 4
opengl游戏编程 书中实例的第4章代码-opengl game programming book, the code examples in Chapter 4
- 2022-04-12 05:59:00下载
- 积分:1
-
示例了在MFC框架中直接使用OPENGL API的必须的基本代码
示例了在MFC框架中直接使用OPENGL API的必须的基本代码-example of the MFC framework of the direct use of the OpenGL API to the basic code
- 2022-02-02 09:23:17下载
- 积分:1
-
have included this Multiple Document Interface example here because any game dev...
have included this Multiple Document Interface example here because any game development requires a good editor for constructing the world or models. The editor should provide multiple views of the scene and therefore the most intuitive method is to use multiple windows that allow perspective and orthographic views. In my search of the internet I was unable to find any example code that showed how to program an OpenGL Multiple Document Interface application using just straight Win32 programming with no MFC so I decided to program it myself. This MDI example only shows the same scene in each child window but should be easily understandable and modifiable by anyone familiar with programming a standard MDI application using the Win32 API. I will follow up this example with a more complete editor example.
- 2022-01-31 20:36:34下载
- 积分:1