Original Post
Hello, I have come to try and solve a problem. I have created procedures to import a .x file using various tutorials. I have managed to Initialise and Render without Errors, however when the window shows up, it appears blank. I have added light aswell to shine on the mesh but no light appears either. I know this is a vague problem, but I am wondering what would be my problem? I will post the ...rendering? procedure of DirectX. I'm sure in order to help this I need to show something else, please ask to see it if necessary. D3DXMATRIX matShip1; g_d3dDevice->Clear(0, NULL, D3DCLEAR_TARGET, D3DCOLOR_XRGB(0, 0, 0), 1.0f, 0); g_d3dDevice->BeginScene(); //Render Graphics /////////////////////////////// g_d3dDevice->SetTransform(D3DTS_WORLD, &matShip1); cDirectX::RenderMeshes(); /////////////////////////////// g_d3dDevice->EndScene(); g_d3dDevice->Present(NULL, NULL, NULL, NULL);