Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Whats the best way to export from Blender 2.59 for XNA 4? I have heard you can use the DirectX to export to .x instead of .fbx which works better with animations?

Unfortunately all the tutorials out there are a bit dated and go on about the quirks with older versions..

share|improve this question
    
it would be amazing can answer! Bcoz am good Blender, and I want to switch to XNA world! –  Observer Sep 27 '11 at 18:41
1  
Yeah that's the problem with the www and badly managed documentation for long-running apps such as Blender. There are a million sources, of which 99.9% are old, so it's ludicrously hard to find the most current stuff. –  Nick Wiggill Oct 3 '11 at 9:02
    
I assumed you tried this? wiki.blender.org/index.php/Extensions:2.4/Py/Scripts/Export/… –  Jonathan Dickinson Oct 5 '11 at 15:55
    
Are you looking to use .x instead of .fbx, or are you fine with either? –  ChrisC Oct 5 '11 at 22:48
    
im fine with either –  markmnl Oct 6 '11 at 6:20
show 1 more comment

2 Answers 2

up vote 4 down vote accepted
+100

Since you're open to using .fbx, you may want to check out this sorta recent article on MSDN to skin your model, add bones to it, and export the animations to XNA 4. It actually summarizes this Codeproject article but it's still up-to-date with the newer Blender 2.5 interface. However there's a gotcha because of a difference of exporting in 2.59 as shown from a comment in the CodeProject article -

The latest Blenders FBX export does not have the "XNA Export", as this is newly included in 2.59 (Simply export to FBX, and click "XNA Strict" in the list on the left when choosing file-name)

In other words, you want to use the XNA Strict Options setting on the options list.

share|improve this answer
add comment

I just found a way to export .x files in Blender 2.59 (It doesn't seem to show up):

Open the python console by right clicking on the bottom border of the 3D view and selecting split areas. Set the new area to the python console in the tool bar at the bottom.

Type

import io_export_directx_x

then

io_export_directx_x.register()

and then the option seems to appear in the export menu under file. I don't know if it works though (you can export the file but I don't know if its actually a valid x file), there's probably a reason why you have to manually load it.

Hope it helps!

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.