View Full Version : Numverts + Strides for BF2
HuFF
28th August 2005, 02:05
Just wondering, i got USMC team sorted, has anyones got working numverts for MEC Team on Low Details sets???
Cheers.
Sparten
28th August 2005, 02:11
Just wondering, i got USMC team sorted, has anyones got working numverts for MEC Team on Low Details sets???
Cheers.
if(m_Stride==52 && NumVertices != 154 && !usmc) thats should do it if you allready have the other NumVertices for usmc.
HuFF
29th August 2005, 02:00
YEr stride 52 does not appear to disable any of my player models..... i dont know if this is because of my graphics card or because of my settings. Basically for USMC im not using any Stride, just the numverts.....
choch85
29th August 2005, 02:20
YEr stride 52 does not appear to disable any of my player models..... i dont know if this is because of my graphics card or because of my settings. Basically for USMC im not using any Stride, just the numverts.....
I think you need to have it on at least Medium settings...I don't know as I've always had my settings on high, but you could test it out.
Sparten
29th August 2005, 02:23
did you do like this:
make a global int varible, and call it m_Stride.
then scroll down to:
HRESULT APIENTRY hkIDirect3DDevice9::SetStreamSource(UINT StreamNumber,IDirect3DVertexBuffer9* pStreamData,UINT OffsetInBytes,UINT Stride)
{
//add this//////////////////////////////////
if( StreamNumber == 0 )
m_Stride = Stride; // Save stride to global var
////////////////////////////////////////////
return m_pD3Ddev->SetStreamSource(StreamNumber, pStreamData,OffsetInBytes, Stride);
}
if not then do so.
Powered by vBulletin™ Version 4.0.2 Copyright © 2010 vBulletin Solutions, Inc. All rights reserved.