《GL参考手册 C版》PDF下载

  • 购买积分:14 如何计算积分?
  • 作  者:王丽娜,康娟娟,韩静涛,高志强等编写
  • 出 版 社:北京:学苑出版社
  • 出版年份:1993
  • ISBN:7507708020
  • 页数:415 页
图书介绍:内容提要 本书着重向读者介绍一种易于学到的高速位平面动画制作技术。它以 C语言和汇编语言提供一组支持动画制作的基本函数,包括三类图形对象 (小精灵、导弹与子弹)的定义、图形对象在位平面内的平滑移动以及相互间 的碰撞测试等。这些函数及其可执行程序既可以向读者提供直观的制作结 果,同时也可以成为读者制作攻击型视频游戏和特殊的图形动画效果的强 有力的支持工具,并可直接应用到读者正在开发的动画程序中。本书既适合 动画制作的初学者,也适合于有一定动画制作基础的学习者。

目录 1

INTRO 1

图形库函数清单 4

A 13

acbuf 13

acsize 14

addtopup 15

afunction 17

arc,arci,arcs 19

arcf,arcfi,arcfs 20

attachcursor 22

B 23

backbuffer 23

backface 24

bbox2,bbox2i,bbox2s 25

bgnclosedline 26

bgnline 28

bgnpoint 29

bgnpolygon 30

bgnqstrip 32

bgnsurface 33

bgntmesh 35

bgntrim 37

blankscreen 38

blanktime 39

blendfunction 40

blink 43

blkqread 44

C 45

c3f,c3i,c3s,c4f,c4i,c4s 45

callfunc 47

callobj 47

charstr 48

chunksize 49

circ,circi,circs 50

circf,circfi,circfs 51

clear 53

clipplane 54

clkon,clkoff 56

closeobj 56

cmode 57

cmov,cmovi,cmovs,cmov2,cmov2i,cmov2s 58

color,colorf 60

compactify 61

concave 62

cpack 63

crv 64

crvn 65

curorigin 66

curson,cursoff 67

curstype 68

curvebasis 69

curveit 69

curveprecision 70

cyclemap 71

czclear 72

dbtext 74

D 74

defbasis 75

defcursor 76

deflinestyle 77

defpattern 78

defpup 79

defrasterfont 82

delobj 83

deltag 84

depthcue 85

dglclose 86

dglopen 87

dopup 89

doublebuffer 90

draw,drawi,draws,draw2,draw2i,draw2s 91

drawmode 92

E 94

editobj 94

endclosedline 95

endfeedback 97

endfullscrn 98

endline 99

endpick 100

endpoint 101

endpolygon 102

endqstrip 103

endselect 105

endsurface 106

endtmesh 107

endtrim 109

F 110

feedback 110

finish 111

fogvertex 112

font 114

foreground 115

freepup 115

frontbuffer 116

frontbuffer 116

frontface 118

fudge 119

fullscrn 120

G 121

gammaramp 121

gbegin 122

gconfig 123

genobj 124

gentag 125

getbackface 126

getbuffer 127

getbutton 128

getcmmode 129

getcolor 130

getcpos 131

getcursor 131

getdcm 132

getdepth 133

getdescender 134

getdev 135

getdisplaymode 136

getdrawmode 137

getfont 138

getgdesc 139

getgpos 145

getheight 146

getlsrepeat 147

getlstyle 148

getlwidth 149

getmatrix 150

getmap 150

getmcolor 151

getmmode 152

getmonitor 153

getnurbsproperty 154

getopenobj 155

getorigin 156

getpattern 157

getplanes 158

getresetls 159

getscrbox 160

getscrmask 161

getsize 162

getsm 162

getvaluator 163

getvideo 164

getviewport 166

getwritemask 167

getwscrn 168

getzbuffer 169

gexit 170

gflush 171

ginit 172

glcompat 173

greset 174

gRGBmask 177

gselect 178

gsync 179

gversion 180

I 181

iconsize 181

icontitle 182

imakebackground 183

isobj 184

initnames 184

isqueued 185

istag 186

K 187

keepaspect 187

L 188

lampon,lampoff 188

linesmooth 189

linewidth 192

lmbind 193

lmcolor 195

lmdef 196

loadmatrix 201

loadname 202

logicop 203

lookat 204

lrectread 205

