DirectX 8 and Visual Basic Development Keith Sink All Chapters Instant Download
DirectX 8 and Visual Basic Development Keith Sink All Chapters Instant Download
com
https://ebookname.com/product/directx-8-and-visual-basic-
development-keith-sink/
OR CLICK HERE
DOWLOAD NOW
https://ebookname.com/product/visual-basic-game-programming-with-
directx-1st-edition-jonathan-s-harbour/
ebookname.com
https://ebookname.com/product/ableton-live-8-and-suite-8-keith-
robinson/
ebookname.com
https://ebookname.com/product/clearly-visual-basic-programming-with-
microsoft-visual-basic-2012-3rd-edition-diane-zak/
ebookname.com
https://ebookname.com/product/python-programming-for-biology-
bioinformatics-and-beyond-1st-edition-tim-j-stevens/
ebookname.com
https://ebookname.com/product/mahdis-and-millenarians-shi-ite-
extremists-in-early-muslim-iraq-1st-edition-william-frederick-tucker/
ebookname.com
https://ebookname.com/product/prepositions-in-their-syntactic-
semantic-and-pragmatic-context-1st-edition-susanne-feigenbaum-ed/
ebookname.com
https://ebookname.com/product/truth-in-nonfiction-essays-1st-edition-
david-lazar/
ebookname.com
Symmetry 1st Edition Gracia Arredondo
https://ebookname.com/product/symmetry-1st-edition-gracia-arredondo/
ebookname.com
DirectX 8 and Visual Basic
Development
Keith Sink
TECHNICAL EDITORS
Trademarks Andrew Indovina
All terms mentioned in this book that are known to be trademarks or service Joe Johnston
marks have been appropriately capitalized. Sams Publishing cannot attest to William McLoughlin
the accuracy of this information. Use of a term in this book should not be
TEAM COORDINATOR
regarded as affecting the validity of any trademark or service mark.
Lynne Williams
DirectX, DirectDraw, DirectShow, DirectSound, DirectMusic, DirectPlay,
DirectInput, Direct3D, DirectGraphics, Microsoft, Microsoft Visual Basic, and MEDIA DEVELOPER
Windows are registered trademarks of Microsoft Corporation. Dan Scherf
INTERIOR DESIGNER
Warning and Disclaimer Anne Jones
Every effort has been made to make this book as complete and as accurate as COVER DESIGNER
possible, but no warranty or fitness is implied. The information provided is on Gary Adair
an “as is” basis. The author and the publisher shall have neither liability nor
responsibility to any person or entity with respect to any loss or damages aris- PAGE LAYOUT
ing from the information contained in this book or programs accompanying it. Octal Publishing, Inc.
Contents at a Glance
Introduction
Index
Table of Contents
Introduction 1
Who This Book Is For? ..........................................................................1
What You Need to Know ........................................................................1
What Hardware and Software You Need ................................................1
How This Book Is Organized ................................................................2
Conventions Used in This Book ............................................................3
3 Animation Techniques 39
The Basics ............................................................................................40
The Model Sheet ............................................................................40
The Frame ........................................................................................40
The Cycle ........................................................................................41
Storyboards ......................................................................................41
Keyframes ........................................................................................42
Backgrounds ....................................................................................42
DirectX Objects ....................................................................................43
Frame Rates ....................................................................................43
Blits ..................................................................................................43
Sprites ..............................................................................................44
Drawing Surfaces ............................................................................45
Palettes ............................................................................................45
Rectangles ........................................................................................46
Clippers ............................................................................................46
Billboards ........................................................................................47
Techniques ............................................................................................48
Blitting ............................................................................................48
Page Flipping and Back Buffering ..................................................48
Palette Cycling ................................................................................49
Summary ..............................................................................................50
vii
CONTENTS
7 3D Geometry 103
3D Space Coordinate System ............................................................104
3D Objects ..........................................................................................105
Vertices ..........................................................................................106
Polygons ........................................................................................106
Faces ..............................................................................................107
Mesh ..............................................................................................107
Texture ..........................................................................................109
viii
DIRECTX 8 AND VISUAL BASIC DEVELOPMENT
Lights ............................................................................................109
Materials ........................................................................................109
Matrices ..............................................................................................111
Projection Matrix ..........................................................................112
View Matrix ..................................................................................112
World Matrix (World Transformation) ..........................................112
Summary ............................................................................................112
8 Direct3D 115
Direct3D Objects ................................................................................116
The Direct3D8 Class ....................................................................116
The Direct3DBaseTexture8 Class ................................................117
The Direct3DCubeTexture8 Class ................................................118
The Direct3DDevice8 Class ..........................................................119
The Direct3DIndexBuffer8 Class ..................................................123
The Direct3DResource8 Class ......................................................124
The Direct3DSurface8 Class ........................................................125
The Direct3DSwapChain8 Class ..................................................126
The Direct3DTexture8 Class ........................................................126
The Direct3DVertexBuffer8 Class ................................................127
The Direct3DVolume8 Class ........................................................127
The Direct3DVolumeTexture8 Class ............................................128
Creating 3D Applications ..................................................................129
Creating a Direct3D Application ..................................................129
Working with Vertices ..................................................................133
Working with Matrices ..................................................................137
Working with Lights ......................................................................142
Working with Textures ..................................................................146
Working with Meshes ....................................................................149
Summary ............................................................................................153
Lobby ............................................................................................343
GUID ............................................................................................343
Communication Models ......................................................................344
Peer-to-Peer ..................................................................................344
Client/Server ..................................................................................344
DirectPlay Events ..............................................................................346
A DirectPlay Peer-to-Peer Client ......................................................346
Assigning a GUID ........................................................................346
Initializing the DirectPlay Peer-to-Peer Client ............................346
Finding the Available Service Providers ......................................347
Finding the Game Host ................................................................347
Connecting to the Session ............................................................347
Managing the Session ....................................................................348
Sending Messages ........................................................................348
Closing the Session ......................................................................348
A DirectPlay Client/Server Connection ............................................349
Assigning a GUID ........................................................................349
Initializing the DirectPlay Client/Server Client ............................349
Finding the Available Service Providers ......................................349
Finding the Game Host ................................................................350
Connecting to the Session ............................................................350
Managing the Session ....................................................................350
Sending Messages ........................................................................351
Closing the Session ......................................................................351
Summary ............................................................................................351
Index 405
Another Random Document on
Scribd Without Any Related Topics
more in quantity. He needs to drink water before his training and at
rest periods during the game.
If he is too fat, he should train off the superfluous amount by
exercise and by judiciously abstaining from much sugars, starches,
and fats.
Diets for reduction, however, must be governed by the condition of
the kidneys and the digestive organs.
Deep breathing habits are imperative though he must be careful
not to overtax lungs or heart by hard continuous straining, either at
breathing or at exercise.
Boys
Height in Weight in Surface in Square Calories or Food
Age
Inches Pounds Feet Units
5 41.57 41.09 7.9 816.2
6 43.75 45.17 8.3 855.9
7 45.74 49.07 8.8 912.4
8 47.76 53.92 9.4 981.1
9 49.69 59.23 9.9 1043.7
10 51.58 65.30 10.5 1117.5
11 53.33 70.18 11.0 1178.2
12 55.11 76.92 11.6 1254.8
13 57.21 84.85 12.4 1352.6
14 59.88 94.91 13.4 1471.3
Girls
Height in Weight in Surface in Square Calories or Food
Age
Inches Pounds Feet Units
5 41.29 39.66 7.7 784.5
6 43.35 43.28 8.1 831.9
7 45.52 47.46 8.5 881.7
8 47.58 52.04 9.2 957.1
9 49.37 57.07 9.7 1018.5
10 51.34 62.35 10.2 1081.0
11 53.42 68.84 10.7 1148.5
12 55.88 78.31 11.8 1276.8
Men
Height in Weight in Surface in Calories Food Units
Proteids Total
Inches Pounds Square Feet or Fats Carbohydrates
61 131 15.92 197 591 1182 1970
62 133 16.06 200 600 1200 2000
63 136 16.27 204 612 1224 2040
64 140 16.55 210 630 1260 2100
65 143 16.76 215 645 1290 2150
66 147 17.06 221 663 1326 2210
67 152 17.40 228 684 1368 2280
68 157 17.76 236 708 1416 2360
69 162 18.12 243 729 1458 2430
70 167 18.48 251 753 1506 2510
71 173 18.91 260 780 1560 2600
72 179 19.34 269 807 1614 2690
73 185 19.89 278 834 1668 2780
74 192 20.33 288 864 1728 2880
75 200 20.88 300 900 1800 3000
Women
Height in Weight in Surface in Calories Food Units
Proteids Total
Inches Pounds Square Feet or Fats Carbohydrates
59 119 14.82 179 537 1074 1790
60 122 15.03 183 549 1098 1830
61 124 15.29 186 558 1116 1860
62 127 15.50 191 573 1146 1910
63 131 15.92 197 591 1182 1970
64 134 16.13 201 603 1206 2010
65 139 16.48 209 627 1254 2090
66 143 16.76 215 645 1290 2150
67 147 17.06 221 663 1326 2210
68 151 17.34 227 681 1362 2270
69 155 17.64 232 696 1392 2320
70 159 17.92 239 717 1434 2390
Note.—With active exercise an increase of about 20 per cent. total
food units may be needed.
FOOTNOTES:
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com