• Advertisement

Anoop Chauhan

Member
  • Content count

    13
  • Joined

  • Last visited

Community Reputation

115 Neutral

About Anoop Chauhan

  • Rank
    Member
  1. Error Creating Debug Device

    I still could'nt fix my problem
  2. Effect error in debug mode

    effMacros[0].Definition = std::to_string(MAX_BONES_MATRICES).c_str(); the lifetime of return constant character string is owned by class string, which has limited scope in your code( no persistent variable is available of class string) ,you'd better to use code explained by Nyssa   std::string boneMatixString = to_string(MAX_BONES_MATRICES) effMacros[0].Definition = boneMatixString.c_str();
  3. Error Creating Debug Device

    Yeah Thanks Ben! Dependency Walker makes it clear to understand, System loads all necessary load time dynamic dependecies to start application. the actual cause is here LoadLibraryExW("C:\Windows\system32\DXGIDebug.dll", 0x00000000, 0x00000000) returned NULL. Error: The specified module could not be found (126). LoadLibraryExW("C:\Windows\system32\D3D11_1SDKLayers.dll", 0x00000000, 0x00000000) returned NULL. Error: The specified module could not be found (126).  , its run time failure I couldn't understand why system had tried to load D3d11_1SDKlayers.dll instead of D3D11SDKLayer.dll,
  4. Error Creating Debug Device

    It wont get me anywhere. Uninstalling Visual Studio does not uninstall its all features and VC++ runtimes too then what benefit would I reap doing this? Does it seem to be dependency issue? Anyway I'll give it a try. Thanks  
  5. Error Creating Debug Device

    I reinstalled DXSDK but couldn't get it fixed. It's DirectX SDK June 2010 and I'm using Windows 7. I guess the error is being caused by wrong configuration of VC++ runtimes on my machine. I have manually deleted and updated them for many times Any suggestion?  Thanks guys
  6. I'm getting mad with following error: Attempted to create a device with the debug layer enabled and the layer is not installed. everytime I created D3D10 or D3D11 device with debug configuration, this function fails with E_FAIL, It is mind boggling , I ever tried  D3D10_CREATE_DEVICE_DEBUG flag to create dubug layer and I have also tried to enable it using DirectX control panel and it still didnt work. What should I do?
  7. Mesh Vertex Color in Direct3D 9

    D3DXLoadMeshHierarchyFromX loads the animation data and frame hierarchy from a x file.I dont think it mean anything to vertex color.After all I did it, simply By using D3DXLoadMeshFromX. But it doesn't look like that of 3dsmax model. Perhaps every vertex color I specified , has been combined with it's diffuse color and finally put into material buffer, Can anyone guess why vertex colors seems to be zigzag. thanks guys anyway [img]https://lh5.googleusercontent.com/-HWzFolj8Q50/UF0khjuNU6I/AAAAAAAAAL0/GYjHGhzOKWk/s400/Capture2.JPG[/img] [img]https://lh4.googleusercontent.com/-W_MW-d3hLeU/UF0kqO8OqCI/AAAAAAAAAL8/wQkoHiChDlw/s400/Capture.JPG[/img]
  8. Mesh Vertex Color in Direct3D 9

    It is okay to combine color of texture with color of specified vertex(diffuse) using a blending operation. But D3DXLoadMeshFromX doesnt load vertex color, then what should I do?
  9. Mesh Vertex Color in Direct3D 9

    yup...Model has vertex colors....and I'm using FFP
  10. Mesh Vertex Color in Direct3D 9

    I have a model exported from 3ds Max. Suppose a simple mesh like plane with a simple texture, painted half of it's vertices with vertex paint modifier. The X file template "MeshVertexColor" contains color for each vertx .How to display them on screen with d3d? [img]https://lh6.googleusercontent.com/-hhWrd6Zk2lU/UFXrHUC3AsI/AAAAAAAAALk/9-Ww79fkGwc/s640/vcolor.JPG[/img]
  11. Mesh Vertex Color in Direct3D 9

    ? Anyone
  12. I want to extract mesh vertex color from X file. I can't figur out how to do that..may be we need to write a custom mesh loader? Actually I want my mesh painted by vertex colors alongside texture
  • Advertisement