chronozphere
01-07-2007, 10:39 PM
Hi all. :)
I was thinking. If you define:
dwFVF := ( D3DFVF_XYZ OR D3DFVF_NORMAL OR D3DFVF_DIFFUSE OR
D3DFVF_SPECULAR OR D3DFVF_TEX2 );
The order of component's isn't defined, which is crucial when passing data to D3D.
I tried to find more info about this on MSDN but i didn't found it. :?
Also, D3D has to make up some kind of order when you call the D3DXDeclaratorFromFVF routine.
Does someone know i what order D3D interpret's the different components??
Thanx.
I was thinking. If you define:
dwFVF := ( D3DFVF_XYZ OR D3DFVF_NORMAL OR D3DFVF_DIFFUSE OR
D3DFVF_SPECULAR OR D3DFVF_TEX2 );
The order of component's isn't defined, which is crucial when passing data to D3D.
I tried to find more info about this on MSDN but i didn't found it. :?
Also, D3D has to make up some kind of order when you call the D3DXDeclaratorFromFVF routine.
Does someone know i what order D3D interpret's the different components??
Thanx.