   Struct for this FVF
  Hello,been searching about this combine of struct but i don't find really what is the right structure for it:S(D3DFVF_TEX2 | D3DFVF_NORMAL | D3DFVF_XYZ)What would be the structure for this FVF ???Thanks alot.   
  hi,struct specialone{    float x,y,z; // for D3DFVF_XYZ    float nx,ny,nz; // for D3DFVF_NORMAL    float tu1,tv1; // first tex coords of D3DFVF_TEX2    float tu2,tv2; // second tex coords of D3DFVF_TEX2}it actually goes by coordinates first, normal and color comes second and texture coords for last...   ;  I wouldn't recommend using FVF codes.  Vertex declarations are much more flexible, and they make it easier to know how your vertex structure is laid out.   ;  MJP, can u show me what you mean ? i don't know anything else than FVF.   ;  Take a look at "Vertex Declaration (Direct3D 9)" in the docs. The last link ("Programming One or More Streams") has an example, and others will help you move between FVF and a matching declaration.   ;  In summary, it's a really cool trick using arrays and some structs that's infinitely more flexible than FVFs :)   ;  I'd also recommend using vertex declarations. It's much more flexible and intuitive than FVF codes.if you really must use FVF codes, the elements in the vertex struct must be in this order (From an old DirectX SDK docs):