Answer Questions
Crusaders help me with direct x 9.0
i am strictly in needof direct x 9.0 sdk and it takes a lot of time for me to download making me spend a lot. can any of you send me that please hello mr. Jack Hoxley. Nice to hear from you immediatly and i personally thank you for answering my question at the earliest. i had noted down what you have said. As you said above, are you sure that it is available for MSDN subscribers. how do i subscribe to MSDN if it is true . is it poss ...Show All
dwh78759 device reset error
I have created a manager to preload textures/meshes on startup I load all the meshes/textures into the manager, at this time there is about a 13 sec time laps before the app boots up and starts rendering my first screen, so I decided to run this on a different thread and start rendering my first screen on the main thread, when I do this I keep geting a reset error, im using C# and the sampleFramework in my app any Ideas why this would be happ ...Show All
limonada Directx.dll version numbering...
Here at work I had DX SDK summer 2004 installed. And I got a problem with something, so I figured I would try to upgrade to August 2005 to see if that would solve it. But now when I am going to add the DLL files, I started to wonder a bit...take a look at this picture: http://noteme.com/dll.jpg Look at the Microsoft.Directx.dll lines there. Both of them. It says the same version number. Does that mean that there has been NO changes in it the l ...Show All
Krishna Paripurnam 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 Ah, that helped, thanks. I onl ...Show All
jude_nishamal Cylinder from point A to B
Hi, I can't seem to get the transformations right to draw a cylinder that connects two points. The examples i find don't seem to work. Can anyone help me out here Thanks Dim vz, vy, vdif, cross As Vector3 Dim dot, ang As Double vz = New Vector3(0, 0, 1) vdif = New Vector3(Thing.xto - Thing.x, Thing.yto - Thing.y, Thing.zto - Thing.z) vdif.Normalize() cross = Vector3.Cross(vz, vdif) dot = Vector3.Dot(vz ...Show All
marla Coping from a render target to a lockable texture
I've built a GPU based particle system under Windows which works with the exception of one important part. I need to be able to build a bounding sphere off the particle positions. To do this I wrote a shader that samples nearby texels and finds the min/max and writes to a lower resolution texture (right now, the texture gets 4x smaller each pass) until the final size is < 2x2 texels. The idea would then be to copy that render target to ...Show All
James Su Where did device in direct3D go?
I'm trying to do some of the real simple DirectX tutorials and when I try to enter the line: Private Dev As Microsoft.DirectX.Direct3d.Device = Nothing or it's equivalent for the C# version I get the error that Device is undefined. I am using the April 2006 DirectX SDK. I have added Microsoft.DirectX and Microsoft.DirectX.Direct3D references to the projects. For the VB version I use: Imports Microsoft.DirectX Imports Microsoft.DirectX.D ...Show All
Unjedai Vsync and timer problems
It seems that using a PresentInterval of one in windowed mode causes my application to miss frames periodically. About 1/10th of a second every couple of seconds. This doesn't happen in full screen mode. Now what's really weird is that if I hibernate my computer with the program running, when it comes back the windowed mode doesn't vsync at all. I get about 30 FPS with lots of tearing, and Present() taking lots of time (sometimes 40 ...Show All
Gavin Lilley SDK Error when running (Debugging) application
Howdy All, Upfront Info : Windows XP Pro SP2, DirectX 9.0c (w /August SDK) C# 2005 Express IDE I have created a simple little DX app using the MS tutorials and other information that I have found on the internet. All works well until I add a Dialog to the app. private Dialog myDialog = null; myDialog = new Dialog(framework) There are no controls added to the Dialog only the creation of the initial instance. The app compiles without complain ...Show All
sebyweb directsound capture device MDX 2.0
http://www.nomorepasting.com/paste.php pasteID=60943 take a look at that code why does Record = New CaptureBuffer(cp, descRecord) fails any one have an example for doing it correctly under MDX 2.0 C# or VB .net either would be fine. As the MDX2.0 system is still in beta you should really be asking the questions in the Beta newsgroups. http://msdn.microsoft.com/directx/beta Also just a note if you plan on using the ...Show All
bizhaoqi Smooth Scrolling ?
1) First of all I use Microsoft.DirectX.Direct3D.Font.DrawText(....) for creting 2d text and change x-y parametrers for scrolling 2) I can calculate framerate as below : ++frames; int ticks = Environment.TickCount; int elapsed = ticks - lastTickCount; if (elapsed > 1000) { int framerate = frames; frames = 0; this .FPS = framerate ; lastTickCount = ticks; } But how can i use them together ...Show All
Adeze Video on 2005 WinForm
What gives Works fine in vs2003 but not in vs2005 with current version of DirectX. Any ideas and directions would be appreciated. <vs 2003> Dim vid As New Microsoft.DirectX.AudioVideoPlayback.Video("C:\Temp\u.mwv") <Vs 2005> Dim vid As New Microsoft.DirectX.AudioVideoPlayback.Video("C:\Temp\u.mwv") <Error message> DLL 'C:\WINDOWS\assembly\GAC\Microsoft.DirectX\1.0.2902.0__31bf3856ad364e35\Microsoft.DirectX.dll' ...Show All
tPhanx Asset Relationship Management
Hi, I am quite interested in the functionality that the ARM API can provide and think that it will be very useful to us and I would like to do an evaluation of it. Are there any samples or tutorials online or in the March 2006 CTP that explain how to use the API Cheers Ashley Davis Lead Programmer Kuju Entertainment Hi Ashley, at the moment there is no sample code in the documentation, however all the classes (member varia ...Show All
Vasim Sprite.Draw2D and Alphablending?
I'm trying to do alphablended sprites (not color keyed sprites), but it doesn't seems to works. I tried to load .dds with alpha channel and .bmp (32bpp, last channel should be obviously alpha, but i don't know if TextureLoader.FromFile() understand the last channel as an alpha channel). I've put the device's renderstate at alphablendingenable = true (don't have any PS GFX card). But it doesn't seems to work. Am I missing something Maybe should I ...Show All
Ronald Wilson HLSL pixel shader: possible to not set output color?
Is it possible to somehow not set the output color in a HLSL pixel shader without getting an error message It is possible with a CG shader. The effect is a transparent surface at pixels where the output color is not set/computed. Nico Thanks for your suggestion. Maybe I will try that some time. At the moment I just render one object, so I simply set the output color to the background color. ...Show All
