Answer Questions
DaveBrown1975 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. What kind of error are you seeing Which version of the SDK are you using How complex is the model The model is a simple cube. I am using the february SDK. I tried usi ...Show All
Mohamed Kishk select sound device
how can i select a sound device to play sound on is it by direct sound or win32 how please help me When you create your IDirectSound8 object, you pass the GUID of the output device you want, which can be enumerated with DirectSoundEnumerate. Check the following namespace System.Media.SoundPlayer System.Media.SoundPlayer is not existe in vs.net2003 i want to solve it in 2003 ...Show All
saigopal DXUT and D3DXLoadMeshFromX
Hi ive used the DXUTIL to initialise my prog and load an animated X file(Tiny.X) but when i call D3DXLoadMeshFromX to load my map mesh it fails. help ... How about some more detail What is the error you get What SDK version are you loading Etc. Please read this before posting more questions: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=69462&SiteID=1 Please start with a newer ...Show All
Steven Higgan Direct X
How to create Mesh - object, if the coordinates of verteks, coordinate of normals are known, and there is a list what verteks belong to what faces As always, you should search the SDK documentation that is installed first. In there you will find (under "Reference") the "X File Format Reference". If you are looking for a free modeling tool that helps you build X files, you might want to look at tools like Milkshape . ...Show All
Alexey Lavnikov How to copy VECTORs or D3D mater,text or MESHes
Hello, I am having a problem with creating a MESH object. I can load it from an X-file, but I would like to to be able to COPY whole object from one SPRITE to ANOTHER so I dont have to access .X file all the time... I can copy mest with CloneMeshFVF, but I fail in copying it's textures and materials... I think every class(SPRITE) should have its MESH type, MATERIALS, TEXTURES saved and not share same things,shoulnt it For instanc ...Show All
ZoltanK Microsoft.DirectX.dll version 2.0.900 You Can Not Create the device Manual
plaese have a look Full Copy AND PAST in vs studio create a class lib. and put this code in using System; using System.Collections; using System.ComponentModel; using System.Drawing; using System.Text; using System.Windows.Forms; using Microsoft.DirectX; using Microsoft.DirectX.Direct3D; using Direct3D = Microsoft.DirectX.Direct3D; using System.Runtime.InteropServices; using Evo2006; namespace Evo2006 { pu ...Show All
RenRen Graphics Engine Design
I am looking for material on designing a graphics engine. The main purpose of the engine will be tech demo development and function as shader playground. To start with I have some ideas about decoupling materials and shaders. I would like to have the flexibility that an object can have multiple materials. One part could be a diffuse surface with phong illumination, another part of the same object could be a bump mapped rusty surface w ...Show All
Pawel H April DirectX SDK 2006?
Hello Everyone, Is it possible if anyone could tell me when will the DirectX SDK for April be available please Thank You The correct answer is, of course, April... Thats why its called the April SDK.... Microsoft never announce in advance which day it will hit download you just have to be patient. Over the last 2 days the April DirectX Runtimes have been released to the Microsoft Downloads S ...Show All
Marc Cauchy How can I learn working with DirectX?
Hello, How can I learn working with DirectX in C#. Knows somebody articels about beginning with DirectX DIII thks ...Show All
Amarjeet HOW TO: Dividing World into how many Objects?
Let's say you're building an FPS and a series of obstacles on a terrain. Objects: a. Building A b. Building B c. Building C etc... z. Terrain (Landscape) You're building those 3D objects in Max or other tool. There needs to be collision detection between the SHOOTER and those objects. Will you load: a. ONE .X file with ALL objects b. ALL buildings as an object, Terrain as another c. EVERY object alone What's the best practice, perf wise, etc.. ...Show All
wave702 When I compile a DirectX SDK sample project I get an error message
When I compile a DirectX SDK sample project I get an error message: Compiling... dxstdafx.cpp d:\wutemp\wutemp\tmp\emptyproject\common\dxstdafx.h(43) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory Build log was saved at "file://d:\WUTemp\WUTemp\tmp\EmptyProject\Debug\BuildLog.htm" EmptyProject - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== I down ...Show All
jtowler Setting a color mulitplier for a device
I have a number of objects which are aranged in a tree structure in a child parent relationship. When a parent renders, it sets the transformations, that it uses and then renders its children, which in turn sets their transformations by multiplying on the current world transform. That is pretty basic and pretty standard. Now I would like for children to "inherit" and modify the parents color as well. If a parent has the RGBA c ...Show All
Alexander Gehres Pic Box with multiple vector objects
I am trying to create a game where you can set several pieces together on a canvas, draw lines between them, and have the objects passs data. (Much like the pipeline games in cell phones) All I need at the moment is to have 2 bitmaps present on a canvas (pic box panel form, who cares. ) and be able to target them separatly and move them about the screen with drag function, and have a snap point on each image to draw a line between the two. ...Show All
zoe1324 Directx 9.0C issues , cant play games anymore.......
I had a missing system DLL file in my Directx 9.0 C . I tried reinstalling 9.0C but I kept getting the same error over and over , missing system DLL file. So I decided to check with colleagues and on the Internet and Microsoft and found out that I needed to first REINSTALL the original directx 8.1 drivers from my Windows XP Home Edition cd.........but 1 needed file ( d3d8.dll) was not there which i really needed for my UNINSTALL/REINSTALL TOOL ! ...Show All
peterhal Microsoft.DirectX.Direct3D.NotAvailableException why?
Hi all, I get a: Microsoft.DirectX.Direct3D.NotAvailableException from the following line of code: device = new Device (0, DeviceType .Hardware, this , CreateFlags .SoftwareVertexProcessing, presentParams); I guessing that its because the HW video is saying it isn't available or is not compatible with DX9 Am i doing something fundamentally wrong or is this the case Cheers very much for your time Felix Also try ...Show All
