-
srand[getpid[]]
/* initialize some of the memory */
memset[heightmap, 0, MAPSIZE*MAPSIZE]
memset[vpage, 0, RENDERWIDTH * RENDERHEIGHT]
printf["Creating dx d fractal terrain\n", MAPSIZE, MAPSIZE]
heightmap[0] = [rand[] 128] + 64 // initialize starting point on map
CreateFractalMap[0, 0, MAPSIZE, MAPSIZE]
printf["Smoothing terrain\n"]
for [i = 0 i < 5 i++]
SmoothMap[]
MakeColorMap[]
標簽:
MAPSIZE
initialize
heightmap
getpid
上傳時間:
2013-12-25
上傳用戶:CSUSheep
-
SFLOP simulates a floating point operation
x op y where op = +, -, *, /
In chopping or rounding arithmetic using an
m digit mantissa, base 10, and an unrestricted
exponent range. (sflop: Simulate FLOating Point
operation.) For more details on the how the floating
point representation of a number is computed see
the function sfl.
標簽:
simulates
operation
floating
SFLOP
上傳時間:
2017-06-05
上傳用戶:fxf126@126.com
-
FFTGUI Demonstration of Finite Fourier Transform.
FFTGUI(y) plots real(y), imag(y), real(fft(y)) and imag(fft(y)).
FFTGUI, without any arguments, uses y = zeros(1,32).
When any point is moved with the mouse, the other plots respond.
Inspired by Java applet by Dave Hale, Stanford Exploration Project,
http://sepwww.stanford.edu/oldsep/hale/FftLab.html
標簽:
FFTGUI
real
Demonstration
Transform
上傳時間:
2017-06-05
上傳用戶:anng
-
迷宮算法(maze)
/* Maze * Starting point is m[0][0], need to find a path go to m[9][9]. 0 means OK,
* 1 means cannot go there, boundary is 0 and 9, cannot go beyond boundary.
* Each step can be made horizontally or vertically for one more grid (diagonal
* jump is not allowed).
* Your program should print a series of grid coordinates that start from m[0][0]
* and go to m[9][9]
* Hint: No need to find the shortest path, only need to find one path that gets
* you to desitination.
*/
標簽:
Starting
point
means
maze
上傳時間:
2013-12-27
上傳用戶:Divine
-
These mobility generator tools are used to generate a rich set of mobility scenarios used
to evaluate the protocol performance in Mobile Ad Hoc Network. The tools include the
Reference Point Group Mobility(RPGM) model, Freeway Mobility Model and Manhattan
Mobility Model.
標簽:
mobility
used
generator
scenarios
上傳時間:
2017-07-05
上傳用戶:ANRAN
-
online sales system of texttile mill was a project within which there was great opportunity for Learning about Internet and E-commerce. As current era is the era of Communication, and Internet is becoming the vital source of communication and Information. Online sale system of fabrics is the requirement of evey texttile mill Associated (put) Lahore. Considering these reasons this project was developed.
標簽:
opportunity
was
texttile
project
上傳時間:
2017-07-08
上傳用戶:busterman
-
This book has existed (in one form or another) since the first edition of C# and the .NET Platform
was published in conjunction with the release of .NET 1.0 Beta 2, circa the summer of 2001. Since
that point, I have been extremely happy and grateful to see that this text was very well received by
the press and, most important, by readers. Over the years it was nominated as a Jolt Award finalist
(I lost . . . crap!) and for the 2003 Referenceware Excellence Award in the programming book category
標簽:
the
Platform
another
existed
上傳時間:
2017-09-07
上傳用戶:youmo81
-
Implementation of GPU (Graphics Processing Unit) that rendered triangle based models. Our goal was to generate complex models with a movable camera. We wanted to be able to render complex images that consisted of hundreds to thousands of triangles. We wanted to apply interpolated shading on the objects, so that they appeared more
smooth and realisitc, and to have a camera that orbitted around the object, which allowed us to
look arond the object with a stationary light source. We chose to do this in hardware, because our initial implementation using running software on the NIOS II processor was too slow. Implementing parallelism in hardware is also easier to do than in software, which allows for more efficiency. We used Professor Land s floating point hardware, which allowed us to do calculations efficiency, which is essential to graphics.
標簽:
Implementation
Processing
Graphics
rendered
上傳時間:
2014-11-22
上傳用戶:shawvi
-
The objective of this book is to allow the reader to predict the received
signal power produced by a particular radio transmitter. The first two
chapters examine propagation in free space for point-to-point and
point-to-area transmission, respectively. This is combined with a dis-
cussion regarding the characteristics of antennas for various purposes. In
chapter 3, the effect of obstacles, whether buildings or mountains, is
discussed and analytical methods, whereby the strength of a signal is the
shadow of an obstacle can be predicted, are presented.
標簽:
Propagation
Essentials
Radio
Wave
of
上傳時間:
2020-05-27
上傳用戶:shancjb
-
This book is about multipoint cooperative communication, a key technology to
overcome the long-standing problem of limited transmission rate caused by inter-
point interference. However, the multipoint cooperative communication is not an
isolated technology. Instead, it covers a vast range of research areas such as the
multiple-input multiple-outputsystem, the relay network, channel state information
issues, inter-point radio resource management operations, coordinated or joint
transmissions, etc. We suppose that any attempt trying to thoroughly analyze the
multipoint cooperative communication technology might end up working on a
cyclopedia for modern communication systems and easily get lost in discussing all
kinds of cooperative communication schemes as well as the associated models and
their variations.
標簽:
Communication
Multi-point
Cooperative
Systems
上傳時間:
2020-05-31
上傳用戶:shancjb