| /RvlSDK-3.2.2/build/demos/gddemo/src/ |
| D | gd-light-gc.c | 246 Vec lpos; in PatchLightStatus() local 254 lpos = Light0Pos; in PatchLightStatus() 255 MTXMultVec(ViewMtx, &lpos, &lpos); in PatchLightStatus() 257 GDSetLightPos(GX_LIGHT0, lpos.x, lpos.y, lpos.z); in PatchLightStatus() 260 lpos = Light1Dir; in PatchLightStatus() 261 MTXMultVecSR(ViewMtx, &lpos, &lpos); in PatchLightStatus() 263 GDSetSpecularDir(GX_LIGHT1, lpos.x, lpos.y, lpos.z); in PatchLightStatus()
|
| D | gd-tev-gc.c | 403 Vec lpos, ldir; in SetLight() local 414 VECScale(&ldir, &lpos, -1000.0F); in SetLight() 417 MTXMultVec(view, &lpos, &lpos); in SetLight() 418 GXInitLightPosv(&lo0, &lpos); in SetLight()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/Lighting/ |
| D | lit-atn-func.c | 210 Vec lpos; in DrawInit() local 234 lpos.x = lpos.y = lpos.z = 0.0F; in DrawInit() 235 MTXMultVec(sc->sub[0].cam.view, &lpos, &lpos); in DrawInit() 236 GXInitLightPos(&sc->sub[0].light, lpos.x, lpos.y, lpos.z); in DrawInit() 241 lpos.x = -500.0F; in DrawInit() 242 lpos.y = lpos.z = 0.0F; in DrawInit() 243 MTXMultVec(sc->sub[1].cam.view, &lpos, &lpos); in DrawInit() 244 GXInitLightPos(&sc->sub[1].light, lpos.x, lpos.y, lpos.z); in DrawInit()
|
| D | lit-unclamp.c | 457 Vec lpos; in SetLight() local 464 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight() 465 lpos.y = 500.0F * sinf(phi); in SetLight() 466 lpos.z = 500.0F * cosf(phi) * cosf(theta); in SetLight() 469 MTXMultVec(view, &lpos, &lpos); in SetLight() 480 GXInitLightPos(&le->lobj, lpos.x, lpos.y, lpos.z); in SetLight()
|
| D | lit-cartoon.c | 487 Vec lpos; in SetLight() local 494 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight() 495 lpos.y = 500.0F * sinf(phi); in SetLight() 496 lpos.z = 500.0F * cosf(phi) * cosf(theta); in SetLight() 499 MTXMultVec(view, &lpos, &lpos); in SetLight() 514 GXInitLightPos(&le->lobj, lpos.x, lpos.y, lpos.z); in SetLight()
|
| D | lit-texture.c | 532 Vec lpos; in SetLight() local 539 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight() 540 lpos.y = 500.0F * sinf(phi); in SetLight() 541 lpos.z = 500.0F * cosf(phi) * cosf(theta); in SetLight() 544 MTXMultVec(view, &lpos, &lpos); in SetLight() 555 GXInitLightPos(&le->lobj, lpos.x, lpos.y, lpos.z); in SetLight()
|
| D | lit-alpha.c | 526 Vec lpos; in SetLight() local 534 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight() 535 lpos.y = 500.0F * sinf(phi); in SetLight() 536 lpos.z = 500.0F * cosf(phi) * cosf(theta); in SetLight() 539 MTXMultVec(view, &lpos, &lpos); in SetLight() 541 GXInitLightPos(&lightCtrl[i].lobj, lpos.x, lpos.y, lpos.z); in SetLight()
|
| D | lit-multi.c | 637 Vec lpos; in SetLight() local 647 lpos.x = 500.0F * cosf(phi) * sinf(theta); in SetLight() 648 lpos.y = 500.0F * sinf(phi); in SetLight() 649 lpos.z = 500.0F * cosf(phi) * cosf(theta); in SetLight() 652 MTXMultVec(sc->cam.view, &lpos, &lpos); in SetLight() 654 GXInitLightPos(&sc->lightCtrl[i].lobj, lpos.x, lpos.y, lpos.z); in SetLight()
|
| D | lit-dist-atn.c | 387 Vec lpos = { 0.0F, 0.0F, 500.0F }; in SetLight() local 392 MTXMultVec(v, &lpos, &lpos); in SetLight() 394 GXInitLightPos(&light->lobj, lpos.x, lpos.y, lpos.z); in SetLight()
|
| D | lit-prelit.c | 445 Vec lpos, laxis; in SetLight() local 455 lpos.x = (f32)LightPos[i][0]; in SetLight() 456 lpos.y = (f32)LightPos[i][1]; in SetLight() 457 lpos.z = (f32)LightPos[i][2]; in SetLight() 459 MTXMultVec(sc->cam.view, &lpos, &lpos); in SetLight() 462 GXInitLightPosv(&sc->lightCtrl[i].lobj, &lpos); in SetLight()
|
| D | lit-spot.c | 721 Vec ldir, lpos; in SetLight() local 739 lpos = le->light[i].pos; in SetLight() 740 MTXMultVec(view, &lpos, &lpos); in SetLight() 747 GXInitLightPosv(&le->light[i].lobj, &lpos); in SetLight()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/Simple/ |
| D | smp-light.c | 206 Vec lpos; // Light position. in DrawTick() local 227 lpos = LightPos; in DrawTick() 232 MTXMultVec(v, &lpos, &lpos); in DrawTick() 235 GXInitLightPos(&myLight, lpos.x, lpos.y, lpos.z); in DrawTick()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/TexGen/ |
| D | tg-light-fx.c | 564 Vec lpos; in SetLight() local 570 lpos.x = 1000.0F * cosf(phi) * sinf(theta); in SetLight() 571 lpos.y = 1000.0F * sinf(phi); in SetLight() 572 lpos.z = 1000.0F * cosf(phi) * cosf(theta); in SetLight() 575 MTXMultVec(view, &lpos, &lpos); in SetLight() 577 GXInitLightPos(&light->lobj, lpos.x, lpos.y, lpos.z); in SetLight()
|
| D | tg-dual.c | 457 Vec lpos; in SetLight() local 461 lpos = light->cam.cfg.location; in SetLight() 464 MTXMultVec(view, &lpos, &lpos); in SetLight() 466 GXInitLightPos(&light->lobj, lpos.x, lpos.y, lpos.z); in SetLight()
|
| D | tg-shadow.c | 614 Vec lpos = light->cam.cfg.location; in SetLight() local 617 MTXMultVec(v, &lpos, &lpos); in SetLight() 619 GXInitLightPos(&light->lobj, lpos.x, lpos.y, lpos.z); in SetLight()
|
| D | tg-emboss.c | 385 Point3d lpos; in myDrawModel() local 390 MTXMultVec( c->viewMtx, &myLight.pos, &lpos ); in myDrawModel() 391 GXInitLightPos ( &myLight.obj, lpos.x, lpos.y, lpos.z ); in myDrawModel()
|
| D | tg-shadow2.c | 800 Vec lpos = light->cam.cfg.location; in SetLight() local 803 MTXMultVec(v, &lpos, &lpos); in SetLight() 805 GXInitLightPos(&light->lobj, lpos.x, lpos.y, lpos.z); in SetLight()
|
| D | tg-shadow3.c | 1056 Vec lpos = light->cam.cfg.location; in SetLight() local 1059 MTXMultVec(v, &lpos, &lpos); in SetLight() 1061 GXInitLightPos(&light->lobj, lpos.x, lpos.y, lpos.z); in SetLight()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/Culling/ |
| D | cul-viewport.c | 387 Point3d lpos; in myDrawModel() local 421 MTXMultVec( c->viewMtx, &myLightPos, &lpos ); in myDrawModel() 422 GXInitLightPos( &myLight, lpos.x, lpos.y, lpos.z ); // in view space in myDrawModel()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/PixelProc/ |
| D | pix-sub.c | 755 Vec lpos = light->cam.cfg.location; in SetLight() local 758 MTXMultVec(v, &lpos, &lpos); in SetLight() 760 GXInitLightPos(&light->lobj, lpos.x, lpos.y, lpos.z); in SetLight()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/DisplayList/ |
| D | DL-tf-mtx.c | 236 Vec lpos = { 10000.0F, -10000.0F, 10000.0F }; in DrawTick() local 252 MTXMultVec(c->viewMtx, &lpos, &lpos); in DrawTick() 253 GXInitLightPosv(&litObj, &lpos); in DrawTick()
|
| /RvlSDK-3.2.2/build/demos/gxdemo/src/Tev/ |
| D | tev-complex.c | 663 Vec lpos, ldir; in SetLight() local 674 VECScale(&ldir, &lpos, -1000.0F); in SetLight() 677 MTXMultVec(view, &lpos, &lpos); in SetLight() 678 GXInitLightPosv(&lo0, &lpos); in SetLight()
|