lrectwrite 207

lRGBrange 208

lsbackup 209

lsetdepth 210

lshaderange 211

lsrepeat 212

makeobj 214

M 214

maketag 215

mapcolor 216

mapw 217

mapw2 218

maxsize 219

minsize 220

mmode 221

move,movei,moves,move2,move2i,move2s 223

mswapbuffers 224

multimap 225

multmatrix 226

N 227

n3f 227

newpup 228

newtag 229

nmode 230

noborder 231

noise 232

noport 233

nurbscurve 233

nurbssurface 235

objdelete 237

O 237

objinsert 238

objreplace 238

onemap 239

ortho,ortho2 240

overlay 242

P 243

pagecolor 243

passthrough 244

patch 245

patchcurves 246

patchbasis 246

patchprecision 247

pclos 248

pdr,pdri,pdrs,pdr2,pdr2i,pdr2s 249

perspective 250

pick 251

picksize 252

pixmode 253

pmv,pmvi,pmvs,pmv2,pmv2i,pmv2s 259

pnt,pnti,pnts,pnt2,pnt2i,pnt2s 260

pntsmooth 262

polarview 264

polf,polfi,polfs,polf2,polf2i,polf2s 265

poly,polyi,polys,poly2,poly2i,poly2s 266

polymode 267

polysmooth 269

popattributes 271

popmatrix 272

popname 273

popviewport 273

prefposition 274

prefsize 275

pupmode 276

pushattributes 277

pushmatrix 278

pushname 278

pushviewport 279

pwlcurve 280

Q 281

qcontrol 281

qdevice 284

qenter 284

qgetfd 286

qread 287

qtest 288

qreset 288

R 290

rcrv 290

rcrvn 290

rdr,rdri,rdrs,rdr2,rdr2i,rdr2s 291

readpixels 293

readRGB 294

readsource 295

rect,recti,rects 298

rectcopy 299

rectf,rectfi,rectfs 300

rectread 301

rectwrite 303

rectzoom 305

reselts 306

reshapevierwport 307

RGBcolor 308

RGBcursor 309

RGBmode 310

RGBrange 311

RGBwritemask 312

ringbell 313

rmv,rmvi,rmvs,rmv2,vmv2i,rmv2s 314

rotate,rot 315

rpatch 316

rpdr,rpdri,rpdrs,rpdr2,rpdr2i,rpdr2s 317

rpmv,rpmvi,rpmvs,rpmv2,rpmv2i,rpmv2s 318

S 320

sbox,sboxi,sboxs 320

sboxf,sboxfi,sboxfs 321

scale 322

sclear 323

scrbox 324

screenspace 325

scrmask 326

scrnattach 327

scrnselect 328

scrsubdivide 329

setbell 331

setcursor 332

setdblights 332

setdepth 333

setlinestyle 334

setmap 335

setmonitor 336

setnurbsproperty 337

setpattern 338

setpup 339

setshade 340

setvaluator 341

setvideo 342

shademodel 343

shaderange 345

singlebuffer 346

smoothline 347

spclos 348

splf,splfi,splfs,splf2,splf2i,splf2s 349

stencil 350

stensize 353

stepunit 354

strwidth 355

subpixel 356

swapbuffers 357

swapinterval 358

swaptmesh 359

swinopen 360

swritemask 361

t2d,t2f,t2i,t2s 362

T 362

tevbind 363

tevdef 365

texbind 368

texdef2d 369

texgen 373

textcolor 375

textinit 376

textport 377

tie 378

tpon,tpoff 379

translate 380

U 381

underlay 381

unqdevice 383

V 384

v2d,v2f,v2i,v2s,v3d,v3f,v3i,v3s,v4d,v4f,v4i,v4s 384

videocmd 385

viewport 386

W 387

winattoch 387

winclose 388

winconstraints 389

windepth 390

window 391

winget 392

winmove 392

winopen 393

winpop 397

winposition 398

winpush 399

winset 400

wintitle 401

wmpack 402

writemask 403

writepixels 404

writeRGB 405

X 406

xfpt,xfpti,xfpts,xfpt2,xfpt2i,xfpt2s,xfpt4,xfpt4i,xfpt4s 406

Z 407

zbuffer 407

zclear 408

zdraw 409

zfunction 410

zsource 413

zwritemask 414