Questions tagged [d3dx]

D3DX (Direct3D Extension) is a deprecated high level API library which is written to supplement Microsoft's Direct3D graphics API.

D3DX (Direct3D Extension) is a deprecated high level API library which is written to supplement Microsoft's Direct3D graphics API.

58 questions
0
votes
1 answer

Linker Error: Cannot open input file 'd3dx9.lib'

This is a very simple question but I have been searching for a while now and have no luck. Im supposed to add it to the linker I beleive? Which is Project Properties > Linker > Input > Additional Dependencies. Im just confused on exactly what to do.…
miluuu
  • 29
  • 6
0
votes
1 answer

There's no Direct3D in my regedit. What should i do?

as you can see, there's no Direct3D file in regedit. I need to find memory leaks in my code. i already used _CrtSetBreakAlloc to clear all memory leaks! D3DX: MEMORY LEAKS DETECTED: 60 allocations unfreed (4603 bytes) D3DX: Set…
0
votes
1 answer

Why d3dx is deprecated?

I'm very new to DirectX, and learning it only for a week. A collection of powerful lessons I found and learn from is braynzarsoft d3d12 lessons. It's very difficult, there is a lot of information, but this is what I like. The lessons seems to be…
Artur
  • 325
  • 2
  • 16
0
votes
1 answer

How to get Visual c++ to open d3dx.h

Recently I have picked up a book on Game Programming using Visual C++. It uses the the DirectX library, and says that I only need to write #include and #pragma comment(lib, "d3dx9.lib") into the code. However the program reports to be unable to…
0
votes
1 answer

Getting shader bytecode from ID3D11VertexShader or anything

I usually get vertex shader's bytecodes by D3DX11CompileFromFile, but is there a way to get the bytecodes from ID3D11VertexShader? or other interfaces. I've tried other D3DX11Compile* functions, such as D3DX11CompileFromMemory,…
KidCozy
  • 25
  • 5
0
votes
1 answer

D3DKMTCreateAllocation return code

In a driver I am debugging there is a call to D3DKMTCreateAllocation. The error I receive is int (-1071775735) or 0xc01e0009 which is of type NTSTATUS. I am trying to figure out this error but cannot find anything. It doesn't map to any of…
sramij
  • 4,775
  • 5
  • 33
  • 55
0
votes
1 answer

How to compile from shader assembler code in DirectX 11?

D3DXAssembleShader function was used in DirectX 9 for compiling shaders from Assembly. It's not supported in DirectX 11. Is there any alternative to create shaders from Assembler code? I am aware of compiling from fx or hlsl files but for my project…
user3264821
  • 175
  • 2
  • 18
0
votes
0 answers

Program cannot be opened because d3dx9d.dll was not found

I'm writing a program in DirectX 9 and it can't be opened because of error Program cannot be opened because d3dx9d.dll was not found So I have a few questions: -Where can I get it? I've been searching and the only source I could find is…
0
votes
0 answers

the d3d9 hook i have work on some computers and crash on some other computers

I need to fix this or create a d3d device, anyone can help me with that? thanks in advance. void** GetOriginalD3DVTable() { // may be more reliable to create a new d3d device and get the vt ptr from that instead of relying on a pattern …
0
votes
0 answers

How to draw lines correctly in texture

In order to draw and erase lines on the background image of the artboard, I created an RTT texture, painted various lines on it, and then rendered the texture, but now I see the edges with the ambient color(the black dots) when I cross the lines. I…
fredirty2017
  • 103
  • 11
0
votes
2 answers

how to build Texture Coordinate Transformations Matrix in Direct3D

I know there is a function in D3D that transforms the texture coordinate: d3dDevice->SetTransform( D3DTS_TEXTURE0, &matrix ); The problem is how I could get the matrix. For example, I now have texture offset, scale, rotation, and brightness. How…
ChanDon
  • 391
  • 1
  • 5
  • 15
0
votes
1 answer

Meaning of #define THIS_

For example, there is a function named CreateFrame like, virtual STDMETHODIMP CreateFrame(THIS_ LPCSTR Name, LPD3DXFRAME*ppNewFrame); I think STDMETHODIMP means It will return HResult and stdcall function, but I don't know what THIS_ in argument…
Salmon
  • 63
  • 3
  • 12
0
votes
1 answer

Changing over from D3DX, D3DCompile not found

so far I've been succesfully changing from the deprecated D3DX libraries to the new ones, but with the function D3DX11CompileFromFile I'm supposed to use the new D3DCompileFromFile. MSDN says the header file is D3DCompiler.h and the lib file is…
Zebrafish
  • 11,682
  • 3
  • 43
  • 119
0
votes
1 answer

Why does the whole world translate instead of just the object?

I have not been able to translate my object alone, when I try to do that, the whole world would translate instead. Anyone have any ideas why this is happening? d3ddev->SetStreamSource(0, v_buffer[2], 0, sizeof(CUSTOMVERTEX)); …
Booooop
  • 21
  • 3
0
votes
1 answer

Unresolved External Symbol error, C++ VS15 d3dx9 Library

for some reason i've gotten a "unresolved external symbol" error and I just can't figure out why.. It complains about "__snprintf", "__sprintf" and "__vsnprintf" even though I am not even using those.. Picture of compiler: As you can see I am…