Answer Questions
RomanG Graphics card compatibility issues?
I'm using the following code to get a non-square texture from a bitmap: D3D . TextureLoader . FromStream ( graphics , loMS , bmp . Width , bmp . Height , 0 , D3D . Usage . None , D3D . Format . A8R8G8B8 , D3D . Pool . Managed , D3D . Filter . Linear , D3D . Filter . Linear , 0 ); (Where "bmp" is a Bitmap in memory, and "loMS" is a MemoryStream connected to bmp). This works fine on my PC, but if I run it on a lapto ...Show All
Schmlughtz Pass int array to the pixel shader
I want to pass an int array to the pixel shader. I used SetIntArray(name, val)..the problem is that in the shader I do not know the exact size of the array, therefore in declaring it i am trying to use an int *. It seems as if the compiler does not like this. Is is it possible to use pointers in the shader If not how can I pass a variable length array to the shader can someone give me an example of the usage of this function ...Show All
Brandon Hamm construct models
I'm just starting to play around with Managed DirectX. Can anyone recommend a site to get free mesh data (.X files) or textures Or maybe free tools to model (simple) 3D objects A similar question of mine was answered here: http://forums.microsoft.com/msdn/ShowPost.aspx PostID=60925 Milkshape3D is also a great 'shareware tool' ($20). It has DirectX exportors. well if you have the sdk for ...Show All
Michael Barrett Jensen Possible to apply shader to DX7 content?
We are using an existing DirectX 7-based game engine to render 3d content. We do not have the source to the engine. We'd like to apply shaders to some of the objects rendered in this engine. Since it is DirectX 7-based, this seems like a technologically difficult, if not impossible, feat. Is this possible Impossible is a strong word. There is a way to do this but I am sure you want not go it because it is many work. It should be easier ...Show All
whodat Reference Link To Latest DirectX Specification?
I've been working somewhat with DirectX File Format Version 3.03 and noticed alot of graphics tool .x file exporters use the 3.02 standard, is there a link somewhere which shows the latest version See SDK docs http://msdn.microsoft.com/library/ url=/library/en-us/directx9_c/dx9_graphics_reference_d3dx_x_file.asp There is also a link to 'legacy' which I assume means older versions http://msdn.microsoft ...Show All
MikeTaj Device Lost Problem
I am having a problem with losing the device that I'm not sure about. The window can be minimized, lose focus to another app, and be resized with no problem. The problem occurs if in WinXP the user hits cntl-alt-del and then goes back (either by canceling or by unlocking later). The device can't seem to recover properly from this. Sometimes I can even continue drawing to the device after coming back but resizing it immediately breaks it (when yo ...Show All
Niazi AudioVideoPlayback
Okay.. Is it possible to display the Artist/Music name with the class Audio of the namespace AudioVideoPlayback Actually.. I'm afraid it's not possible, coz I've seen it's properties at msdn and there isn't the Author or something similar to that on this class, while there is a Author Property on the class Video of the same namespace.. so.. how can I get these information of the mp3 file is there any meta-data on the mp3 files I can retreive ...Show All
CHASE10541 DirectPlay Voice Error
I have a problem with DirectPlay Voice. I can use microphone I have windows xp home + sp2. In windows xp pro i havenn't this problem. I have a messege from windows "Error instalation program DirecPlay Voice. Code Error 0x80004005." My name is Diane Martin. I need to know how to fix this error on my pc. I am not able to test out the hardware. It will go so far and then I get my error. Please help me. ...Show All
MBritten What files do I EXACTLY need to include with my Game to make managed DirectX work?
Hi, I'm using Visual Studio 2005 Beta 2 and August 2005 DX SDK. In my project, I reference the following file from the SDK: Microsoft.DirectX.dll Microsoft.DirectX.Direct3D.dll Microsoft.DirectX.Direct3DX.dll (I set the option "copy to local folder") these files are included in my zip-file which I want to get work on computers where the DirectX SDK is not installed. Please don't tell me to install the Redistributable on the target machine. It ...Show All
Greg.Thomas DirectX 9.0 SDK November 2005?
hello everyone, is it possible if i could know when will The DirectX Team release the DirectX SDK for november 2005 Thank You I installed the DirectX 9c and the SDK 9 (october) But when I try to play the sample I get a Black Window and nothing happen Every other exemple in other SDK and my own program work fine Is there some things that must be set I have a ATI 9200 graphic card that don't do a very high ...Show All
santaclause585 Q: WGF
I would like to ax you something about future of DX: I finally learnt DX just recently and successfully created few DX games and demos. But since DX9 is the last version and the next "big thing in graphics" will be WGF, is it wise to continue learning DX I mean, is it worth it WGF will definitely have totally different API and I will have to learn it all over again :( Im seriously thinking about OpenGL ... I have some experience in that area ...Show All
Albert30302 "Direct3D.OutOfVideoMemoryException" : managed directX + c#
Hi, Working on a basic 3D engine I actually have a problem using my application with some graphic cards. The engine is very basic : Using a Form to select a "game", I create a new Control, then I use it creating my D3Ddevice. I load mesh and textures from .X files. When the "game" end, I dispose all even the Control and then back to the game selection Form. On my computer it's working well, but on my "test computer" I got a " Direct3D.OutOfVid ...Show All
zakoops IXACTEngine_GetRendererCount bug
Hi There is a minor bug in XACTEngine_GetRendererCount(). If I do this: XACTINDEX renders = XACTINDEX_INVALID; hr = IXACTEngine_GetRendererCount(m_Engine, &renders); I get this error: Run-Time Check Failure #2 - Stack around the variable 'renders' was corrupted But if I do this: int renders = XACTINDEX_INVALID; hr = IXACTEngine_GetRendererCount(m_Engine, (XACTINDEX*)&renders); Then it works ...Show All
jziemian Sparse Matrix-vector multiplication on GPU using DirectX 9
I want to implement Sparse Matrix-vector multiplication on GPU. I have a matrix where each component is of the form struct cell { int value; int row; int col; } I store the row and column with the value because I rearrange the matrix into the Compressed Row (CRS) sparse matrix storage format. Can I pass the matrix to the GPU as a texture that stores the above values. Can I pass the vec ...Show All
Yuan Ze 4 Beginners!
Hi, well i read post and post but all of them assumes than we know how to use directx, so I wondering about: Where can i found info, tutorials, about how to get started... In C/C++, or C# oriented to those how never in their lives have contact with DirectX before and their skill in programming are Intermediate... thx PS. Simple kind, because i found one, but in the begining it said.... Create a new project... ok, but in VS.NET 2005 C++ are a ...Show All
