Tutorials

This page contains links to tutorials or instructions.

How Do I Get 3D Models From Blender In To XNA?
Start here: http://blog.diabolicalgame.co.uk/2011/07/before-animating-with-blender.html
Then read: http://blog.diabolicalgame.co.uk/2011/07/exporting-animated-models-from-blender.html
Ask here: http://forums.create.msdn.com/forums/p/83172/503163.aspx#503163
or here: http://forums.create.msdn.com/forums/p/68149/416081.aspx#416081



How Do I Start Using Blender To Create 3D Models?
http://xna-uk.net/blogs/randomchaos/archive/2011/05/23/blender-2-57b-amp-xna-4-0-part-i.aspx
http://xna-uk.net/blogs/randomchaos/archive/2011/05/26/blender-2-57b-amp-xna-4-0-part-ii.aspx
http://xna-uk.net/blogs/randomchaos/archive/2011/05/26/blender-2-57b-amp-xna-4-0-part-iii.aspx



How Do I Weight Paint A Model In Blender?
http://blenderartists.org/forum/showthread.php?205812-Skinning-Weight-Painting-with-Blender-2.5
or
http://eklq.net/skinning-weight-painting-in-blender-2-5/?utm_source=twitterfeed&utm_medium=facebook&utm_campaign=Feed%3A+Eklectique+%28Eklectique%29


What Is Weight Painting And Why Do I Need It?
When you animate a model with bones you need some way to tell the model which vertices to deform depending on which bones you move.  That is known as adding a weight to a bone.  Many 3D modelling programmes allow you to paint those weights on to the vertices as an alternative to manually adding each vertex and the weight to a bone group.

How Do I Animate In Blender?
For XNA it is likely that all you need is to edit Actions and add keyframes however you need a brief understanding of the workflow to avoid some confusion.  See Non-Linear Animation (NLA): http://aligorith.blogspot.com/2010/10/clarifying-animation-workflow-in.html
There are also some things you must do before animating to ensure that your animations can be exported:  http://blog.diabolicalgame.co.uk/2011/07/before-animating-with-blender.html

Tip To Find An Orphan Edge In Blender:
That's an edge that does not form part of any face:
http://blog.diabolicalgame.co.uk/2011/07/vertex-information-missing.html


How Do You UV Unwrap In Blender?
My choice of settings to create the UV map for my models:
http://blog.diabolicalgame.co.uk/2011/10/uv-unwrap-in-blender.html


How Do I Bake In Ambient Occlusion Using Blender?
This is the 3D shadow effect to make corners look darker.  It is used by artists to make drawings and models look nicer:
http://blog.diabolicalgame.co.uk/2011/10/ambient-occlusion-baked-in.html


What Do The Parameters Of DrawIndexedPrimitives Mean?
http://msdn.microsoft.com/en-us/library/microsoft.xna.framework.graphics.graphicsdevice.drawindexedprimitives.aspx
Now please explain the meanings?
http://tomsdxfaq.blogspot.com/2002_05_01_tomsdxfaq_archive.html#77028718
http://www.gamedev.net/topic/428516-solveddrawindexedprimitives-parameters/
And what happens if the vertex index is outside the range of the vertex buffer?
I struggled to find an official answer but the following are the closest I found:
http://www.opengl.org/registry/specs/ARB/draw_elements_base_vertex.txt
http://msdn.microsoft.com/en-us/library/bb174369.aspx
The response to my question on this was that it is 'Undefined' in DX9 but defined in DX10:
http://forums.create.msdn.com/forums/p/83842/505405.aspx


How Do I Blend Between Animations With The XNA Skinning Sample?
You have to write some more code but here is a fourm post with some: http://forums.create.msdn.com/forums/p/81435/491878.aspx#491878



How Do I Learn to Programme Windows Phone 7?
See this free e-Book: http://charlespetzold.com/phone/index.html