Hi everyone, I'm here bringing you some strides that I took in the PBBR, I know that the wall is done by the module most of the time (i3gfx .....) but I did it by stride.
I did not get many, just the basics ....
Here is the structure I made of the strides, which is still missing ....
Code:
STRIDE -> 32 -> NumVertices -> 4 / 8 / 31 / 68 / 163
STRIDE -> 40 -> NumVertices ->
STRIDE -> 32 -> PrimCount -> 76 / 28 / 189 / 64 / 302
STRIDE -> 40 -> PrimCount ->
STRIDE -> 32 -> NumVertices -> -> PrimCount ->
STRIDE -> 40 -> NumVertices -> -> PrimCount ->
Here in C ++:
WALLHACK
Code:
#define PLAYERSTRIDE ((Stride == 32) && NumVertices == 4) || ((Stride == 32) && NumVertices == 8) || ((Stride == 32) && NumVertices == 31) || ((Stride == 32) && NumVertices == 68) || ((Stride == 32) && NumVertices == 163) || ((Stride == 32) && PrimitiveCount == 76) || ((Stride == 32) && PrimitiveCount == 28) || ((Stride == 32) && PrimitiveCount == 189) || ((Stride == 32) && PrimitiveCount == 64) || ((Stride == 32) && PrimitiveCount == 302)
if(PLAYERSTRIDE)
{
//WIREFRAME: pDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_WIREFRAME);
pDevice->SetRenderState(D3DRS_ZENABLE, D3DZB_FALSE);
pDevice->SetRenderState(D3DRS_ZFUNC,D3DCMP_NEVER);
return RetornoDIP; //DrawIndexed
}
IMAGE'S:
Do not call the menu, I'm still learning, it was a test menu (checkbox) .
#define
SmoLL_iCe