Blender: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 9: Line 9:
The only plug-in that can export [[reference mesh|reference]], [[collision mesh|collision]] and [[skeletal animation|animation]] SMDs is Dvondrake's.
The only plug-in that can export [[reference mesh|reference]], [[collision mesh|collision]] and [[skeletal animation|animation]] SMDs is Dvondrake's.


<div style="margin:0.4em auto 0.5em;padding:.5em;text-align:center;max-width:40em;background:#AEEF59;border:1px solid #8BC53F;-moz-border-radius:.5em;-webkit-border-radius:.5em;border-radius:.5em;"><strong style="font-size:1.2em;">[http://dvondrake.com/scripts/blendersmd Download Dvondrake's SMD exporter for Blender 248.1 (2.48a) or later]</strong>
<div style="margin:0.4em auto 0.5em;padding:.5em;text-align:center;max-width:40em;background:#AEEF59;border:1px solid #8BC53F;-moz-border-radius:.5em;-webkit-border-radius:.5em;border-radius:.5em;"><strong style="font-size:1.2em;">[http://dvondrake.com/scripts/blendersmd Download Dvondrake's SMD exporter for Blender 248.1 (2.48a) to 249.2 (2.49b)]</strong>
<div style="font-size:.9em;">[http://www.facepunch.com/showthread.php?t=734991 Support thread @ Facepunch] - [http://www.moddb.com/downloads/dvondrake-smd-blender ModDB download mirror]</div></div>
<div style="font-size:.9em;">[http://www.facepunch.com/showthread.php?t=734991 Support thread @ Facepunch] - [http://www.moddb.com/downloads/dvondrake-smd-blender ModDB download mirror]</div></div>



Revision as of 18:37, 31 July 2010

Blender in action.

(icon) Blender (download) is a free and open source 3D modeling package that can be used to create models for Source.

SMD exporters

Note.pngNote:The latest version of Blender (2.53 Beta as of July 31, 2010) is not compatible with any SMD importer or exporter listed here.

The only plug-in that can export reference, collision and animation SMDs is Dvondrake's.

Download Dvondrake's SMD exporter for Blender 248.1 (2.48a) to 249.2 (2.49b)

Installation

Blender's interface can be customised to your tastes.
Note.pngNote:Before you can use any Blender plug-in your system must have the appropriate Python runtime. Blender will tell you which version it needs when it starts up.

Extract the .py script files of your chosen plug-in to:

Vista
%userprofile%\AppData\Roaming\Blender Foundation\Blender\.blender\scripts\
C:\ProgramData\Blender Foundation\Blender\.blender\scripts\
XP
%userprofile%\Application Data\Blender Foundation\Blender\.blender\scripts\
C:\Program Files\Blender Foundation\Blender\.blender\scripts\
Linux
~/.blender/scripts

Under Windows, whether you install to %userprofile% or Program Files/ProgramData depends on which you chose to use when installing Blender. The active folder will exist and be filled with existing .py files.

Learning Blender

Blender has a very unusual interface that takes some getting used to. Matters aren't helped by its preference of hotkeys over of visible buttons. Nevertheless, learning it is quite achievable:

Blender and Source

  • Dvondrake's SMD export video tutorial covers creating, texturing and exporting a simple static object
  • The Blender Modelling Walkthrough is a complete, step-by-step guide to creating exporting a static model with Dvondrake's plug-in.
  • See Animation in Blender to learn how to rig and animate in a way that survives SMD export.
  • Blender renders both sides of a polygon, but Source only renders the front. You can bring Blender into line by:
    1. Making sure the Buttons window is visible.
    2. Switching to the Editing panel (F9)
    3. Under Mesh, un-clicking the Double Sided button.
    4. If you find you need to flip any polys, either use Ctrl+n to make everything point outward, or select those that need to change and press w,0.
  • Because Dvondrake's exporter only exports the currently-selected object, you can store as many meshes are you like in the same .blend file. Use scenes and/or layers to easily manage the different elements of a model.
  • This is simply a modeling tip: If you intend scaling the model or the armature, do this in Edit Mode. This can help not having problems with dimensions.

External links