XNA Creators Club Online
Page 1 of 1 (22 items)
Sort Posts: Previous Next

Microsoft's Models

Last post 25/07/2008 22:10 by David Hunt. 21 replies.
  • 03/05/2007 17:45

    Microsoft's Models

    There are tons of questions about how to get models from whatever 3D modeler into XNA, and all of the replies (that I've read) are "hack this, edit that, but unfortunately your textures still won't work" etc...

    Can someone tell us how Microsoft gets their models in? Tiny.x from the DirectX SDK and dude.fbx from the XNA Skinning Sample are great examples of what I think a lot of us would like to be able to do (textured properly, animated with bones) so we know it's possible, but can't seem to get right. I could understand if DirectX left everyone out in the cold and said "Write you own import and export code for your own proprietary formats" but XNA is pushing its content pipeline (which is either almost very cool, or I don't understand it well enough yet) and then not telling us how they themselves use it.

    There's lots of modeling tutorials and coding tutorials, it would be nice to have that one "in between" tutorial.

  • 03/05/2007 18:13 In reply to

    Re: Microsoft's Models

  • 03/05/2007 19:09 In reply to

    Re: Microsoft's Models

    Answer
    Reply Quote
    I don't know how Tiny was built - that's from way before my time :-)

    The dude in the skinning sample was modelled, textured, skinned, and animated entirely in Maya if I remember right. We exported him using the latest version of the FBX exporter plugin from Autodesk (not the one that ships built in to Maya, beacuse that was quite old, so we downloaded the latest release instead), and that was that: we didn't have to do any manual editing or hacking around after the export.
    XNA Framework Developer - blog - homepage
  • 04/05/2007 7:31 In reply to

    Re: Microsoft's Models

    Very cool and much appreciated! Thank you!
  • 04/05/2007 22:00 In reply to

    Re: Microsoft's Models

    What about the texture locations, I have found that with Max and the locations of textures inside the fbx file I had to manually edit the locations. I have forwarded this onto Autodesk to see if the product can have an option added to change the paths to a new location reletive to the model.
  • 05/05/2007 21:57 In reply to

    Re: Microsoft's Models

    Glenn Wilson:
    What about the texture locations, I have found that with Max and the locations of textures inside the fbx file I had to manually edit the locations. I have forwarded this onto Autodesk to see if the product can have an option added to change the paths to a new location reletive to the model.

    Use the free Panda .x exporter for Max.  It allows you to output your models with relative texture paths.

    http://www.andytather.co.uk/Panda/directxmax.aspx

    --
    Gamer Outfit - XNA News and Reviews
    Maker of Exisled - Helicopter 2d/3d Shooter available now!
  • 06/05/2007 23:33 In reply to

    Re: Microsoft's Models

    Nod I can agree on that, but having the ability in the one application would make it easier, and produce less hastles.
  • 07/05/2007 4:24 In reply to

    Re: Microsoft's Models

    the latest .fbx exporter from Autodesk for Maya allows you to export in ascii format. If you export in ascii, the file is human-readable and you can huntdown the texture path and change it yourself.
    Torrent Raiders, a bit torrent visualization game.
  • 07/05/2007 19:15 In reply to

    Re: Microsoft's Models

    Most of the formats have been readable, but having the ability to remove the need to manually edit the file would be better. It would reduce the risk.

     

  • 08/05/2007 20:28 In reply to

    Re: Microsoft's Models

    That's why I like simple blender with python and open scripts clearly readable and editable.
  • 09/05/2007 21:03 In reply to

    Re: Microsoft's Models

    Scripts are fine and dandy and at the end of the day, working on a commercial project, most likely the way to go. The point of this thread was that XNA (which is great! don't take this as bashing) is being touted as a way for "hobbyists" to get into the scene, but writing scripts to import and export models is still a pretty steep learning curve.

    Going from creating a colored triangle and importing a model snagged from the SpaceWar starter kit to exporting and animating a skinned mesh is a huge jump. Someone somewhere at Microsoft knows how to successfully export a model from some program; learning how to do this the way those who created XNA had in mind will be the least likely to be broken in future releases, and is probably the simplest way as well. Then, once you've got the basics down, you can choose whether you just want to do something cool or go for deeper understanding of a particular aspect of the process.

  • 10/05/2007 6:06 In reply to

    Re: Microsoft's Models

    I have to say that I agree, 3d content creation (and importing) is very tricky.

    I have plumped for blender, and I have gradually got together a process for making models, texturing them and exporting them, but it has been tricky.

    (very very simple models, no bones, single mesh)

    Although the information is out there on how to do stuff, it is very dispersed. If someone started an XNA-Blender site, that had end to end examples and documented the odd little nuances, I could see the combination quickly becoming very attractive to newer developers. 

    Good luck with your modelling!

    J

    In playtest Flite
  • 10/05/2007 16:15 In reply to

    Re: Microsoft's Models

    What gets me is this: Ok, all you hobbyists who just got a free compiler and free framework, now it's time to shell out a grand on a modelling package so you can write your hobbyist games. I don't think so. I don't have that kind of money to spend on a hobby. Convincing my wife I needed a new computer was bad enough. ;)

    What we need is a workable way to get models from something other than the Big Two packages into XNA without hacks. I don't know if that's Microsoft's job or the community's, but it would be nice if Microsoft added support for some of the hobbyist-level packages.

     

  • 10/05/2007 16:22 In reply to

    Re: Microsoft's Models

    The lack of a modelling package is not Microsoft's fault, really.  They do not make a 3D asset utility, otherwise we'd get Microsoft Model Maker Express Edition, or something similar.  I find the content pipeline to work fine with Wings 3D, which is free, cross platform, and quite a few years old.  Milkshape and Blender are an option as well, and they are either low cost or free.  DeleD is another modeller, that has a free version or a $100 pro-version, and it is good for making static geometry like buildings.  Several example importers exist for DeleD, and I think writing one for XNA would not be too difficult (it's on my todo list).
  • 10/05/2007 16:28 In reply to

    Re: Microsoft's Models

    I wasn't suggesting that Microsoft provide a modelling package, just import support. Given the problems people have had getting decent .X or .FBX exporters for the hobbyist packages to work with XNA without hacking, manual editing, etc., it just seems that more direct support for one or more of those formats would be a good thing.

    I'm afraid I'm pulling this thread off-topic, so I'll let you respond if you wish and leave it at that.

     

  • 13/09/2007 0:24 In reply to
    • (0)
    • premium membership
    • Posts 7

    Re: Microsoft's Models

    Carrara from Daz3d.com is still a good buy with all of it's fbx export problems (no fbx animations but it does export x file animations that worked with the skinned animation sample).  FragMotion is great for 25 bucks, but only your static models, I think you could work around with the mirror skelton transforms in FragMotion and get it's animations to work with xna.  Ultimate 3d is a great convertor, but major memory hog.  None of these guys fbx files worked correctly with the skinned model sample.  When I imported dude (X file version converted by Ultimate3d), half of his skelton was in reverse that's why I think FragMotion has the functionility but I haven't had the time to figure it out.

  • 13/09/2007 1:08 In reply to

    Re: Microsoft's Models

    First, if you have 3ds Max, then I recommend the kW X-port plug-in, as it supports shaders, texture re-naming and re-basing, and a few other neat things, as well as slicing the Max time-line into multiple named sub-animations with separate time scales.

    Second, if you can't afford Max, then I can recommend the following tools:

    Blender -- Free, but needs hacks. It's open source, so you can fix it, though.
    DeleD -- Inexpensive (or even Free), and doesn't need hacks. Doesn't do animation, though, just static models.
    Milkshape -- Inexpensive, but needs hacks.
    gameSpace -- Inexpensive, doesn't need hacks.
    trueSpace -- a little more expensive (around $500 IIRC), but a full-featured tool

    Then, there is also the XNA partner -- the XSI mod tool for XNA! It sounds almost like exactly what you're asking for, brought to you through action by the XNA team.

    You young'uns don't know how good you have it. Back in my day, I had to work the early shift for two years to buy a home computer with three kilobytes of RAM! That's when we had electricity, that is, which wasn't often, considering all the snow we had to walk through on our way to school, uphill, ........


    Jon Watte, Direct3D MVP
    Tweets, occasionally
    kW X-port 3ds Max .X exporter
    kW Animation source code
  • 13/09/2007 11:33 In reply to

    Re: Microsoft's Models

    jwatte:
    ...considering all the snow we had to walk through on our way to school, uphill, ........

    ... both ways. ;)

     

  • 24/07/2008 15:36 In reply to

    Re: Microsoft's Models

    Mateusz Kierepka
    Chief Information Officer in IGLOO & IGLOONET
  • 25/07/2008 21:36 In reply to
    • (484)
    • premium membership
    • Posts 145

    Re: Microsoft's Models

    I'm curious to know what hacks you are talking about regarding Blender.  I've been using Blender for my 3D modeling for several months now, and I'm not having any problems.
  • 25/07/2008 21:55 In reply to

    Re: Microsoft's Models

    David Hunt:
    What gets me is this: Ok, all you hobbyists who just got a free compiler and free framework, now it's time to shell out a grand on a modelling package so you can write your hobbyist games. I don't think so. I don't have that kind of money to spend on a hobby. Convincing my wife I needed a new computer was bad enough. ;)
    Be a 2D hobbyist? ;)
  • 25/07/2008 22:10 In reply to

    Re: Microsoft's Models

    BShields:
    David Hunt:
    What gets me is this: Ok, all you hobbyists who just got a free compiler and free framework, now it's time to shell out a grand on a modelling package so you can write your hobbyist games. I don't think so. I don't have that kind of money to spend on a hobby. Convincing my wife I needed a new computer was bad enough. ;)
    Be a 2D hobbyist? ;)

    I am. I'm too old to start mucking with 3D! ;-)

Page 1 of 1 (22 items) Previous Next