Apply MeshTextures1 to a Plane from a .x file ...?

Last post 02-25-2008, 5:00 PM by assassiss. 0 replies.
Sort Posts: Previous Next
  •  02-25-2008, 5:00 PM

    Apply MeshTextures1 to a Plane from a .x file ...?

    Hi,

    ...   ...   ...   I use the mesh below for a DirectX Object Plane for a .x file...

    LPD3DXMESH Grid1 ;

    LPDIRECT3DTEXTURE9* MeshTextures1 ;

    _________I also use a back surface as below...

    extern LPDIRECTDRAW7 lpdd = NULL;

    extern LPDIRECTDRAWSURFACE7 lpddsprimary = NULL;

    extern LPDIRECTDRAWSURFACE7 backsurface = NULL;

    _________When I have sent all the pixel data to the backsurface, then How do I copy the pixel data to the MeshTextures1 and then How do I apply the MeshTextures1 to the Plane from the .x file...?

View as RSS news feed in XML
©2007 Microsoft Corporation. All rights reserved. Privacy Statement Terms of Use Code of Conduct Feedback