Software Development Network Logo
  • Visual Studio
  • Visual FoxPro
  • IE Development
  • Audio and Video
  • Microsoft ISV
  • Visual Basic
  • VS Team System
  • Game Technologies
  • Visual C#
  • Windows Forms
  • Smart Devicet
  • SQL Server
  • .NET Development
  • SharePoint Products
  • Windows Vista

Software Development Network >> Game Technologies

Game Technologies

New Question

How to convert Right coordinate matrix to Left hand coordinate matrix
XNA Localization
VC# Problem!!
levels
Rants on XNA 1.0
Code works on one machine but not on another
XNA Screen Resolution Problems
first impressions
The values used in the attempt to create the GraphicsDevice were invalid.
F14 XNA Game with Full Source

Top Answerers

Chris Fraelic
Titu
omp4u
DavidW57
Jimmy.Lin
Jack Wheeler
Tej62007
LamptonWorm
Augusten
&#59;lkj&#59;lk
UK
Only Title

Answer Questions

  • Ro0ke MultiSampling

    PresentParameters presentParams = new PresentParameters(); presentParams.Windowed = true; device = new Microsoft.DirectX.Direct3D.Device                      (0,                     Microsoft.DirectX.Direct3D.DeviceType.Hardware, this,                     CreateFlags.SoftwareVertexProcessing, presentParams); this is how I create device.... How to enable Multi sampling With this line : presentParams.MultiSample = MultiSampleType.TwoSamples; constructor of device is throwing InvalidCallException........ HELP ...Show All

  • blah569 Model class vb woes

    Is there anyway to specify creation parameters for vertex buffers that are created by ContentManager.Load<Model>, i.e.: I want to be able to read back from those buffers. I suspect (from 20 mins of googling and reading bits and bobs) that there is not. Just wanted to double check. If not, does anyone know if there is a good reason why not Cheers, and thanks, Ste Is this likely to change in the future Currently, the default Model class always uses readonly vertex and index buffers. The only way around that is to make your own model type, or store the vertex data somewhere else rather than trying to read it back from the D3D buffers. I don't know what you ...Show All

  • Lee Whitney Question regarding making landscape in 2D

    My question is rather simple. I have a texture and a landscape map to apply it to. It is possible to make a rectangular sprite in XNA, but is it possible to cut a part from it Here's an example for better understanding of what I'm aiming for: http://img335.imageshack.us/img335/9972/examplent7.jpg The only way I can think of is to make a different texture for every sprite, changing its shape every time. But that really it not the easiest and smartest way... As it requires a Rectangle, you still wouldn't be able to produce a non-rectangular shape as you would like. Alright... now I finally understand what exactly you are doing and why. You're creating a landscape ...Show All

  • sticky How in XNA Game Studio Express correctly to include a full-screen mode?

    How in XNA Game Studio Express correctly to include a full-screen mode I write a code: graphics.PreferredBackBufferWidth = 1024; graphics.PreferredBackBufferHeight = 768; graphics.PreferMultiSampling = false ; graphics.ToggleFullScreen(); Then I draw on the screen 2D the sprite and I move it on the screen. During the moment of moving of the sprite on the screen, he brakes and twitches, such impression that copying of the sprite occurs on without usage Z-buffer. How correctly to customize in project XNA Game Studio Express using class Game1 a full-screen mode In DirectX earlier, it was so: D3DDISPLAYMODE Display; if( FAILED( pd3d9->GetAdapterDisplay ...Show All

  • Philipp Lamp Beta 2 sneak peak

    The XNA guys did a demo of the beta 2 bits at Code Camp Seattle today. See my notes here http://www.thezbuffer.com/articles/424.aspx Please honour my request not to ask follow up questions here until the beta releases - I wrote everything that was public so its unlikely that anyone will be able to answer any of your questions until then. See also pictures of the demo code: http://www.thezbuffer.com/articles/426.aspx http://www.thezbuffer.com/articles/427.aspx I just added links to pictures of the demo (mostly code) to my 1st post in this thread. Please honour my request not to ask follow up questions here until the beta releases - I wrote everything that was public so its unlikely that anyone will be able to an ...Show All

  • JoshKorn ContentLoadException

    Hello, loving XNA so far. But when I try to use this: Model model; ContentManager contentManager = new ContentManager(GameServices); model = contentManager.Load<Model>("boing.swm"); Code I get the ContentLoadException which states it cannot find the file speficied in the file, which is located in the project. So I am trying to figure out what is causing this exception. Any help would be much appreciated. Check dates Dude I see what you mean. I don't think that would fix the problem though. I'm almost tempted to submit a bug report and see what they say. I'm wondering what is causing this exception though. ...Show All

  • blabus 3D presentation

    Hi guys, I really want to waw my client and write a window display for a real estate shop using C# and managed DirectX 3D. It will be a presentation running accross 4 screens. I have a basic amount of experience working with meshes and textures, etc (I made a 3D space shooter around a year ago). But, I'm lacking ideas really of how to present pictures and info about apartments and houses... Could anybody possibly inspire me Thanks! Well, the origional request was a boring powerpoint style presentation, but as soon as I mentioned 3D they kinda perked up a little... Besides, I think powerpoint window displays dont really get noticed these days as its not different. Where, ...Show All

  • TaYeB DirectX10 only on Vista?

    I've searched everywhere but all I can find is rumors, rumors and even more rumors. Will the final version of directX 10 run on windows XP Not true there is infact a Direct X 10 in development but it will probbly be a third party software the card that suports the DX3d10 is the Nvidia 9800GTX the first of many ATI is also comeing out with a DX10 driver for XP the first test on the game "Crysis" were done on the Nvidia 7900 witch was modifyed to perform the DirectX3d10 prodicall the drivers will be out for release in late 2007 with the lunch of the new cards i cant remember the site thats doing the third party stuff but when i do i'll update my post ...Show All

  • Bradrover 2 or 1 more day(s) depending where u are

    So who else is excited that we're finally gonna get it soon Woohhooo!!! Installing C# right now so I don't have to do that tomorrow. Me too! I've been waiting for this in weeks! I do hope that they would bundle a good tutorial with it! I've had C# Express installed for months. I've started working on some game object classes already. Just waiting for notification that it's up. The MS servers are going to be hammered! Less then 24 hours to go. I'll be on waiting to download depending on when they actually open it up. ...Show All

  • Walter Zorn Drawing a simple image

    Does anyone know how to draw an image at the location of the mouse Is this considered a sprite I have little knowledge about how this image should be drawn but I know how to make sure that it is in the correct position of the mouse. Any help appreciated. Thanks. What would be some ways of doing this I haven't an idea of how to get a sprite to display or even what a textured quad is. You could do it with a sprite, which may be more appropriate, you can also do it with a textured quad. Actually I just found what I was looking for. Here it is: You go to XNA Game studio express then click Help and How Do I Then click XNA ...Show All

  • Robert Green ID3D10Counter usage

    I'm trying to test Counters, with some problems. Here is a code snippet: const int nCounters = 5; const D3D10_COUNTER type[ nCounters ] = { D3D10_COUNTER_GPU_IDLE, D3D10_COUNTER_VERTEX_PROCESSING, D3D10_COUNTER_GEOMETRY_PROCESSING, D3D10_COUNTER_PIXEL_PROCESSING, D3D10_COUNTER_OTHER_GPU_PROCESSING }; int Value[ nCounters ]; ID3D10Counter *Counter[ nCounters ]; for ( int i=0;i< nCounters ;i++) { D3D10_COUNTER_DESC d = { type[ i ], 0 }; HRESULT h = pDevice->CreateCounter( &d, &(Counter[ i ]) ); if (FAILED(h)) throw i; } The counter creation failed when the third counter is created (I tried permutations) with the following error: First-chance exception at 0x767edde0 in ezDXUT2console.exe: Microsoft C++ ex ...Show All

  • pratyusha kothi XNA doomed?

    XNA may be the greatest thing since sliced bread, but I don't see it getting a lot of support until you make a simple web page that explains what features the XNA framework supports and why I would want to use it. I'm not going to download the thing just to figure out what it is. I also find this thread to be a little silly. I compare your statement to someone coming along and looking at a can of Coca-Cola and saying, "This product will certainly fail, it doesn't give a good idea on the can of what it tastes like." If you really are the type of person who needs to know what something tastes like before you try it, then you should sit back and let the early adopters enjoy the flavor of a new ex ...Show All

  • Aamer DX10 and XNA

    Hi. Are there any future plans for the XNA framework be upgraded to support DX10 features and retain compatibility with Xbox I read how radical the new API will be and it will not be backwardly compatible with DX9. Although Vista can still run DX9 games, it will be slower as it will be via a software layer. since DX10 will also need new graphics hardware too, that suggest to me that XNA may not ever access DX10 functionality. Unless a new Xbox is on the horizon. The focus on the XNA framework right now is on cross-platform compatability. Some time in the future, there will be support for Direct3D 10, but we haven't announced anything yet. The only software layer that Direct3D 9 on Vista uses i ...Show All

  • jaegd Setting Anisotropy level....

    Just need to check if I am doing this right. I want to set the Anisotropy levels. //initialize Anisotropy settings private void InitAnisotropy() { if (device.GraphicsDeviceCapabilities.TextureFilterCapabilities.SupportsMinifyAnisotropic) { device.SamplerStates[0].MinFilter = TextureFilter.Anisotropic; } else if (device.GraphicsDeviceCapabilities.TextureFilterCapabilities.SupportsMinifyLinear) { device.SamplerStates[0].MinFilter = TextureFilter.Linear; } if (device.GraphicsDeviceCapabilities.TextureFilterCapabilities.SupportsMagnifyAnisotropic) { device.SamplerStates[0].MagFilter = TextureFilter.Anisotropic; } else ...Show All

  • BalexH Adjusting the Gamma Ramp

    Hi, I'm currently wondering how to set the gamma ramps with XNA. This is a function I wrote to do it: Protected Sub SetGamma( ByVal red As Single , ByVal green As Single , ByVal blue As Single ) ' Get graphics device. Dim graphicsDevice As GraphicsDevice = graphics.GraphicsDevice ' Get gamma ramp from device. Dim gammaRamp As GammaRamp = graphicsDevice.GetGammaRamp(0) ' Adjust values of RPG components. Dim redValues As Short () = gammaRamp.GetRed() Dim greenValues As Short () = gammaRamp.GetGreen() Dim blueValues As Short () = gammaRamp.GetBlue() For index As Integer = Byte .MinValue To Byte .MaxValue redValues(index) *= red greenValues(index) ...Show All

585960616263646566676869707172737475

©2008 Software Development Network

powered by phorum