Aldrik
  • Member for 8 years, 7 months
  • Last seen more than 8 years ago
How can I run blender from command line or a python script without opening a GUI?
Accepted answer
73 votes

Command-line / subprocess You can use subprocess to run blender (like any other application) from python. Use the -b / --background switch to run blender in the backgroud (GUI-less). Use the -P <...

View answer
Can I run a Python script step by step in Blender?
Accepted answer
33 votes

Launch blender from a terminal emulator. Add import pdb; pdb.set_trace() to your code where you wish to start debugging from. Run your code and you'll be put into the Python debugger, where you can ...

View answer
How can I get a Depth of field render pass?
Accepted answer
24 votes

Defocus node There's build-in support for focusing on objects using this node. In the Properties editor under Object data (with the camera selected): In the Depth of Field panel, add your Focus ...

View answer
How can I change the centre of rotation of objects during an animation?
24 votes

Add multiple Child Of constraints and animate their influences as desired. But for the example usage above that's not required, merely disable the unwanted Location and Rotation transforms as shown:

View answer
How do I animate time?
23 votes

Individual objects Blender used to have a Time Graph Editor curve for controlling time. Since the animation system rewrite by Aligorith this is now done using the NLA Editor: One you've created a ...

View answer
How would I go about creating a spiralled dome?
22 votes

Model a single straight section of the dome. Add the following modifiers: Array and spin around a empty. Subsurf. Simple Deform, to add the twist.

View answer
How can I use an array modifier to create individually manipulatable objects?
20 votes

There are a few ways of accomplishing this without the use of the Array modifier that don't suffer from the separate parts issue. Repeat last command shortcut In object mode press Shift+D to make a ...

View answer
Why won't the material node displacement work in cycles
18 votes

Change the displacement type found in the Properties window under Object Data from (the default) Bump to True. Note that this is an experimental feature and you must change the feature set from ...

View answer
Any Video formats that render with Alpha Channel?
Accepted answer
18 votes

If you're using OSX you can use its Quicktime support: Selecting any of the video formats in the Output panel. In the Encoding panel change the format to Quicktime and select a codec that supports ...

View answer
How can I resize/move the "canvas" of an image in the compositor?
Accepted answer
18 votes

There was a bug report on this where Ton said: Blender compositor is an extension of our render pipeline, animation frames by definition are always the same size. This is an issue we like to ...

View answer
Convert large particle system(s) to one object efficiently
Accepted answer
17 votes

Particle Instance modifier When a ParticleInstance modifier is added to an object, that object will be used as a particle shape on an object which has a particle system associated with it. Instead ...

View answer
Organic yet accurate modeling with the golden spiral
15 votes

Even the human face is based on Phi and Golden Ratio proportions. Fun stuff, anyway had to have a play: Animated a circle's scale and rotation (used golden angle as mentions by brecht) and made ...

View answer
How do I center the view at the origin without moving the 3D cursor?
Accepted answer
15 votes

You can use Alt+F to centre the view to your mouse pointer. The exact behaviour you requested can be achieved with a little Python. Run the following in the text editor and add a view3d....

View answer
How can I make a material only apply to a side of a plane?
14 votes

Cycles This is done using the Backfacing output socket of the Geometry node. Backfacing 1.0 if the face is being viewed from the backside, 0.0 for the frontside. Use it as the factor of a Mix Shader ...

View answer
How could a single Python script run when Blender is started?
Accepted answer
14 votes

As documented in the manual, you can save your script in the scripts/startup/ directory with a .py extension and it will be automatically imported on startup.

View answer
Animating slicing up an object
13 votes

Dissolve slice Use a Boolean modifier with and animated intersection object: Chop slice Add a Boolean modifier to your mesh and set the target boolean object. Shift+select the boolean object and ...

View answer
Tips for making Mesh Rigid-body collision shapes more stable
Accepted answer
13 votes

Jittering objects are normally caused by the collision margin. See the documentation: Collision Margin The collision margin is used to improve performance and stability of rigid bodies. Depending on ...

View answer
How to lock the view to prevent rotation of the view camera?
12 votes

One way you might want to go about this would be to: Align Active Camera to View with CtrlAlt + Numpad 0. Lock Camera to View. Select the camera and lock it's transformations.

View answer
Lofting between Splines
Accepted answer
12 votes

In blender this is called Skinning: Add a NURBS surface circle Shift+a, s, c. Tab into edit mode. Shift+d to duplicate your the segment a few times. Select you segments, aa for all of them. Press f ...

View answer
How can I generate camera shake?
11 votes

Recorded hand held shake Select | Select Camera and (optionally) View | Camera or numpad 0. In the Timeline window: Enable Frame | Auto-Keyframing Mode | Add & Replace or simply use the button. ...

View answer
Different image textures for one material (Cycles)
11 votes

You could assign a Vertex Color layer for each texture. Then use the Attribute and RGBMix nodes: To cut down on layers you could use a channel per texture: Separating colours from a single layer can ...

View answer
How do you unselect vertices without a middle mouse button?
Accepted answer
11 votes

In Blender you really have to have a middle-mouse-button, but if you don't own a 3 button mouse, you can emulate one in the preferences. Open User Preferences Control+Alt+u. Switch the the Input tab. ...

View answer
Assign datablock to custom property
Accepted answer
10 votes

You can't. See the wiki page: Properties, ID-Properties and their differences. +--------------------------------------------------------------------------------------+ | | ...

View answer
Material that emits light, but appears diffuse?
Accepted answer
9 votes

Use the Is Camera Ray output of the Light Path node to mix the shaders.

View answer
Can I export a PDF from Blender?
Accepted answer
9 votes

SVGWriter for Blender/Freestyle The SVGWriter package provides a set of Python script files for authoring SVG documents with Blender and Freestyle. Nowadays, SVGs are more portable than PDF, with ...

View answer
Save rendered images in different formats
Accepted answer
9 votes

See the Output panel in the render settings. It can also be changed post render with Image > Save As Image (F3) in the Save As Image side panel. If you want to output to multiple formats, this can be ...

View answer
Manipulate BGE logic bricks through python
Accepted answer
9 votes

This is done using the bpy.types.Sensor.link method, e.g. import bpy obj = bpy.context.object sensors = obj.game.sensors controllers = obj.game.controllers actuators = obj.game.actuators bpy.ops....

View answer
How to add keyframes for multiple objects at once
9 votes

Keying Sets As Fweeb said, the standard way of handling this is using Keying Sets. Accessible in the 3D View under Object > Animation > Insert Keyframe… (I). There's a limited set by default but ...

View answer
Scale about true center with Mirror modifier
Accepted answer
9 votes

Snap Cursor to Selected. In the Properties shelf, for the mirrored axis, subtract the Median location from the 3D cursor location. Set 3D Cursor as Pivot. Scale.

View answer
Fractals in Blender?
9 votes

This script will generate a 2D Mandelbrot set in Blender using OSL. #include <stdosl.h> shader node_fractal( float CenterX = 0.0, float CenterY = 0.0, point Vector = P, ...

View answer
1
2 3 4 5