From BlenderWiki

Jump to: navigation, search
Blender3D FreeTip.gif
IMPORTANT! Do not update this page!
We have moved the Blender User Manual to a new location. Please do not update this page, as it will be locked soon.


Page status (reviewing guidelines)

Page reviewed and in good shape

Animating Lamps Properties

Here we are not going to talk about moving lamps, rotating them, etc. – this is nothing more than object animation! Let’s just remember you about constraints, especially tracking ones, which might be very useful to track a character with a spot, for example…

We will rather see what lamp specific properties you can animate. All the relevant F-curves are gathered in the LampAction set of the Graph Editor window.

Note that lamps can, as well as materials, use textures – and you can animate how these textures are mapped to their lamps (e.g. to simulate «gobos» in a discotheque… or complex shadows, like tree leaves cast on the ground, when you have no time to use raytraced shadows). However, as this is nothing more than a sub-set of the material’s possibilities, we won’t detail this topic here – read the material animation page. And obviously, you should have already read the lighting chapter!

As of Blender from 2.5 version, Everything is animatable. And about keyframing and actions see more here.

Example

Let’s illustrate this with a flying torch deep in a cave.

We won’t detail the cave and torch creation – the first one is an deformed icosphere with Subdivision Surface and Displace modifiers, and the second one, a cylinder scaled and subdivided several times in its length, with a particle system to materialize its fire.

The torch will be the only light source of the scene. Add four Point lamps, all using the same lamp datablock. Place them around the tip of the torch, and parent them to it. Give them an orange color (e.g. (1.0, 0.8, 0.4)), a short Distance (2.0, but this depends on the size of your cave!), and an Inverse Square falloff. Also let them cast ray shadows (soft shadows, if you have enough computing power…).

Right click on the Energy parameter and Insert Keyframe to create an Fcurve, then open the graph editor to edit the keyframes. You can for example start at zero (no energy, the scene is whole black), give a short and intense flash (10 over a few frames) to simulate a sort of lightning lighting the fire, then back to very low (0.25), and then a gently varying curve over the rest of the scene, to simulate the irregularities of the flames.

You might also use the same animation to control the particle system emmission, to synchronize the quantity of particles with the luminosity of the lamps.

Once your torch is flying, you should get something as shown below – you can download the blend file File:ManAnimationTechsLampExFlyingTorch.blend.



Blender3D FreeTip.gif
This is the old manual!
For the current 2.7x manual see http://www.blender.org/manual/


User Manual

World and Ambient Effects

World

Introduction
World Background

Ambient Effects

Mist
Stars (2.69)


Game Engine

Introduction

Introduction to the Game Engine
Game Logic Screen Layout

Logic

Logic Properties and States
The Logic Editor

Sensors

Introduction to Sensors
Sensor Editing
Common Options
-Actuator Sensor
-Always Sensor
-Collision Sensor
-Delay Sensor
-Joystick Sensor
-Keyboard Sensor
-Message Sensor
-Mouse Sensor
-Near Sensor
-Property Sensor
-Radar Sensor
-Random Sensor
-Ray Sensor
-Touch Sensor

Controllers

Introduction
Controller Editing
-AND Controller
-OR Controller
-NAND Controller
-NOR Controller
-XOR Controller
-XNOR Controller
-Expression Controller
-Python Controller

Actuators

Introduction
Actuator Editing
Common Options
-2D Filters Actuator
-Action Actuator
-Camera Actuator
-Constraint Actuator
-Edit Object Actuator
-Game Actuator
-Message Actuator
-Motion Actuator
-Parent Actuator
-Property Actuator
-Random Actuator
-Scene Actuator
-Sound Actuator
-State Actuator
-Steering Actuator
-Visibility Actuator

Game Properties

Introduction
Property Editing

Game States

Introduction

Camera

Introduction
Camera Editing
Stereo Camera
Dome Camera

World

Introduction

Physics

Introduction
Material Physics
No Collision Object
Static Object
Dynamic Object
Rigid Body Object
Soft Body Object
Vehicle Controller
Sensor Object
Occluder Object

Path Finding

Navigation Mesh Modifier

Game Performance

Introduction
System
Display
Framerate and Profile
Level of Detail

Python API

Introduction
Bullet physics
VideoTexture

Deploying

Standalone Player
Licensing of Blender Game

Android Support

Android Game development