Answer Questions
John Barton Help please: GraphicsDevice in a form
I'm new to C# and Windows coding, and I'm working through some books, but I wanted to jump ahead a bit and do something interesting, have a SplitContainer panel do something using the XNA graphics engine, even just clearing to cornflower blue or something like that. I looked around to see how to do something like this, and found a few partial examples, so I tried to piece together something that would work. I tried, and I keep getting a DeviceNotSupportedException when I tried to create a new graphicsDevice. I can do the XNA tutorials, so I have to believe my graphics adapter is capable of this, but I'm doing something wrong. Thanks in advance. Here is what I have: using System; using System.Collections.Generic; using System.ComponentModel ...Show All
CraigT Video/Animation Playback
Hi, I'm currently writing a library (for XNA/DirectX) for animation/soundless video playback, and I have a few design questions for the pros out there if you don't mind answering them : I'm having my animation class inherit from game component, and update the frame depending on game time in the overriden Update method, and render it in the overidden Draw method, but even when I preload my textures to render, playback is choppy. Not sure exactly why, but I notice this only when I have significant number of frames (I noticed it with 100 frames, but *not* with 10/15). This problem may be linked and solved by the 2nd point, so please read on. When I preload all the textures for the frames in the animation (and the no. of frames ...Show All
KjeZ Vista Compatibility
Looking for any hints on when a Vista version will be released. (Note that I'm in the middle of installing the same version as everyone else is right now, but the web site says it won't be out for a bit). I really don't want to put a third OS on my system just so I can run xna express. (I've already got Vista Ultimate 32 and 64 bit on here - starting to get crowded) Dan Dan Lingman wrote: Looking for any hints on when a Vista version will be released. You're not going to find any. Dan Lingman wrote: (Note that I'm in the middle of installing the same version as everyone else is right now, but the web site says it won't be out for a bit). I really don't want to ...Show All
jsad923f I am new in this programing language and would like to seek help
I am new in this programing language and would like to seek help...... I want to build an online game compatable to all users of the internet can anyone help me with a test game I am in major help! spydude777 wrote: I want to build an online game compatable to all users of the internet... Mac and *nix users as well You're probably in the wrong place. If you want to start using XNA, Google "XNA tutorials". They're all over the place. Also read the FAQ on the XNA home page. In the XNA FAQ there should be something to the effect of: Q: I am new to programming and would like to make the next Doom 3/World of Warcraft/etc. A: Start with Pong or perhaps Frogger. :) That would be my advice. If you're new ...Show All
newjdevil Cannot connect to the auditioning server?
When I first tried to use XACT a few weeks ago it worked like charm. Then for no apparent reason I cannot make the GUI to connect to the XACT auditioning tool And now I can't play the sound files I create. I get a time out error message. Any ideas what's wrong Are you running a IIS on that system There's a known issue when connecting to Windows AudConsole if you are running IIS. -Brian No - it seems the built-in firewall is causing the problem. ...Show All
narukrish DirectShow
Hey I can be wrong, but there isn't a directshow in the latest directX for C#! My question is Why I am writing a program where there are several forms that are fed by a data server with various data... floats, strings, audio and video and I was panning to use direcctShow!!! But found out that it wasn't available... Can anybody tell me a work around this problem I would really appreciate the help... Take care ... The direct show system was removed from the sdk a while back and was moved to the platform SDK. Here is the Forum group for direct show on this site, you can still ask your questions there and get help on it, but you will have to use one of the managed wrappers for the syst ...Show All
Chimme DirectX Integration With MSVS2005
Hello, I Did Downloaded The Latest Version Of DirectX SDK, When I Did Installed It, It Doesn't Integrate With MSVS2005 But Only With MSVS2003. Why It is compatible you just have to manually reference the assemblies and dlls in your project, or use pre exsting projects to use their refences. Managed Direct X 1.1 works with .Net 2.0 How Can I Do This Please Tell Me. So Their Is No Version Of DirectX Compatible With .net Frame Work 2 But Only With VS2003 DirectX integration isn't in VS2005. With the exception of shader debugging, everything you need is still accessible. If you're looking for starter projects, look in the DirectX Sample Browser. ...Show All
Shyam Amrawat The documentation needs seperation between PC and XBox 360
I'm trying really hard to enjoy XNA. It seems like a clean break from native programming. I enjoy the innovation that MS gave, but maybe its just their docs that are just annoying right now. I read the docs and when I try to follow something on the Windows development side, it goes right into the XBox code and doesn't give me the source code I need for Windows. I thought I was reading a Windows section too, or sometimes hoping that I am. I wish Microsoft could seperate the differences because right now its just "oh and while you're doing reading about what relates to Windows development here, take a look at the XBox code below." All I can say right now is the documentation needs some seperating. I'm do PC development and I have n ...Show All
Stéphane Beauchemin Computing tangents on a skinned mesh
Hi all, I'm trying to find a way to compute tangents on a skinned mesh, but I'm out of ideas. I've used D3DXComputeTangentFrameEx() to successfully compute tangents on static meshes, but this won't work on a skinned mesh, as the function splits vertices as needed to generate the tangents. This causes skinning-related problems later on, in my particular case it causes ConvertToIndexedBlendedMesh() to fail, since the new mesh with tangents no longer matches the skinInfo. The output window specifically says: D3DX: ID3DXSkinInfo::ConvertToIndexedBlendedMesh: The input mesh, pMesh, does not have the same number of vertices as the skin info class So then, how exactly does one go about computing tangents on a skinned mesh I know its po ...Show All
Sven Erik Deciding where to land the main window when it's constructed
I have two monitors, one 19" CRT (main) at the right, and a 26" LCD at its left. So far, the XNA examples (the packaged one and some from people) have a tendency of making this window lie on both monitors. There's about 100 pixels laying on my left screen and the rest in the right screen. This makes it the program run VERY choppily, until I move the window fully into only one monitor. Also, while I'm accomplishing this moving task, the mouse cursor refreshes in windows about once per second, increasing the difficulty of that small task. I've tried doing: graphics.GraphicsDevice.Viewport.X = 10; graphics.GraphicsDevice.Viewport.Y = 10; but it doesn't appear as if I can. I'm not sure what a sing ...Show All
arikve Rants on XNA 1.0
This is my first reaction when I installed and tried the 1.0 of XNA. To summarize my feeling: it's still 95% for XBox and no nearer to replace the old MDX 1.0. So I decided not to migrate from MDX to XNA though I want to do that very much. I feel like MDX 2 more; amen to MDX 2. The hardest issue for me is the content pipeline, which is very necessary, but the workflow is fixed and it assumes the contents are only built before the program runs. The helper functions wrapping D3DX can only be used with types in the content pipeline. I have to utilize the full content pipeline just for generating something dynamically, of course with significant performance cost. Or I have to write those D3DX utilities my self. Currently I don't have a good id ...Show All
Aniruddh Mulit Core programming
Hello, I would like to know how to make a multi threaded application using XNA Framework Is it possible to set Draw method on a thread and the Update method on another And how to do it thanks in advance Here's the link to the connetc request https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=229046&SiteID=226 in case others want to vote (the link only works if you are already loggd into connect) vrh3 - you should keep your request to a single item so that MS can deal with each one separalty. Thanks for your answer, but i know already how to make a multi threaded application. I read that XNA Framework will allow us to use every core of the Xbox 360 Processor ...Show All
Sarosh79 Designing C# & XNA games
Hi I'm currently learning C# from a couple of books with the sole aim of being able to use XNA. I have just a couple of questions: At the moment I focusing on console (DOS like),OOPs, and so on. With XNA, is there any point in learning Windows Forms programming Also, I found that understanding & following game code is one thing but being able to design a game (or any program) is another thing entirely. It's hard to code without some higher level plan or visual aid. Are there any techniques or affordable software available that game designers use in the design process. I've heard of things which might be applicable, such as :- Psuedocode, UML process diagrams, he ...Show All
jeffmorris incorporating c# 2d drawing into the xna template
I recently found the following link that describes how to make 2D primitives in C#: tutorial I would love to be able to use this in my XNA game, but the above example uses a Graphics object that it gets from the PainEventArgs of the form. However, the XNA template uses a GraphicsDeviceManager. Is there any way I could get the Graphics object of the xna game window so that I could draw the things in that tutorial Ok, thanks. It was worth a try anyway. Why not just do it this way . That just seems like much more work than is necessary. I've already looked at several threads here that talk about and gives examples of drawing 2D primitives using that technique. If I could just get a Graphics class, it would be far easier ...Show All
pyeung Here we go!!
http://www.microsoft.com/downloads/details.aspx familyid=21e979e3-b8ae-4ea6-8e65-393ea7684d6c&displaylang=en Just.. wow Downloading.. Thanks to everybody who brought us this d-d-d-d-downloading... I'd be so stoked if I was the first person in Australia to use XNA Hey, regarding the "supported operating system" it only lists windows xp sp2 I have xna running successfully on windows server 2003 R2, It will install and run on windows server 2003R2!!!! You don't need to change the compatibility mode server 2003 is enough the same as windows xp xna will run!! just start the windows installer service... to ms, you should add windows server 2003 R2 t ...Show All
