No longer updated: new and updated blog (including old content) at

Archive for, please update your bookmarks

Blender versus trueSpace, creating models for XNA

Posted by Roy Triesscheijn on Thursday 25 September, 2008

Update: the source code is now available here

Lately I’ve been more and more curious about the 3D aspects of games. Although I Haven’t even completed a 2D game yet, or made a cool tech demo. 3D really draws me in, and you can do such cool tricks in 3D, especially now the Vertex and Pixel shaders are fully programmable on both the PC and Xbox360.

One of the main drawbacks of creating 3D games is the insane amount of models you need for a game. Anyone can just load pain.exe and create some sprites, but creating models is allot more difficult and time consuming. I’ve never ever before attempted to create a 3D model using Blender, trueSpace or any other programme. (Ok I’ve played a bit with UnrealEditor1/2.5/3 but that’s more level design than 3D modelling).

I’ve installed both Blender 2.5.2 ( ) and trueSpace7.6 ( ) (both the newest versions).

Blender pro’s

  • Free
  • Large community (meaning much tutorials and unprofessional support)
  • Loads of options to do things
  • Large set of primitives to work with from start
  • Exports to .x and .fbx (fbx is the way to go as it is human readable)

Blender cons

  • Bit uncontrollable Camera
  • Very difficult UI (which changes all the time)
  • Viewports and renders not always the same.
  • Inconsistencies in rendering and viewports

trueSpace pro’s

  • Free
  • Excellent Camera control (after reading up on it a bit)
  • Excellent manual (1500 pages with allot of pictures)
  • Professional Video Tutorials (only recently made free)
  • .x exporter specifically rewritten for XNA
  • Professional Helpdesk

trueSpace cons

  • Small community
  • Only exports to .x (although this was specifically rewritten for XNA)
  • Non-standard UI (poor right-mouse-button support, no dropdown menu’s)
  • Library default doesn’t show to many standard meshes (only cube and sphere)

To test both products I created my own simple shader, it only does two things: translating the object to WorldViewProjection space (3D space) texturing it with 1 texture.

The shader used was written in HLSL and listed here below (don’t worry if you don’t understand it, it’s not relevant for the rest of this article.)

//Simple shader for showing and texturing 3D models
//Writen by R.A. Triesscheijn, 25-09-2008 (DD/MM/YYYY)
//Released under the MIT License (Free for any use)

//WorldViewProj = worldMatrix * viewMatrix * projectionMatrix
float4x4 WorldViewProj : WORLDVIEWPROJ;  //set by XNA
texture texX;					//set by XNA
sampler sampX = sampler_state
{ texture = <texX>; magfilter = LINEAR; minfilter=LINEAR; mipfilter = LINEAR; AddressU = mirror; AddressV = mirror;};

struct VS_INPUT
    float4 inPos    :   POSITION0;
    float2 tex      :   TEXCOORD0;

struct VS_OUTPUT
    float4 Pos      :   POSITION0;
    float2 Tex      :   TEXCOORD0;

//Simple VertexShader just transforms to 3D
void VS(VS_INPUT In, out VS_OUTPUT Out)
    Out.Pos = mul(In.inPos,  WorldViewProj );
    Out.Tex = In.tex;

//Simple PixelShader just samples the texture
//And draws the correct colour.
float4 PS(VS_OUTPUT In) : COLOR0
    return tex2D(sampX, In.Tex);

technique Technique1
    pass Pass1
        VertexShader = compile vs_2_0 VS();
        PixelShader = compile ps_2_0 PS();

The code I used for the camera and actual drawing in XNA are maybe even more trivial than this shader code so I will only highlight the way how you have to set your own effect on the Model.

foreach (ModelMesh mesh in model.Meshes)
    foreach (ModelMeshPart meshPart in mesh.MeshParts)
        meshPart.Effect = effect.Clone(device);

Where the effect file was created by saving the shader code in MyEffect.fx, adding it to the project, and then loading it using: Effect effect = Content.Load<Effect>(“BasicFX”);.
However ofcourse this isnt a tutorial on how to draw object, but on how Blender and trueSpace compare for XNA. So I did the following test in both programmes.

  • Create a textured cube in Blender or trueSpace
  • Load it into XNA
  • Set my own effect on the model as show above
  • Rendering the model using the following settings
