Answer Questions
FlavioOliveira Can't build/run managed samples on x64
Hi all, I just downlaoded and installed the Dec 2005 bits. I can build and run the managed C# samples just fine on my 32-bit machine, but no luck with my x64 machine. When I build the default SimpleAnimation sample, it buildes fine, but gives me this error when I run: System.BadImageFormatException was unhandled Message=" is not a valid Win32 application. (Exception from HRESULT: 0x800700C1)" Source="mscorlib" Sta ...Show All
LISA86 Could anybody help me with a problem of DirectX installation?
I want to silently install DirectX 90c and handle the return code, I decided to use DirectXSetup API instead of DXSetup.exe because there is no any doc talking about the return value of DXSetup.exe. I did this, and it seems have a problem when I run my program on a machine with XP sp1, it pops up a dialog showing the progress bar that I hate to see. I supposed the installing of using API is silent, ... Thanks in advance. ...Show All
richbrownesq Increasing FPS
Somewhere (that I can't find again) I remember a person having a problem of only being able to achieve fps rates that maxed around 60 because the fps was connected to the frame update of the monitor I believe. Then some replied with (I believe) a property that could be set to have the GPU process the frames as fast as possible even if the monitor wasn't ready yet. Does anyone recognize what I'm talking about Thanks ...Show All
WyllieLuke Help compile pixel shader from fragments right !
I wrote fragment: // texture Normals; textureCUBE CubeMap; sampler NormalSampler : register(s0); samplerCUBE s_CUBE : register(s3); // s_CUBE must use sampler register s3 void someFunc (float2 fNormalTex : TEXCOORD0,float4 fSpecTex[3] : TEXCOORD1, out float4 fColor : COLOR) { float4 fNormCol = tex2D(NormalSampler, fNormalTex); float3 norm; norm.x = dot ( fSpecTex[0].xyz, fNormCol.xyz * 2 - 1 ); norm.y = d ...Show All
ETE Unable to get SetChannelVolume to work
I am having troubles getting SetChannelVolume to work on my PC. First I prepare my sound cue and then set up the channel map like so note: pSoundTask->m_pSoundCue is a valid cue XACTCHANNELMAPENTRY ChannelMapEntries[] = { { 0, 0, 0.0f }, { 0, 1, 0.0f } }; DWORD dwNumEntries = 2; XACTCHANNELMAP ChannelMap = { (XACTCHANNEL)dwNumEntries, ChannelMapEntries }; hRVal = pSoundTask->m_pSoundCue-& ...Show All
Troels Gram Hey Everyone
Hello every1, i remember playing my snes :P it was a damn fun game console for sure though. i remember a game called earthbound best. it was a great game and it looks simple enough to make with todays game dev tools. i thought maybe it would b possible to make a online version of this game... would this be possible also wat about legal issues thanks for the help. i have another question (and i am really sorry for this) i really have no c ...Show All
Nicolas Iacovides How to use DSSCL_WRITEPRIMARY mix the sound?how write the primary buffer?
how write the primary buffer How to use DSSCL_WRITEPRIMARY mix the sound Since the advent of the Windows Driver Model, there are no advantages to writing directly to the primary buffer, in fact it is simply an abstract concept now – there is no physical buffer available to the app where all audio gets mixed (so you cannot apply global effects on the primary buffer – you’ll have to mix the stuff yourself if you want post submix effects). ...Show All
Yaachiru Drawing Custom Model Format
hi, im started with DXSDK a few days and i want to know if there is a way to fill a ID3DXMESH with my custom format my code: namespace my_work { struct my_vertex { int vIndex; D3DXVECTOR3 vPosition; D3DXVECTOR3 vNormal; D3DXVECTOR2 vUV; };   ...Show All
hseb Overlay Graphics on Direct3D
I am trying to go the route of the textured quad. When I tried just drawing a background on my dx application and running a game, even with the form ontop, the white area (the color I made it) never shown ontop. I was wondering if you could find/write a bit of sample code to get me started in the right direction, or further explain how to accomplish this. I have a Direct3D-based game and I would like to ov ...Show All
KarthikChennappan Code behaves differently on 3 different computers. ???
I have a C# application that displays fairly simple 3d models (mostly lines and a few faces). I am using Managed DirectX 9 August 2005. On one computer (the development machine) the program runs fine. On another computer, the lines don't draw (it's a call to drawIndexedPrimitives, type lineList) but the meshes do draw...and on two other computers, when I open the Form that has the 3d control, the computer freezes (before ...Show All
bashok Direct3D in Office
Does anyone know the reason an automation error would arise when I try to use the following code The automation error is generated when I try to set the oD3DVertex object. I'm trying to declare this in the form module and everything works except for the vertex buffer. I also tried alternating between the DxVBLibA library and the DirectX 7 and 8 Reference libraries, but neither seem to work. Private oDX As New DxVBLibA.DirectX8 Private oD3D As Dx ...Show All
SDev What is in DX9 that is similar to Selection in OpenGL
I just start to trun from OpenGL to DirectX. I'm writing a program that requires user to select 3D objects by mouse clicking. In OpenGL this is easily done by Selection mechanism. So what is the best way to achieve the similar effect in DirectX 9 Thanks! It seems D3D is doing a different way from OGL, o/w I have huge size mesh that would make CPU version extremely slow. In the ...Show All
Execbask1 DirectMusic for Managed DirectX
Hi, I have a question. Is there any plans to implement DirectMusic for Managed DirectX If so, I would like to know when. I'm a fan of DirectMusic and interactive music is important for games. Final Fantasy VIII (from Square Soft but formly SquareEnix, however, I like calling Square Soft since I don't know about Enix that much) makes use of DirectMusic for DirectX 6.1. Grayson Peddie wrote: Hi, I have a question. Is there any ...Show All
IcemanNCalifornia 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 Am I understanding that you want someone to send you a copy of the SDK on CD MS did offer such a service some time ago, but I can't find any reference to it - so I guess that's for MSDN subscribers only now. You might want to look at the other general download-server type sites, I've seen that ...Show All
Zelalem DirectX 9 Palettes
Does anyone know how to use Palettes in DirectX 9 I can't find any information for it anywhere. If you want to post examples, I'm using VB, but I can convert C++ too. Can you be a little more specific about what context you mean when using the word "palette". What are you trying to do I really wouldn't bother with palette support. There are non-obvious speed hits if you use them wrong (and "wrong" ...Show All
