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
5
votes
3 answers

Format of compiled directx9 shader files?

Is the format of compiled pixel and vertex shader object files as produced by fxc.exe documented anywhere either officially or unofficially? I'd like to be able to read the constant name to register assignments from the shader files. I know that the…
jcoder
  • 29,554
  • 19
  • 87
  • 130
3
votes
2 answers

Is it safe to use the same parameters for input and output in D3DX functions?

Using the D3DX library that is a part of directX, specifically directx9 in this case, I'm wondering if it's safe to use the same matrix (or vector etc) for input and ouput D3DXMATRIX mat; D3DXMatrixInverse(&mat, NULL, &mat); I've been avoiding…
jcoder
  • 29,554
  • 19
  • 87
  • 130
3
votes
3 answers

Cutting a Mesh in Half - DirectX

I am trying to cut a mesh in half or at least be able to delete faces from it in real-time. How to go about doing this i wonder? Lock the vertex buffers, memset the selected face or vertex to 0, does not work for me. has anyone a solution or a…
jmgunn87
  • 31
  • 2
3
votes
0 answers

(D3D11) Transparent texture sections are showing previous texture instead of rendered scene

I have an application that renders multiple textured quads (images) in an essentially 2D context, which has worked fine. However after modifying it so that portions of some textures are transparent, I've ground to a halt trying to get it to behave…
James N
  • 31
  • 4
2
votes
2 answers

What format for #greyscale' render targets in directX?

I have a directx9 game engine that creates its normal adaptor with this format: D3DFMT_X8R8G8B8 I have a system where I render some objects to an offscreen render target, as lightmaps. I then use that lightmap data to composite back to the back…
cliffski
  • 81
  • 4
2
votes
0 answers

What is the constant value of D3DX_PI?

What is the const value of D3DX_PI? Does it not really matter how i define, so for example i can just define it as #define D3DX_PI 3.14 Or would it need to be more precie like: #define D3DX_PI 3.1415926535897932384626
JeffCoderr
  • 283
  • 1
  • 4
  • 16
2
votes
1 answer

convert XMMATRIX to D3DXMATRIX

for my university project I have to combine the majority of two different frameworks provided by lecturers but the problem is one lecturer uses XMMATRIX and one uses D3DXMATRIX. Is there a way to convert between the two without having to re-write…
AdamW95
  • 51
  • 1
  • 5
2
votes
2 answers

DirectX 11 Effects

I'm trying to learn DirectX 11 and am writing a small application using Visual Studio 2013 for Windows 7. I'm following the book "Introduction to 3D Game Programming with DirectX 11" and so far everything's gone okay. I've just come up to the part…
TheRarebit
  • 385
  • 4
  • 18
2
votes
2 answers

How to simulate a "clean PC" for application D3DX redist installation testing?

It's a common problem where developer PCs have D3DX redists and VC++ redists installed, which end-user PCs may not. If you have a "clean PC" for installation testing, the moment you install then it's no longer clean. Specifically for D3DX redists,…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
2
votes
2 answers

d3dx11.h in Windows 8 sdk

Preamble: I am making a project with VS 2013 and I tried to #include and it was not found. I did a bit of searching and found this quote D3DX is not considered the canonical API for using Direct3D in Windows 8 and therefore isn't…
Noah Huppert
  • 4,028
  • 6
  • 36
  • 58
2
votes
1 answer

how does the d3dx library save textures to files?

When using the function: D3DXSaveTextureToFile and passing in D3DXIFF_BMP to create a bmp I've noticed that the values seem to be estimated rather than given specifically. Correct me if I'm wrong but a floating point texture can store any float in…
meds
  • 21,699
  • 37
  • 163
  • 314
2
votes
1 answer

DirectX Application Causes Computer Crash

I have written a DirectX11 Application that is running on an Alienware Laptop with a GeForce GT 555m graphics card, so I know the computer supports it. I have come across this weird thing were my laptop will turn of without any warning if it isn't…
scribblesiam
  • 131
  • 1
  • 1
  • 4
1
vote
2 answers

Are D3D9 apps tied to exact D3DX DLL version?

If I built my app against D3DX June2007_d3dx9_34 and the target system has a newer version Nov2007_d3dx9_36 should that be a problem? I distribute D3DX DLLs using MS' redist-installer tool but I noticed one one 'clean' PC (no D3DX previously…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
1
vote
1 answer

D3DXMatrixRotationAxis rotate the wrong axis

I'm writing simple 3d application, with directX. Im a newbie, but i think i understand how D3DX Rotation works. when creating a colision detection functionality i notice that ball bounce in wrong direction. the code should change the direction of…
Sardukar
  • 11
  • 3
1
vote
1 answer

Cannot open source file d3dx9.h

Before I start off I know this is quite a common question, I did search for answers before posting here. Unfortunately, I had no luck. In my code I include the file like this: #include Now the error shows up: Cannot open source file…
unknowncoder
  • 43
  • 1
  • 1
  • 6
1
2 3 4