Answer Questions
Sajaki Centre text on screen
I'm using screen coordinates to draw a line of text to the screen. How do I determine the width of the text (based on which font I'm using), so that I can precisely centre it on the screen Thanks, man, that's exactly what I needed! (I've added the managed directX info to my signiture to avoid future confusion). You are welcome. My problem is always that I never know if I should answer with managed or unmanaged API names and it look ...Show All
Beth Cylindrically project 2d image
HI I want to project 2d flat image cylindrically on mesh object. E.g., on cat or Dog face. I am using managed directX Can anyone help me on this manner thnx I think he wants to project a texture cylidrically onto an arbitrary mesh, Tutorial5 puts it on a cylinder. Watch this space... http://msdn.microsoft.com/coding4fun/gamedevelopment/default.aspx The MSDOn folks decide when it goes live not me and they've not given me a publish d ...Show All
Ranya Loading .X meshes
How do you load a DX8 .x mesh file My 3D modelling program (Blender) exports to DX8 format or just .X. I don't know what the difference is. I tried it with the same code as for one of the meshes that came with the SDK, but it just gives an error. I just downloaded the v2.37a of blender, ran it and exported the box that is initially created on the screen to .x format (i.e. I did nothing but run blender and choose export) Do ...Show All
Alex Barnett - MSFT MDX on XBOX360
where can i get xbox360 dev. license or some indi game license for xbox360 live acade IIs there a person we have to talk to in the usa. i have tryed microsoft in denmark , but thay dont no. Michael Hansen http://www.3devolution.net Right now there is no MDX on Xbox 360 so I'm pretty sure Xbox live arcade will not be talking to anyone about it. However Richards article is spot on for any native developers. XNA ...Show All
kh Broken Link to MechCommander 2 Shared Source Release
Microsoft XNA Build March 2006 Community Technology Preview featured at http://www.microsoft.com/downloads/details.aspx FamilyID=868fe562-5ded-4bb1-8648-708d3481bda3&DisplayLang=en has a link to the MechCommander 2 Shared Source Release download. The link is http://www.microsoft.com/downloads/info.aspx na=40&p=2&SrcDisplayLang=en&SrcCategoryId=&SrcFamilyId=868fe562-5ded-4bb1-8648-708d3481bda3&u=http%3a%2f%2fgo.microso ...Show All
ChrisLW Mesh size versus scaling
OK, when creating a mesh (triangles) and defining my simple shape - a rectangle for example - what is the best approach on sizing. That is, should I make a big mesh so it is big when placed in the scene Or should I make the mesh small and then scale it or what ever during the scene One instance of this is putting up a "flat" background image into the scene to serve as the backdrop. I made a "large" mesh (-5, 4, 0 to 5, -4 ...Show All
mohdtmn firstperson camera lights
if I set the lights like this device.Lights[0].Direction = camera.LookAtPoint; device.Lights[0].Position = camera.EyeLocation; this should set the lights to where ever the camera is and looking right also is there a good way to slow down the mouse movment im using the sampleframework and C# The Light.Direction member is a direction, not a location. You would instead want to do something like: ...Show All
albator69 AudioVideoPlayback
Okay.. Is it possible to display the Artist/Music name with the class Audio of the namespace AudioVideoPlayback Actually.. I'm afraid it's not possible, coz I've seen it's properties at msdn and there isn't the Author or something similar to that on this class, while there is a Author Property on the class Video of the same namespace.. so.. how can I get these information of the mp3 file is there any meta-data on the mp3 files I can retreive ...Show All
Marcus2 Fix Found Windows XP Pro, DirectX 9c install completed ! I cant Install Directx 9.0c December 2005 dsound.inf problem
When I try install Directx 9.0c December 2005 Redlist I Envisage with this Error : "An internal system error occurred. Please refer to DXError.log and DirectX.log in your Windows folder to derermine problem." I several time download Directx 9.0c December 2005 and November 2005 but everytime I Envisage with this error and when I go to DXError.log and DirectX.log see this Problem with dsound.inf : -------------------- [01/05/06 01 ...Show All
Daniel_Valenzuela .x Model and duplicated vertices issue
I can see that in a .x template template VertexDuplicationIndices { <b8d65549-d7c9-4995-89cf-53a9a8b031e3> DWORD nIndices; DWORD nOriginalVertices; array DWORD indices[nIndices]; } There is a duplication of vertices. I believe this was done during the export when faces sharing a vertex duplicates that vertex. Am I right to say that My main problem is how can I get pointers or references back to the origina ...Show All
Gadgetman Fundamental Graphics.
Hello. I'm aware this question likely comes up frequently, but I don't want the answer "Use DirectX". - That's not really what I'm looking for. A friend of mine learned C++ using Borland's ancient Turbo C++ compiler - and it, of course, had a ton of specialised functions, like a gotoxy(x,y) for co-ordinate placement in the console window for text output, and things along those lines. However, he learned graphics the hard way. ...Show All
Omer van Kloeten DirectSound problems
I have installed the DirectX SDK. I found that the namespace Microsoft.DirectX.DirectSound isn't available. I assume that I need this namespace to use DirectSound in managed code. How can I fix this First I installed the October 2005 DirectX SDK. After reading the forums, I installed the December 2005 DirectX SDK. After reading some more, I added a reference to a Microsoft.DirectX entry. I'm not sure which ...Show All
ColinSK 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
Wedant Managed DirectX Help: Tile map has seams when zoomed in.
Im having quite a bit of trouble with zooming in on a map of tiles I am drawing with DirectX (not DirectDraw). Drawing the actual tiles works fine without a zoom: http://img409.imageshack.us/img409/2241/goodciv2pp5rv.jpg But if I apply even a little bit of a zoom I get seems: http://img409.imageshack.us/img409/3628/badciv2pp6pw.jpg And this is driving me crazy. I am using the Sprice to draw everything, and I am setting is transform like ...Show All
DeepakGH i need help! pls I want to begin to write games
I need documents to learn to use directx in c++ or vb, to not knoweverything about directx, thanks for its attention and hope can help me, and sorry for mi english There's a difference between taking the Managed DirectX 3d triangle way and learning things correctly with a proper C++/DirectX book. Depending on your budget, you should pick up a copy of a book titled Tricks of the Windows Game Programming Gurus, edition 2 by An ...Show All
