Answer Questions
Aaron076 MDX Matrix.RotateX not doing what I expected...
I wrote this code: Matrix Test = Matrix.Identity; Test.RotateX( ( float )Math.PI/2.0f ); Test.RotateY( ( float )Math.PI/2.0f ); expecting it to rotate 90 degrees in X and then in Y. But the second rotate call (RotateY), simply replaces the matrix with a Y rotation. I expected it to post-catenate the Y rotation and createa compound rotation. Is this the intended use of RotateX etc. The help says that Matrix.RotateX "Rot ...Show All
John Chef Multiple windows by one device
Hi! I'm looking for some easy way to render into multiple widows by only one device. I'm using managed directX in C#, there's an overload of the Present method that takes a control and claims that it will draw onto the control, but I can't make it work. It does not fail, but neither does it draw anything. Could you please tell me what I'm doing wrong, or maybe weather there's some easier way to do that Thanks Libor ...Show All
Kroamian multichannel audio
Hi there, I'm wondering if it is possible to program a soundcard with e.g. 5.1 option as if it had 6 mono channels. I already tried faking it with directsound3D but with no success... I wan't to be able to play a sound on e.g. channel 1 and 5 (frontleft and backright) but not on the other channels. If this is not possible using directx anyone got an idea on what else to use I think this must be possible ONE way... Thanks in advance, Pat ...Show All
JeffreyS Mesh scaling and lighting problems
I am simply trying to render spheres with a light source coming from directly over head and the spheres have some ambient and diffuse lighting too... but when i change the scale of the mesh, the lighting goes all weird (see screeshots below) Here is the lighting code: private void SetupLighting() { myDevice.Lights[ 0 ].Type = LightType .Directional; myDevice.Lights[ 0 ].Diffuse = Color .White; myDevice.Lights[ 0 ].Ambient ...Show All
DagKo directsound q
if i have a directsound buffer, how do i play it twice at the same time caz if u go: buffer.Play(); buffer.Play(); the second Play call doesnt do anything caz the first one is still running cool, thanks for your replies :) For each sound you want to play simultaneously you create a SecondaryBuffer All the secondary buffer will mix inside the PrimaryBuffer automaticly an ...Show All
thegrave About ID3DXRenderToEnvMap::Face()
I saw DX9SDK 2002 samples' CubEnvMapping. I followed that and wrote one program myself. When I ran it, found that the rendered Cubmap is something wrong(broken), so think to fix it for a long time. At last, I found that after the lpRenderToEnvMap->Face( (D3DCUBEMAP_FACES) i, 0 ); means starts to render to a face of cubemap, I add the lpD3DDev->Clear(0,NULL,D3DCLEAR_TARGET | D3DCLEAR_ZBUFFER, D3DCOLOR_XRGB(100,100,100),1.0f,0); in order to ...Show All
Sydonn How more effective and fast possible study the DirectX?
I had download the Visual C++2005 Express Edition 2005 with msdn but i don't find any Information about "Get starting".In DirectX SDK I found very nice topics step-by step,but i also can't understand all meaning of code.I don't Know where to find more help. Thanks. There are very basic tutorials about building DirectX applications in the DirectX Sample Browser, which is installed with the SDK. If those tutorials are too advanced ...Show All
seattleboatguy Video Card support
What video cards will be able to support DirectX 10 Well I can't be 100% sure, you will need someone from MS for that but every presentation I have seen says "you will need new hardware" and as Jack said nobody has any of this new hardware yet so I doubt the "new hardware" is generally on sale. Just to add to what ZMan said... I would imagine that the D3D10 hardware won't be making an appearance un ...Show All
rcook349 Creating a simulation using Direct3D
Hello, I am working on a project to create a simluation of a football (or soccer ball) flight after it has been kicked. This includes velocity, spin, etc in 2D and then 3D. The software that this needs to intergrate with is written in VC++. Thus the sim needs to be able to access some data/variables from this software.The simulation needs to be embedded within the control software (running on XP Tablet) and automatically displayed rather t ...Show All
D.R.B. How to create a multihead device?
hi, i would likt to know how to create a multihead device. an short example would be nice as i dont get it! i tryed this, but its throwing an error: Dim PresentParams(1) As PresentParameters 'set presentation parameters PresentParams(0) = New PresentParameters PresentParams(0).Windowed = False PresentParams(0).SwapEffect = SwapEffect.Discard PresentParams(1) = New PresentParameters PresentParams(1).Windowed = False PresentParams(1).SwapEffect = ...Show All
MLane October 2005 DirectX SDK is available!
The DirectXR Team is pleased to announce the release of the DirectX 9.0 SDK October 2005 Update! The October Update includes the first public release of the XInput SDK. This SDK will allow game developers to fully support Xbox 360 Controller for Windows. To download or learn more about this release please visit http://msdn.com/directx/sdk . Features added in the October 2005 DirectX SDK update - XInput XInput is an API that ...Show All
RJHTW question about framework camera
how can you use the camera.FrameMove(elapsedTime) with out a effects file, im using for all my view, world and projection matrix just the basic setup for it device.Transform.World = Matrix....ect.... but I would really like to have the option of using the FrameMove function that the ModelViewerCamera has. anyone have any ideas on how I can use this... after messing with this for a few hours this is what I came ...Show All
Gooom Triangles vs pyramids...
I'm a really RAW recruit into the gaming world. I'm by profession a VB6/Oracle/ programmer and haven't ever looked further than that until now. I'm teaching myself C# using the excellent Microsoft Visual C# .Net Express Edition and have started on the 101 webcasts for 2d games, and it's slow heavy going for my non-oo, database-centric brain to get hold of, but I'll get there .. in the end ... So, my question, or rather observation, regar ...Show All
Peter Boulton A question of desgin
This question isn't directly related to DirectX, but it's still strongly tied into the whole idea of game programming, so I'm hoping someone here can give me some direction. Up until now, developing my game logic hasn't been too hard. I have a World object, which contains Platform objects, Item objects, and one Hero object. With an object oriented design, this is insanely easy to implement, because all the basic attributes and drawing logic c ...Show All
systemX A question on displaying surfaces
How can I load a surface from a file to the screen and load another surface on top of it and allow parts of the previous surface to show through So far I have been able to load the surfaces, but when they are displayed, the one I want to be transparent in certain areas displays black in those parts. Thanks for any help someone can give me. Thanks for your advice, but I am a little confused. I have tried lookin ...Show All
