Answer Questions
Igor Lemsky what is faster? managed/unmanaged
I'm a student and just started wih DircetX. And I just wonder, what is better to start with. MY friends says , that managed DircetX is much slowler, but unmanaged is harder to use... I can use C++,c# or VB, so what is better to programming games As managed DX is layered over unmanaged DX it needs more CPU cycles. But this is only a small amount. If your GPU is the limiting factor you will see no difference be ...Show All
TTruax Windowed Vsync Issues
Hi, I've had my engine up and running at around 350FPS in windowed mode without vsync. When I enable vsync in windowed mode, and get my 75Hz, I expected it to be perfectly smooth. This is not the case, as every second or two the Present() function takes far too long to return (around 25 ms) - even though the rendering + mechanics part of the app takes less than 3ms. Has anyone else encountered such a problem, and have you solved it ...Show All
Rama Raman Saving a Volume Texture to a File
I have some trouble saving a volume texture. The D3DXSaveVolumeToFile Function only saves one level of my 32 layer volume texture (total size: 256x256x32). I tried jpg, png and bmp format. The same happens when I use the D3DXSaveTextureToFile function. Can somebody help Thx. Thanks, will try that. But at least the png format should support layered images. The info of the saved png file supports that: it say de ...Show All
Azath DirectX AppWizard for Visual Studio 2005
There is no AppWizard for Visual Studio 2005 in DirectX 9 SDK installation (only for earler version of Visual Studio). Can I download wizard for VS 2005 separately (without all DirectX SDK) or edit avialable wizard for using this in VS 2005 There has not been a DirectApp wizard in the DirectX SDK for at least 1 year now. Instead go to the sample browser application that comes with the SDK, find the EmptyPro ...Show All
gk41 Problem with texconv and dxtx
I've written a VB program that creates textures and uses texconv.exe or dxtx.exe to convert from bitmaps to .dds format. It works fine on my main computer. But both utilities fail on my old computer, giving a DirectX error message. When I try to run dxtx the error message says: "Could not initialize Direct3D. Please ensure that this program was compiled with header files matching the installed version of DirectX." This is mos ...Show All
hobscrk777 IntelliSense with October DirectX SDK
Hi. I'm still using Visual C++ 6.0 (still the best imo) and I've just installed the October DirectX SDK and for some reason the IntelliSense doesn't work with ANYTHING from DirectX. Can anyone suggest how I can get it working Thanks in advance. I don't know about the first question, but I have read ( although I haven't personally used it myself ) that the mechanism(s) for adding directories (lib/include/etc.. ...Show All
Yenan client/server cord system
I was trying to think of a good way to update clients on other player positions, so I came up with this but not sure how to make it work right right now im sending packets to the server that contain x,y,z info that I get from the camera's EyeLocation, then send the x,y,z from the cameras lookAtPoint but right now the movment looks real chopy so my thought was to use the velocity and the LookAtPoint to update player cords, not sure how to do i ...Show All
Stigern Forms.Keys vs DirectInput
I know its probably just me, but is there any reason that OnKeyDown can only process one key down at a time I should add that I am used to using DirectInput for this kind of thing, but I see that it's being recommended not to use it any more, so I tried using OnKeyDown, but when I hold down 2 keys at once, only one gets processed even though my code looks like: if (e.KeyCode = Keys.W) moveforward(); if (e.KeyCode = Keys.A) moveleft(); ...Show All
Aleydis Help me port a few lines of OpenGL-code to DirectX?
Hi, Check out these lines of OpenGL-code: Thanks a lot, both. I'm still having trouble working this out... Jon: I tried setting the gl_vector as the VIEW matrix, and then setting the WORLD matrix to identity. What is happing now, is that the rotation around the Z and X axis seems to be mirrored, and translation along Y is negated... About inverting Z or the WORLD matrix - is that to make the z-translation part be -z and le ...Show All
Scott W. Reading data from the Z buffer.
Hi=) I'm currently working on a little app to test out shadowmapping in c# and MDX. I have a small problem reading out the depth buffer as a texture thou. Im rendering a model to a texture and then changeing the camera angle and rerender from the new angle. This works as it should, and Im getting the texture out, however i have not found a way to get the Zbuffer instead of the normal color buffer. .... rts = new RenderToSurface (d ...Show All
clecke Online Strategy project
Project name: Empire Universe Brief description: The game will be played in space.. each player will be stationed on a separate planet.. where he’ll have to start to build his culture from scratch(for a couple of time player will not be able to attack , so frequent players won’t have too much advantage) The players data should be kept on the central dedicated server which I will provide (opteron 2.4 ghz 4gb ddr, 200gb discs on 10mbps unm ...Show All
icelock Performance problem with Texture.FromBitmap
I reduced program boot time (when running from within the IDE) from 12 seconds to less than 1 second by re-writing Texture.FromBitmap using unsafe code. For me it was easy because I'm only using 32 bit textures and 32 bit bitmaps. It would be nice to see this function optimized in future releases of the SDK. BTW, Texture.FromStream has the same problem. -Jeremy I'm having the same problem. T ...Show All
Joe Johnson Creating Projective Textures
How the Manual gave me some intro. but not much. - Dx9 October 2005 SDK - DX9 October 2005 SDK Manual - Texture Projector i have searched in the internet but i always find OpenGL examples. Could you give us some more details to work with - Direct3D 8 or 9 Something else - What manual you mean the SDK documentation if so, which page - What effect are you ...Show All
Godwin Festus J. Daniel Strange Problem In Resizing Managed Direct3D Window
Hello, I had a strange problem, I had created a Windows Forms project in Visual Studio 2005. I render to this window using Managed Direct3D. I typically used 3 managed vertex buffers for rendering. When I try to resize the rendering window, The resizing operation was too fast and catching up my mouse pointer inspite of it's speed, This is good. But this happens only in Debug or in Release mode while Visual Studio is open!!. If I closed the ...Show All
Spyke555 Saving a Volume Texture to a File
I have some trouble saving a volume texture. The D3DXSaveVolumeToFile Function only saves one level of my 32 layer volume texture (total size: 256x256x32). I tried jpg, png and bmp format. The same happens when I use the D3DXSaveTextureToFile function. Can somebody help Thx. Thanks! dds worked! Did you try dds format Maybe the formats you tried only support 2d im ...Show All