effect.CurrentTechnique = basicFX.Techniques["Technique1"];
effect.Parameters["WorldViewProj"].SetValue(Matrix.Identity * camera.viewMatrix * camera.projectionMatrix);

First one’s up is blender:


After installing blender I found a large viewport and allot of option tabs. I heard from many people that Blender’s UI is terrible but actually at first I thought it wasn’t so bad. Createing a cube wasn’t hard at all either. I just followed the menu options: Add->Mesh->Cube. And *woosh* there was my first cube. It was still untextured so I was looking for a texture to drag onto it or a panel that said something like material. This was the part where the UI got in the way of me and modelling, I just couldn’t find it! After searching on the internet I finally found the panel “Shading” doesn’t really sounded like adding a texture/material, but ok. In the shading pannel I found one button accompanied by the text: “Links and pipeline”, “Link to object”. The button read “Add new”. Well I would’ve never figured this out rationally so I just pressed add new, and yay there it was a new panel opened called material, I pressed the button “Add texture” and nothing happended but the word “Tex” appeared in a list. I tried clicking it, right clicking it and allot more, untill I returned to the tutorial. Apparently the texture was now added but to set it I had to go to a totally different panel that visually didn’t have a link with this “Tex” at all.

After going to a new appeared pannel called “MaterialSettings” (which wasn’t there before I added a Texture) I could finally load an image and the Cube was textured, well I couldn’t see that in the viewport (not even in the Textured view) but when I pressed render it showed nicely.

After that came the exporting to .fbx which was easy (Export->.fbx->save) however the lack of a proper filebrowser is a bit unhandy (its really ugly console like) but not a dealbreaker. The adding to XNA was easy (just as every content import).

I loaded the model into a Model using the ContentManager Content. First I used the standard BasicEffect to draw the Cube, everything was fine, textures and all. However then I tried setting my own effect and drawing the cube with a different texture. Nothing showed…. After playing a bit with my pixelshader and letting it output full white (return float4(1,1,1,1)) I saw a white cube, so the shader was working properly, but the Model was good as well because it id show using the BasicEffect???

After some Google-ing I found out that a totally different approach is needed to texturing in Blender if you want it to be usable in XNA, you can find a tutorial here: (read the comments when using Blender246+ because they changed the UI back then, moving the Face Mode to a button in the Edit Mode).

After completing this tutorial I could see the texture in the viewport of Blender, however when I tried rendering it in Blender this time the texture didn’t show. So this was about the opposite effect as the first technique, very strange behaviour, but somehow the correct way if you want to use it in XNA. Because this time the model worked perfectly in XNA. Of course I don’t really find this user-friendly.


So maybe trueSpace does a better job. However at first I wasn’t even able to start it under Windows Vista 32bit. After manually setting trueSpace to run as admin it finally worked. The workspace I entered when starting trueSpace was totally different from Blender. There is a big library on the right where you can add objects too. One of the objects already there was a cube, I dragged and dropped it to the viewport and it instantly got added, with a texture on it. Because of the problems in Blender I wanted to add a texture myself so I dragged a texture from the library on to the model, and TADA, it also rendered correctly in trueSpace whether I rendered to file or just looked in the viewport. The model also instantly worked in XNA. I also want to highlight trueSpace’s camera system where in Blender the target was a bit hard to keep in view, in trueSpace the camera is controlled by holding the mouse over one of several different ‘icons’ in the lower right corner of the viewport, this gave very precise movement which for me felt more comfortable than Blender’s approach.


In the event of making a very simple model, only looking at the difference in length of text will give you a straight answer: In trueSpace it’s much easier to create very simple geometry and instantly have it rendering correctly in XNA. After this small example I tried some tutorials and created some pretty cool stuff (a snowman with scenery in Blender and a spaceship in trueSpace) although this showed that Blender is a very powerful modelling programme, it didn’t quite beat trueSpace, after a good introduction trueSpace’s UI is much more accessible than Blender’s one. Where in Blender everything I wanted to accomplish I had to look up in a tutorial, in trueSpace it came more natural to me how to do things. You don’t have to switch modes constantly to select something different, in Blender you have to switch modes to, for example go to face select mode. First you go to edit mode, then enable face mode and then you can select a face. In trueSpace you just click your selection button, hold it and select “face select.” Those small things make trueSpace allot less complex, your not losing buttons, not seeing an entirely different interface when you just want to select something else.

