Answer Questions
mpietras DirectX Extensions for Alias Maya 7
When will the export X for maya 7 be released Or is there a way to convert 6 binary or 6.5 binary too work with 7 Maya 7.0 licenses should be backward-compatible to 6.5. That's what I've been doing. Taking whatever source work there is, exporting it out as .ma file, edit the .ma file to change the "requires" statement from 7.0 to 6.5 (and remove any other requires like mentalray/cgfx/whatever), then import that into a new scene in 6.5 and ...Show All
John MG Distorted texture after lost/reset device
Hi, I'm drawing a textured mesh using DrawIndexedPrimitive, using an effect interface. After a windowed/full screen toggle the texture appears distorted. Interestingly when I draw another mesh in wireframe mode in the same render call the problem doesn't occur. Can somebody help Nico Fascinating, I've seen lots of odd things come out of directx but that one is so uniform in its oddness. Usually its a horribl ...Show All
Hendro Wijaya converting mouse 2d to 3d space problem
hello guys , sorry for reposting the same question . iam unable to get 3d co - ordinates here is my code case WM_LBUTTONDOWN : GetMousepos(&point); Device->GetTransform(D3DTS_VIEW ,&viewM); Device->GetTransform(D3DTS_PROJECTION,&projM); D3DXMatrixInverse(&InverseProjM , NULL,&projM); D3DXMatrixInverse(&InverseViewM,NULL,&viewM); later i dont know ...Show All
Joe Buys Shadow maps
Hi I'm looking for some information about texture shadow maps. I've looked in goole for a sample, but i can't find one. The ones I found, or are incomplete or too complex (because they involved other more complex concepts, like soft shadows). The sample about Shadow Maps in the DX SDK run soooooooo slowly that it is very hard to properly study it (I think that's because it is meant for DX 10). What I'm realy looking, is a sample code as simple a ...Show All
Frustrated1689 HLSL question.
I'm just wondering why this pixel shader works fine... PS_OUTPUT RenderScenePS( VS_OUTPUT In, uniform bool bTexture ) { PS_OUTPUT Output; // Lookup mesh texture and modulate it with diffuse if ( bTexture ) { float4 meshRGB = tex2D (MeshTextureSampler, In.TextureUV); Output.RGBColor =meshRGB * In.Diffuse; } else Output.RGBColor = In.Diffuse; return Output; } ... but this one c ...Show All
jayson.ws.tool.ci.ftsp Error ding when all is well
Hi all, I've built an application on top of the EmptyProject sample in the SDK. The application exits cleanly, but for some reason it raises and error sound. If I close the app with the close button on the window, the sample framework gives me a messagebox indicating that "The device has a non-zero reference count, meaning that some objects were not released," yet when I exit using the the GUI I've developed (which simply calls a funct ...Show All
olivier durier slow backbuffer lock
I need to grab all my rendered pixels and pass them to a video card in order to show graphics on a tv. I can do so by locking the backbuffer and moving the pixels, but in my test it is quite slow. My framerate drops to abour 1/10th of the previous speed, and that is just too slow. Is there a faster way of moving my graphics onto my video buffer than lockbackbuffer and lockrectangle There should be faster ...Show All
i2adnan WEIRD-Please Help. Alpha Blended Mesh Occludes Another Mesh Over Background
Hello everyone, I'm new to these forums and have been tinkering with Managed DirectX for a few months now in order to get my graphics engine working the way I want. Right now I'm trying to figure out a problem I'm having with two alpha blended meshes occluding one another. I use a background sprite texture to help display the translucency of the meshes I'm using. I have two distinct mesh objects defined, one created using Mesh.Box() ...Show All
David Felker Problem loading simple shader
I'm trying to use my first shader: float4x4 matWorldViewProj: WORLDVIEWPROJECTION; struct VS_OUTPUT { float4 Pos : POSITION; }; VS_OUTPUT VS(float4 Pos : POSITION) { VS_OUTPUT Out = (VS_OUTPUT)0; Out.Pos = mul(Pos,matWorldViewProj); return Out; } technique TVertexAndPixelShader { pass P0 { VertexShader = compile vs_1_1 VS(); } } I compile this from an .fx file with the following: hr = D3DXCreateEffectFromFile ...Show All
Ugla How do you apply a .fx effect to a mesh?
How do you apply a .fx effect to a mesh I've looked for sample code but the only thing I could find was the SDK documentation, but that thing applies it to custom vertexes... Seems everytime I try something new in directx, it never works the first time ^^;;; Perhaps a stupid question, but how do I use effect.SetValue() and what does it actually do You could just do it like yo ...Show All
marcvs XNA Framework and the Number of Runtimes
Hi, I am interested in migrating some projects to the XNA Framework in the near future. I'm curious if there's any decisions if the XNA Framework is going to have the DirectX .dlls within it to simplify distribution. Without it, I'm assuming there will be three runtimes (.NET, XNA, DirectX). I'm usually okay with two runtimes, but three seems a little too much. Has there been any decisions, or is it too early to tell still If so, please consider ...Show All
mike1942f Converting to .NET 2.0 - Device exists in 2 places
I have a app I wrote in .NET 1.1 and it breaks when running on .NET 2.0. I figure that I could just rebuild it in VS 2005 with .NET 2.0 and then debug it to find where it breaks. Unfortunately, I can't get it to compile at all in VS 2005. I get the following error. Error 2 The type 'Microsoft.DirectX.Direct3D.Device' exists in both 'c:\WINDOWS\Microsoft.NET\Managed DirectX\v ...Show All
Vishalbhambure 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 Thanks for answares, then I will start with managed DX. "much slower" I'm guessing your friends have either a) written bad co ...Show All
ThackerRobin Getting rendered graphics (quickly) from the card
I had a thread about thins some days back, but for some reason I can not write into it now. I am faced with the task of rendering some graphics with directx and then copying that graphics into another card which generates a video signal. I need to feed it a new frame 25 times a second. The size is 720*576 The rendering does not have to be any faster that this. I have tried two methods of geting the pixels, and both are much too slow. On ...Show All
chad_ Uninstalling DirectX
I have version 9.0b and I was trying to upgrade to 9.0c, but got an error during installation saying a required cabinet file cannot be trusted. At first I just thought this meant the file to install 9.0c was damaged so I got a new installer from here, but got the same error. So I figured there was a problem with the DirectX already installed on my computer. I went into DXDIAG and after only about 30 seconds it crashed my computer while it was sc ...Show All
