-
1) 直线的生成
内容:用Bresenham算法画直线
要求:
将象素网格表现出来,建立网格坐标系
用橡皮筋...
1) 直线的生成
内容:用Bresenham算法画直线
要求:
将象素网格表现出来,建立网格坐标系
用橡皮筋的形式输入参数
鼠标移动时,显示鼠标当前位置
显示判别式的计算过程和下一点的选择策略
记录生成点的坐标,建议用表的形式
图形生成过程可以重复进行
2) 圆弧的生成
内容:用Bresenham算法画圆
要求:
将象素网格表现出来,建立网格坐标系
用橡皮筋的形式输入参数
鼠标移动时,显示鼠标当前位置
显示判别式的计算过程和下一点的选择策略
记录生成点的坐标,建议用表的形式
图形生成过程可以重复进行
-1) 直线的生成
内容:用Bresenham算法画直线
要求:
将象素网格表现出来,建立网格坐标系
用橡皮筋的形式输入参数
鼠标移动时,显示鼠标当前位置
显示判别式的计算过程和下一点的选择策略
记录生成点的坐标,建议用表的形式
图形生成过程可以重复进行
2) 圆弧的生成
内容:用Bresenham算法画圆
要求:
将象素网格表现出来,建立网格坐标系
用橡皮筋的形式输入参数
鼠标移动时,显示鼠标当前位置
显示判别式的计算过程和下一点的选择策略
记录生成点的坐标,建议用表的形式
图形生成过程可以重复进行
- 2022-05-22 04:38:32下载
- 积分:1
-
Vega Prime插在VC2003和VP2的经典OpenGL代码例子下…
Vega Prime下插入OpenGL代码的经典例子,要求VC2003和VP2.2-Vega Prime inserted under the classic OpenGL code examples in the VC2003 and VP2.2
- 2023-08-07 20:10:03下载
- 积分:1
-
在简单的实现
ROAM Simplistic Implementation
By Bryan Turner
brturn@bellsouth.net
January, 2000
Project file for MS Visual C++ 6.0.
Requires GLUT DLL (www.opengl.org)
Adjust program constants in Landscape.h and Utility.cpp.
MAPS:
Default map is read from HeghtXXX.raw where XXX is the MAP_SIZE
(as defined in Landscape.h). If this map is not found, the program
attempts to open "Map.ved", a Tread Marks map file. Tread Marks maps
will only work for MAP_SIZE == 1024. Also, the MULT_SCALE to view
Tread Marks maps correctly is "0.25f". (www.TreadMarks.com)
CONTROLS:
MOUSE - Hold Left Mouse Button to Rotate View Angle
Q - Change Rendering Mode (Wireframe, Lit, Fill, Texture)
O - Change View Mode (Observe, Follow, Drive, Fly)
W/S - Move forward/back
A/D - Rotate left/right (in Observe Mode only)
F - Stop Animation
R - Toggle Frustum Drawing
0/9 - More/Less Triangles per frame
1/2 - Adjust FOV-ROAM Simplistic Implementation
By Bryan Tur
- 2022-03-26 08:18:08下载
- 积分:1
-
这是一个很重要的开源3d引擎,设计简单 容易上手,同时也有许多预处理的函数...
这是一个很重要的开源3d引擎,设计简单 容易上手,同时也有许多预处理的函数-This is a very important revenue 3d engine design is simple and easy to get started, and it is also a function of many pretreatment
- 2023-04-08 01:50:11下载
- 积分:1
-
立体视觉匹配完整源码,可以直接使用,是机器视觉中的重要部分。...
立体视觉匹配完整源码,可以直接使用,是机器视觉中的重要部分。-three-dimensional visual integrity of the source code matching, can be directly used in machine vision is the important part.
- 2022-03-15 07:30:18下载
- 积分:1
-
基于灰度梯度矩阵采用相关熵方法二值化图像
基于灰度梯度矩阵采用相关熵方法二值化图像-Based on gray gradient matrix associated entropy method using binary image
- 2022-03-18 03:53:31下载
- 积分:1
-
jpeg压缩与解码的小程序,vc下开发的。//Name:compress.c//Purpose: Run length algorithm and Jpeg d...
jpeg压缩与解码的小程序,vc下开发的。//Name:compress.c//Purpose: Run length algorithm and Jpeg decoding//Author: phoenix, CS, TshingHua, Beijing, P.R.C.//Email: bjlufengjun@www.163.net or lufengjun@hotmail.com//Date:April 3, 1998-a small programme of jpeg codec and decode in VC
- 2022-01-26 04:45:28下载
- 积分:1
-
A Picture box fader
Title: [ A Picture box fader ]
Description: (please vote and give feedback) this will fade a pictures box colors
from one to the next. verry fast code less than 1 second. 100% my own code,pure vb
no API. works great for the title of forms. look at my other submission at withch
alows you to move frameless forms in all windows platforms it is located at
http://planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=31037&lngWId=1
and to see this code in action look at this other code that i submitted it is located
here http://planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=31040&
- 2022-03-04 14:57:58下载
- 积分:1
-
优化超好的2D引擎,用起来也非常简单,接口调用方便
优化超好的2D引擎,用起来也非常简单,接口调用方便-Optimization of super-good 2D engine, using them is also very simple and convenient interface calls
- 2022-03-18 14:38:29下载
- 积分:1
-
将264文件的二进制码转换成文本文件,以便于264文件的调试显示。...
将264文件的二进制码转换成文本文件,以便于264文件的调试显示。-264 files will be converted into binary code a text file in order to debug 264 documents show.
- 2022-03-16 17:34:46下载
- 积分:1