However I do have to note that I haven’t tested trueSpace’s and Blender’s animation facilities, but from what I have read this might be a point where Blender excels. Also I don’t know if the trueSpace simplism and real time rendering will affect you when trying to create very complex models. But for starters I would definitely recommend trueSpace. Blender isn’t bad when used with XNA, and allot of people who know allot more of modelling and game programming use Blender, but in my eyes there are just to much sharp edges on Blender for a beginner to use it. And when your main goal is creating a fun game, and not creating stunning models trueSpace will just show allot more progress in the same time.
kick it on


16 Responses to “Blender versus trueSpace, creating models for XNA”

  1. jim said

    I have used Truespace and Blender for years. I like working in Blender because the tool in Blender are better. “Have you tried to UV unwrap a model in TrueSpace???”” try it Please”” Then fallow a Blender UV unwrapping tutorial. Yes the interface takes time; Yes the interface is nonstandard but once you learn the interface and once you learn how to use Blender I’ll understand why it’s the main open source 3d modeling, animation, and rendering tool.
    If you need help just email me at

  2. Hey jim,

    I know Blender has allot of potential but that wasn’t the purpose of this article. Blender is just less accessible so for programmers it might be better to just use trueSpace, create a model quickly and then let real artist create high poly models.

    🙂 but I will try the uv-unwrap, and if it works out I’ll post a new article telling about that.

  3. lee said

    using any modeling program usually means hours of learning the user interface then trying to figure out where to go from there.

    blender isn’t user-friendly at all, and truespace gets frustrating after while too. don’t let the pretty buttons fool you. i wish there were some other alternatives as well, ie for commercial release that is. 😉

    i mainly wanted to post to see if anyone has done animations in either program and what the results were.

    i would like to see your article go deeper in depth on this subject tho. possibly covering animation, effects, shaders and how they do in xna, the more – the better.

    btw- spellcheck would help when actually publishing the article 🙂 good luck 😉

  4. Hey Lee,

    Thanks for commenting. Unfortunately being able to use model animations in XNA requires you to make your own content processor, thats quite allot of work I haven’t gotten around to yet. If I get around to it, I’ll make sure to make a new article. (Check the RSS to stay updated).

    As for the spellcheck, it all ran trough Word2003’s Spellcheck, thought it was all ok. 🙂 As you might have noticed I’m not a native English speaker so that makes it a bit more difficult. I’ll try to check my articles better.

    Btw wat spelling errors did you find?

  5. lee said

    “Btw ‘wat’ spelling errors did you find?” :O lol

    well if not native to english you did really well then, it wasn’t that bad,anyway. although ‘what’ does have a ‘h’ in it, here in the south (US) that don’t matter anyway! 😉

    the article is good and of a good subject matter, and that’s what matters. getting models in any engine, animated, and making them functional has always been a major hurdle in game creation.

    between the pricing, licensing, and steep learning curve that 3d modeling programs have, it’s amazing we have any games at all.

    i’m thinking of delving into blender for now, possibly mixing it up with truespace until i can see where xsi mod tool goes later on. i see where garagegames might be including xsi mod tool pro in their next release. it’s not free but it may be reasonable, we’ll just have to wait and see.

    you’ll find online help and articles on getting animations going with xna game studio express2 now. but the xsi mod tool is supposed to load straight into game studio express with the release of game studio 3. not sure about details exactly yet. but with xna game studio premium membership, one is supposed to have access to garagegames’ engine and mix that with xsi’s mod tool and loosen some of the licensing restrictions and it’d be on then. 🙂

    wow, sorry for the long reply. gl to u and later 😉

  6. Well I heard blender 2.5 is going to have a new interface, I’m very curious about it! Meanwhile I’ve been looking at Houdini, which unfortunately is far from free ($1500) but looks very very prommissing!

    Haha, and don’t worry I like long replies, that means we have things to think about.

  7. Hatchet said

    hello im a true space user, 6.6 , 7.6 is slightly different from 6.6 and is actuly harder to use, if you can get your hands on true space 6.6 its even more user friendly, but after using truspace for almost 3 years now it HAS ALOT OF BUGS , no doubt. but if you can get your hands on Maya (think thats how its spelled) youll be good in about anything you wanna do. but back to my point
    for true space if you plan on animating or even rigging a character you definatly wanna get a hold of a Application called Motion Studio, with a tutorial or 2 you can have characters moving like they wood in real life. if you understand the basics already though. umm what else did i want to say.. oh very nice article… i dont i forgot what else i wanted to say

  8. Hatchet,

    Hey thanks for your reply, I’d love to get a hold on Maya unfortunately the only free version is the Personal Learning Edition, which can’t export to any (usefull) format for use with XNA (or any other 3D app for that matter). I do love Maya though!

    Currently I mostly use Blender though, you should check my most recent article series on I think it is titled ‘Creating Animated Textured Models for XNA: part2 trueSpace’ at which goes more in depth about trueSpace7.6 and was created when I understood trueSpace allot better than a few months ago when this article was written. (Part 1 was about Blender if you where wondering).

    Good Luck!

  9. moonshadow said


    Very good article, I liked it. personally I really like Blender, although I never used trueSpace; I’ll give it a shot later today if I can manage. Blender does take a bit getting used to, but once you learn how things work under the hood, you understand why everything is so far apart, it’s part of the “blender philosophy” to store textures separate from the materials to allow multiple use of them. One thing I’m really missing though is a Processor for Blender Models so I can use them and their animations in XNA (Does anyone know where I can find one?)

    This blog is going on my Bookmark list.


  10. Chance Heintz said

    I have downloaded truespace 7.6 and for some reason cant get the skeleton to build inside the skin any help with this would be awesome.I have the manul and am doing everythinng it says but obviously iam missing something.Any suggestions would help :)thanks

  11. Thierry said

    If you’re pro, you don’t care that if TrueSpace stop beeing free when it has got a more comfortable market share you’ll have to pay for it the M$ way : if it’s really useful to you, you’ll just pay ! However, if you’re not professionnal you might have to stop using it or go for cracked version : better to invest in a learning a tool that will be forever available to you and that you can even tweak for your specific needs !

  12. Update in 2011 to an old post:

    Truespace’s support has continued to fall. After using both recently again, I conclude the Blender has won out the match. The UI has been simplified to some extent, camera control is excellent and customizable, and basically every complain above has been addressed.

    Truespace cannot really handle complicated models without an absurd computer (like something with an Opteron CPU or something similarly massive). So it *can*, but not so well as Blender.

  13. harry said

    Blender is definitely better that true space.

    • I personally use truespace 5 and 3.2 for modeling for 3d printing.
      I have played with blender a little but the modeling is not as easy as truespace.
      It really depends upon what the use is as to which program to use.
      for rendering for video etc I would say that blender is clearly the better choice.
      If what you want is simply the geometry Truespace is great for quick modelmaking.
      I use sculptris (alpha) and truespace and get very fast results.

  14. Xenovore said

    Just found this and wanted to throw in my 0.02, even though it’s an old thread.

    I’ve long been of the opinion that it doesn’t matter what features and power an application has, if the the UI is nonintuitive and hard to work with. Blender’s UI definitely falls into the nonintuitive/hard-to-work-with category, and really just plain sucks compared to TrueSpace’s UI.

    TrueSpace is really good, IMO. It’s easy to work with and actually exports to COLLADA in additon to .X. It also can import COLLADA and .OBJ. When I first tried out TrueSpace, I was able to get more done in 30 minutes (without any tutorial) than I ever could in hours of trying to deal with Blender (WITH a tutorial). I’ve got the Torque 3D game engine, and I’ve been able to crank out decent static models and import them into the engine in minutes. Yeah, there are some minor missing features in the Workspace side, but those are still in the Modelview side, so it’s no big deal.

    Regarding performance/compatibility: I’m running a fairly old Core 2 Duo 6750 with Geforce 8800 GTS on Windows 7 and I’ve never seen any slowdowns, even with fairly complex scenes. It has crashed a few times, but not any hard crashes; it’s still given the option to recover and save the current scene.

    The sad thing, however, is that Microsoft has completely killed off support for it, so yeah, if you need support, stick with Blender. That said, there is still a decent amount of support for TrueSpace on the ‘net; do a search for “truespace 7.6”.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: