Blender: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(VTA exporter added. Someone please clean it up and make it look good.)
Line 1: Line 1:
[[File:b8bac8f276.jpg|border|right|300px|Blender in action.]]
[[File:b8bac8f276.jpg|border|right|300px|Blender in action.]]


[[File:Blender 16.png|(icon)|link=]] '''Blender''' ([http://www.blender.org/download/get-blender/ download]) is a free and open source [[:Category:Modeling|3D modeling]] package that be used to create models for Source. Its only limitations are the absence of an exporter for the [[VTA]] files required for [[flex animation]] or a fully-functional [[SMD]] importer.
[[File:Blender 16.png|(icon)|link=]] '''Blender''' ([http://www.blender.org/download/get-blender/ download]) is a free and open source [[:Category:Modeling|3D modeling]] package that be used to create models for Source.


== SMD exporters ==
== SMD exporters ==
Line 11: Line 11:


There is [http://folk.uio.no/jonmd/blender/smdimport/ an SMD Importer by Jon Moen Drange], but it does not support animations.
There is [http://folk.uio.no/jonmd/blender/smdimport/ an SMD Importer by Jon Moen Drange], but it does not support animations.
== VTA exporter ==
This VTA exporter is a modification of Dvondrakes above SMD exporter, made by windwakr. Not only has VTA exporting been added to it, a bug in the SMD exporting has been fixed.
http://filesmelt.com/downloader/smd_vta_export.zip


=== Installation ===
=== Installation ===

Revision as of 21:33, 4 October 2009

Blender in action.

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

SMD exporters

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) or later

There is an SMD Importer by Jon Moen Drange, but it does not support animations.

VTA exporter

This VTA exporter is a modification of Dvondrakes above SMD exporter, made by windwakr. Not only has VTA exporting been added to it, a bug in the SMD exporting has been fixed.

http://filesmelt.com/downloader/smd_vta_export.zip


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.

External links