Answer Questions
EZ1976 Model Exporting From Maya (.fbx)
I have a question and concern regarding the .fbx model exporting from Maya. Problem: Whenever I load a model into my game that has been exported using the latest .fbx exporter plugin from Maya the model is arranged such that some of the pieces of the model are lined up along its x axis. I did some research on the .fbx file format and found out that while it was designed to be an open document 3D model format, it has been grossly revised by just about all modeling programs which have edited it to suit. Which is why you can't export a model in Maya and then import it into Max and expect it to be the same. My question is this, being that the .fbx file format is flaky at best; what make and version of the .fbx exporter/importer is XNA designed ...Show All
Trevbang Game.Tick
Rather than using Game.Run, I need to manually handle the game loop. Sort of like this equivalent scenario using winforms: someForm.Show(); while(someForm.Created) { //Insert rendering stuff here Application.DoEvents(); } So, how would I use Game.Tick() to accomplish the same thing I see that there's a Game.IsActive property, but it returns false when I try the following: while(myGame.IsActive) { //Insert rendering stuff here myGame.Tick(); } This of course exits immediately. I assume I need to get the game active before calling Tick; can I do that without Game.Run() Exactly, if you create your graphics engine using the gamecomponent model (and the gameservices for allowing access to it from oth ...Show All
RyanB88 Procedural Generation of Vertex Data
How will the XNA Framework deal with the advanced features of the XBOX 360 architecture For example, any CPU core has the ability to take high order data and generate very complex procedural objects on the fly. This amazing feature requires one of the processors two threads to operate in "Data Generation Mode" and "Write Streaming Mode" so that it can move the (potentially massive amounts) vertex data from a CPU to the GPU through the L2 cache without causing cache contention amongst the remaining threads. I know whats available in terms of threading support in the .NET Framework but can we take it one step further Thanks Paul It is an ...Show All
Amit Vasu Particles
Hi, Tried creating a basic 3d particle system without success. I don't want to use point sprites (never mind why), and I couldn't get the Matrix.Createbillboard() to work for me. The particles changed angle as I changed the camera angle. Never mind what I did... If anyone can drop a few lines of code of how they accomplish the particle update and rendering I'd be grateful. Thanks, Check out the Mercury Particle System project . Already seen it... it's 2D not 3D. I have another question on the subject. It would seem that the reason my code doesn't work using the (CreateBillboard() method), is that I supply the method with the wrong camera position. Now, how my camera currently works is so... This is my camera update method whic ...Show All
jackli_0112 Managed Direct3D 10
Since XNA only supports DirectX 9.0 Where is Managed Direct3D 10 I hope there will be Managed wrapper for Direct3D 10 thanks Yes, it's beginning to appear as though it's "every man for himself", where MDX is concerned. This really seems weird to me, that such a huge, significant part of Windows is being side stepped in .NET. Well, I think it is pretty clear that MS takes MDX seriously. They are moving game developement toward MDX using XNA. Eventually MDX will become the main focus. Even though they didn't say it out loud, they are doing it. It is just that they have to focus on DX10 right now. If they can't make a good DX10, w ...Show All
Tryston02 How to only draw visible meshes? Performance problems.
Ok, I have a simple mesh loaded that contains 24 faces. I have a loop that draws 144 of these boxes on-screen like so: for (int i = -(mapwidth / 2); i < (mapwidth/2); i++) { for (int j = -(mapheight/2); j < (mapheight/2); j++) { modelPosition = new Vector3((i * 10.0f)+5.0f, 0.0f, (j * 10.0f)); DrawModel(myModel); } } I noticed that if I have only one model in view (the camera is zoomed way in) or I show the entire grid of objects the time elapsed between frames does not change. The time elapsed between frames does change if I increase or decrease the number of objects drawn though. This leads me to believe that the framework is drawing every object whether or not it is visible. ...Show All
Pavel Burianek Animation - Final Question
I have a model with multiple animations in one x file, I really want to animate the bleeding thing. Now, I will hold my hands up and say that I am not a good enough game developer to produce my own animation classes ... is there going to be an example of how to do this in the near future from the XNA team Cant wait for the final xna release ... The XNA team has said that they will not provide an animation system, so the functionality of MDX AnimationRootFrame and friends will be gone from XNA 1.0. They do, however, import the animation data into the content processing framework. I think what's going to happen is that some number of people will create working animation components that you need to add ...Show All
sparecycles need help with the xna express program
I was wondering how do you make games and such because I cant find any help (that helps) and I nevered programed befor and Im doing this so I can learn about programing games and such. Im 15 and only got the program to see what do I need to learn befor I get into collage if I do and just for the fun of it and that I want to work for a pprograming company like microsoft or bungie when I grow up. Umm thanks if I dont get confussed on what your talking about :) Sounds like you want to read this thread . You'll need to learn C# first. Also, you'll want to suck up as much math and physics classes as you can (and every other class as well ). There's a lot of tutorials around for using XNA, as well as some within the help. ...Show All
J Noble VB.NET Support
Hi, Will XNA Express be supporting VB.NET as well as C# development If so, how far off is it Thanks Hi, this was a "when (roughly) will I be able to download a vb extension" question, not a pro/ anti comment. My question still stands... are we looking at a month from now or should I bother learning c# I have no interest in what other people program in, there is no need for being rude. It's already been stated that additional language support will be offered in the future. In order to get it out the door in a reasonable amount of time, only one language could be supported and C# was chosen. Stating the obvious, the whole point of the .Net framework is that any managed class li ...Show All
luckyjason XBox 360 Controller + Windows 2003 Server?
Hi, My day development job means I have Windows 2003 Server as my primary development machine. I have XNA, DX and all that working fine, Space Wars works great. I've not got an XBox 360 yet (saving up for Christmas / whenever XNA gets released so I can get my hobby games on the XBox) - but was going to buy a XBox 360 Wired Controller for now. I know there is no *official* support for such devices on the Windows 2003 box - but has anyone got the wired XBox 360 controller working on their Win2k3 box and nicely accessible by XNA Thanks, Paul Thanks loads Derek! Thats a shame. I was hoping that it might not even need a driver, that you'ld just plug it in and it would appear (may be after some fiddling) in ...Show All
Rups11 DrawableGameComponent ContentManager Member ?
I was happy to see a GraphicsDevice member in the DrawableGameComponent class. This saves me from getting it through the GameServiceManager, but mostly GameComponents which can draw itself should also be able to load it's graphic contents. I think it would be a good Idea to make the game's Contentmanager also a DrawableGameComponent member like the GraphicsDevice. Made already a feature request for that: https://connect.microsoft.com/feedback/ViewFeedback.aspx FeedbackID=244332&SiteID=226 How do you think abaout that ContentManager is a very lightweight class, so creating an instance per component is not a bad thing. Where it would be useful to share an instance is if you have a lot of content that i ...Show All
KarlPick Is it realistic to create one's own engine?
I'm not new to programming, but I'm new to game programming and C#. I'm wondering to what extent it's realistic for someone to make their own 3D (or for that matter 2D) game engine. The two projects I have in mind for myself are a turn-based 2D war/strategy game, and a 3D adventure game in the manner of "Dreamfall". On the 2D side, I feel confident I could come up with a 2D interface on my own. I haven't done a lot here yet, but I did manage to whip up a little 2D hockey game without peeking at Bill Reiss's excellent 3D airhockey tutorial at http://xna101.spaces.live.com/ . I've even given my computer hockey opponent a very primitive AI. OK, my collision detection and physics aren't great, but I'm not sure how much I'll need either of ...Show All
Paxos Commercial Game Development like Age of Empires or Rise of Nations!
Dear reader, Thank you for your interest in this thread. I am a software developer and own a meduim sized company but I basically concentrate on Application Programming and Web Development on .Net framework. My knowledge regarding Game Development is limited. But I now have been given the opportunity to develop a game on the above lines for the Windows OS. And this chance could be a really good one for my firm. I wanted to know if a commercial game on the lines of Age of Empires can be fully developed using Directx Sdk. Is this possible By what we read about XNA Express and future XNA Professional the code written on Directx SDK can be migrated to XNA. Obviously XNA Express will not allow a developer to develop a commercial ...Show All
walking fish how to display text mesh without lights.
hi im into development of a cad system using vb.net and managed directx. and i use the vertex format - positioncolored now i have display text and im using mesh.textfromfont. after having creating the mesh object. i am not able to display it. i am just using tmesh.drawsubset(0) inside the begin.....end scene block..... i cant use lights coz all my other vertices use position colored vertex format....plz help......i moreover dont find any things to determine the x,y,z of the mesh.......how do i place it if i was able to draw it on screen. ------------------------------------------------------------- well sorry now i found that the text mesh does appear but the problem is that its too small.....even if i give more font si ...Show All
Ben Wang Please help!!!! - How to create a event.DirectAudioPlayback
Hello.I have a really BIG problem.I have tried to create a event in my application. I use DirectX.AudioPlayback to play mp3 files but I wan't to now when the file is finished.....to play the next one.But how.I use VC# 2005.Please help me. ps: backmusic = new audio(file); I have tried with: private void backmusic_Ending(object sender,EventHandler e) { MessageBox.Show("The file has finished"); } PS: Sorry for the gramatical mistakes.I don't know very good english.THANKS ...Show All
