Answer Questions
zobrakster LNK2001: Unresolve External Symbol i have been following sams teach yourself game programming
Hi I have been following "Sams Teach Yourself Game Programming In 24 Hrs" and have hit an error on creating the GameEngine I get a LNK2001 error below is my log: --------------------Configuration: GameEngine - Win32 Debug-------------------- Begining build with project "D:\Program Files\DevStudio\MyProjects\GameEngine\GameEngine.dsp", at root. Active configuration is Win32 (x86) Application (based on Win32 (x86) Application) ...Show All
KennyKls MDX, where do I put the symbol files?
Sorry for the newbie question, but where do I put the Symbol files I am using April 2006 release, VS2003, MDX, x86. Thank you. Its not a bug, its a feature! He he. Yeah, I crancked everything up and I still get a simple errors, nothing as nice as .NET has made me accustomed to. Oh well. Thank you for your input. I just hoped that the Symbol files would point me to the errors within the MDX files. Ok, thanks. The best way to g ...Show All
Cesar Francisco How to use the ClipPlanes Class?
I try to use ClipPlanes to Clip a region for device.But Always fail.Who can tell me how to use ClipPlanes,ClipPlane, Device.ClipPlanes,Device.ClipStatus . Here's some code from a sample I have. Send me an email of you want the full project ( zman@thezbuffer.com ). I have this code right before I call Draw() ClipPlane plane0 = dev.ClipPlanes[2] as ClipPlane; plane0.Enabled = true ; plane0.SetSingleArray( new float []{0.1f ...Show All
mihai.manole77 DirectX
Everytime I try to start the Sims 2 a message comes up saying: "Failed to find any Directx 9.0c compatible graphics adapters in this system! Please make sure you have a Directx 9.0c compatible graphics adapter and have installed the latest drivers provided by the manufacturer. The application will now terminate." I have installed the latest Directx and Directx 9.0c, how do I fix this Please reply ...Show All
Lori D. Pearce size of video ram
I use the GetCaps(..) function to receive the video ram size (dwVidMemTotal). This works fine so far. But how can I ask for the video ram size if I have more then one graphic card installed, and want to know the available ram size for each card You can use Manager.GetDeviceCaps“ to query the device caps for every adapter in your system. To get the number of adapters you can check Manager.Adapters.Count“ ...Show All
2005User Can't Run Any Programs On Others Machine
What I am running: DirectX 9.0c & C# I am trying to run the compiled version of ( http://www.c-unit.com/tutorials/mdirectx/ t=38 ) this tutor on another machine. These tutorials only work in October Version of DirectX I believe. What I downloaded: ---Microsoft .NET Framework Version 1.1 Redistributable Package http://www.microsoft.com/downloads/details.aspx FamilyId=262D25E3-F589-4842-8157-034D1E7CF3A3&displaylang=en --- ...Show All
signy Direct3D Initialization
I am trying to initialize Direct3D using this code: Imports microsoft.DirectX Imports Microsoft.DirectX.Direct3D Public Class Form1 Private dev As Microsoft.DirectX.Direct3D.Device = Nothing Private Function Init3d() As Boolean Try Dim pparams As New PresentParameters & ...Show All
Alexander Dragon Problem with lights
I've created a model with 3ds max 5 and I've exported to .x fileformat. I used Manged DirectX to load the file and render it, but all the materials are rendered in white color. Here is the C# code I use to load the meses, the method I use to load is called LoadMesh and the one which renders them is called DrawObject. Can somebody help me thanks: /* Author: Eduardo Fonseca B. * Create on: 23.October 2005 * <comments> ...Show All
blabla21 Mixing DirectX and windows forms
I am working on an application that requires directx for drawing but also has quite a bit of GUI (it's similar to a game). Due to the amount of GUI involved I want to use windows forms and controls with a panel that a directx device renders to. I also need the app to be fullscreen. I have managed to make a fullscreen form that contains windows controls (doing little more than creating a fullscreen device). I have also managed to make a window ...Show All
Kfironit Flexible Vertex Formats
Having my octree problem solved, now I'm taking the next step. Until now I'm using simple cubes for testing, but now I want to read .X files with more complex meshes. I'm already loading the mesh and rendering it successfuly, but I need to determine it's bounding box. To do that, I need to access the vertex buffer. I know that the vertex buffer may be in many diferent formats, so I have to check the D3DVERTEXBUFFER_DESC.FVF flags parameter. My p ...Show All
John Hunter Managed Direct3D Device Serialization
Are there any known issues with respect to serialization of a Direct3D Device object in C# Are there any known issues with working with a Direct3D Device Remotely (i.e. using proxy objects especially in the context of passing the device across multiple Application Domains) I've recently came across the following error: Serialization will not deserialize delegates to non-public methods. Server stack trace: at System.DelegateSerial ...Show All
Mihir Mehta Managed Directx Deployment Problem
I am making a game using visual studio .net 2003 with directx 9 2005 update. I create a deployment project with visual studio that includes all directx.dll files and other detected dependancies. I deploy the game to the computer on which it was developed and it works fine. Now I want to test the networking so I deploy it to a laptop. The laptop is running windows xp with SP 2 (so .net framework is there obviously) I ...Show All
Inbar Gazit - MSFT download sdk
where can i download the directX sdk I've looked all over the Microsoft site and all i can find are updates. This is really fusterating thanks. I'm new to game dev. ok, thanks In order to simplify things, you can always visit http://msdn.com/directx/sdk and it will point you to the most-recent SDK. In the future, you should use the full-qualified URL like Daniel used, as ...Show All
PradeepSattikar 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
n_sateesh Question about project setup...
I'm using visual c++ and DirectX9. First thing is that when I installed the dx sdk it didn't give me a project wizard for directx so I'm left using samples :( I want to create a mdi project that uses directx9 in a child window. Does anyone have a blank project or this or does anyone know how to or where to find to set up the project environment settings to successfully use a directx program. If I create my own windows project ...Show All
