Software Development Network Logo
  • Windows Live
  • Visual C#
  • Visual J#
  • Visual FoxPro
  • .NET Development
  • Windows Vista
  • Microsoft ISV
  • Smart Device
  • VS Team System
  • SQL Server
  • Visual Basic
  • Visual Studio
  • Visual C++
  • VS Express Editions
  • Game Technologies

Software Development Network >> Game Technologies

Game Technologies

New Question

Directx 9.0 with C# 2005 Express
in managed directx, Materials are black if I create more than one mesh
HLSL pixel shader: possible to not set output color?
What differences are they between emptyproject and emptyproject_2005?
Re-using LPDIRECT3DSURFACE9 as LPDIRECT3DTEXTURE9
Need UV Atlas help
Managed DirectX, C# & and large textures
How to scroll a 2D background
Shader versions and efficiency on same shader code
anxiety -- 2 question about Sample-Framework

Top Answerers

t.Gnewuch
Rodrigo Diaz
M. Lohmeijer
Starsearch
BradWest
JuanKi
ElectroniX
MarkErickson
jgmeyer
coyly
CJR Daily
Only Title

Answer Questions

  • drgonjo Let the user input before do remaining process

    I would like to create a function that do some process, and then wait and let the user to click something on the screen. After the user click something, the function do the remain process. How to do it e.g. public void func() { . . . do something . . . // Wait the user to click . . . do remain things . . . } Thank you We need a *lot* more information before we can give you a good answer to this Given the ...Show All

  • clark121121 Pick-Through Multiple Selection

    Hi! I'm developing a 3D scene arrangement tool in C# and I want to implement a feature for users where you can select objects behind other objects. I've searched the web for examples on how to get all of the meshes gathered from a pick ray (instead of only the nearest) but I haven't found any references on how to get or store that information. Are there any resources for this that I might have missed If not, may I get some advice or (bless ...Show All

  • Mark Chad Seting Boundaries

    What is the best way to set boundaries in a flight simulation type application in a 3D enviorment Can you explain more what you mean, its not clear to me what you want. seting boundaries so players can only go so far in the world hope this helps you understand Well since you know the x,y,z position of your player you can check that against suitable bounds. e ...Show All

  • MikeCB1975 Problem installing Directx 9.0c Failed due to cabinet file

    So it installed everything and then after downloading the runtime components and is ready to install it says: a cabinet file necessary for installation cannot be trusted.  What in the world does that mean and how can I fix it   I would really appreciate your help thanx. Administrator priveleges are granted as part of the "User Accounts" tool in your Windows control panel. I can't remember the exact steps, and I'm not using X ...Show All

  • DanaDBA Problem with setting Mouse Position with SendInput()

    Hi, I have an OpenGL Application and want to use the mouse for a Free-Flight Camera. The mouse should not be restricted to the Monitor boundaries... I get the mouse-position with WM_MOUSEMOVE and stuff. Because of the requirement of no boundaries i have to use a different system of saving my Mouse Position. I want to save an absolute position of the mouse x and y. To calculate the x and y I want to get a relative mouse movement each frame. ...Show All

  • Aamir Asset Relationship Management

    Hi, I am quite interested in the functionality that the ARM API can provide and think that it will be very useful to us and I would like to do an evaluation of it. Are there any samples or tutorials online or in the March 2006 CTP that explain how to use the API Cheers Ashley Davis Lead Programmer Kuju Entertainment I have examined the use of the ARM API in MechCommander2 and was able to get my own C# sample applicatio ...Show All

  • Yolip Game Networking

    What is the best option for doing networking with managed directx Is directplay a good option I have since then changed my Domain, have a look at the following link for the Networking information that I have collected. http://blogs.virtualrealm.com.au/mykre/2006/02/27/NetworkingResourcesAndReplacingDirectPlay.aspx We no longer recommend using DirectPlay and instead to either build your application's network layer on top of ...Show All

  • John Rice 3d Mesh background with sprites on top

    Ok, so i'm a complete noob to Directx. But the basic idea is to create a background ( I am assuming at this point a mesh with texture mapping) that is zoomable and scrollable (no need to rotate, although that may be added in the future) with simple 2d objects on top of the background ( right now I was planning on using sprites) I am using directX 9 and programmingin c#. Right now the problem is the sprites and the map are bei ...Show All

  • Sushanta How can I get a part of Device's final rendering Image to save as like Bitmap?

    How can I get a part of Device's final rendering Image to save as like Bitmap Exsample,if Device's final rendering Image is 800*600 pixel.But I only want the 300*200 pixel In the center And save it as a Bitmap. thank you!! Hi, check the code and the comments, it should explain how to do it: // Get the back buffer (content that the device will show when you call present) IDirect3DSurface9* backBuffer = renderDevice->G ...Show All

  • synkro frequency spectrum analyzer

    Hi, I want to sample an audio file and show it on a graph. so, I need to sample the frequencies between 20Hz and 15Khz. How do I do that with DirectX I just need to know how to sample a file, the methods/functions. (without hearing it,just open in on the memory and read it's content to chart like waveform) thx very much. I'm no audio guy, but I think what you need to do is perform a Fourier Transform on the so ...Show All

  • Ricardo_AG Problem with texconv and dxtx

    I've written a VB program that creates textures and uses texconv.exe or dxtx.exe to convert from bitmaps to .dds format. It works fine on my main computer. But both utilities fail on my old computer, giving a DirectX error message.   When I try to run dxtx the error message says: "Could not initialize Direct3D. Please ensure that this program was compiled with header files matching the installed version of DirectX."   This is mos ...Show All

  • Chrutil need help with code from a book

    Hi guys I have the Beginning 3D Game Programming book by Tom Miller In chapter 4 page 62, he says to put code in the OnCreateDevice method in listing 4.2 adding this code causes the program to crash, with the error being Failed to create Direct3D device public void OnCreateDevice(object sender, DeviceEventArgs e) { SurfaceDescription desc = e.BackBufferDescription; ExtendedMaterial[] mtrls; levelMesh = Mesh.FromFi ...Show All

  • Devon Kyle dxops.exe and numMips parameter

    Hi, Im running the dxops tool  (DirectX October SDK) to create cubic texture maps and have found the the "numMips" parameter is completely ignored and texture maps are always created using 9 levels.  You can pass the parameter anything and dxops won't throw an error so Im figuring this may be a bug.  Anyone else had this problem Cheers, L OK, if anyone is interested the problem here is the documentation.  The ...Show All

  • RosarioCappello Create Displacement from Normal Map

    This is a general graphics question. I was wondering if anyone knew a way to create a displacement map from a normal map. Any and all help would be appreciated. Thanks, Charlie In general, that can't be done, because the specific displacement is not part of the normal (the normal is normalized). You can do a crappy job by starting in one corner, and walking scanline by scanline, adding or subtracting a delta based on what the normal is d ...Show All

  • AntonioP Tree shadow

    Hi, I need to draw tree shadow on any object (my terrain has hilliness, and there are also other objects). My trees are made by rectangles with textures (cross-trees). I saw that the best technique is projective texture. Can somebody tell me where can I find a code sample Jack Hoxley wrote: "Projective Texture" - more generally referred to as "Shadow Mapping" ... Actuall ...Show All

525354555657585960616263646566676869

©2008 Software Development Network

powered by phorum