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.

Material Vector Nodes

Vector nodes manipulate information about how light interacts with the material, multiplying vector sets, and other wonderful things that normal humans barely comprehend (except math geniuses, who may not be considered ┬źnormal┬╗). Even if you aren't a math wiz, you'll find these nodes to be very useful.

Vectors, in general, are two or three element values, for example, surface normals are vectors. Vectors are also important for calculating shading.

Normal Node

Normal node

The Normal node generates a normal vector and a dot product. Click and Drag on the sphere to set the direction of the normal.

This node can be used to input a new normal vector into the mix. For example, use this node as an input to a Color Mix node. Use an Image input as the other input to the Mixer. The resulting colorized output can be easily varied by moving the light source (click and dragging the sphere).

The (face) normal is the direction of the face in relation to the camera. You can use it to do the following:

  • Use this node to create a fixed direction -> output Normal.
  • Calcuate the Dot-Product with the Normal-Input. The Dot-Product is a scalar value (a number).
    • If two normals are pointing in the same direction the Dot-Product is 1.
    • If they are perpendicular the Dot-Product is zero (0).
    • If they are antiparallel (facing directly away from each other) the Dot-Product is -1. And you never thought you would use the Vector Calculus class you took in college - shame on you!

So now we can do all sorts of things that depends on the viewing angle (like electron scanning microscope effect). And the best thing about it is that you can manipulate the direction interactively.

One caveat
The normal is evaluated per face, not per pixel. So you need enough faces, or else you don't get a smooth result


Inputs

Normal
3D-direction of the face in relation to the camera. The value can be provided by another node or set manually.

Outputs

Normal
Fixed 3D-direction, combined by the node.
Dot
Scalar value (a number), combined by the node.

Controls

Interactive Normal node preview
Interactive node preview
Allows click and drag on the sphere in node center to set the direction of the normal.


Mapping Node

Mapping node

Essentially mapping node allows the user to modify a mapping of system of 3D-coordinates. Typically used for modifying texture coordinates.

Mapping can be rotated and clamped if desired.

Inputs

Vector
The input vector (3D-direction in relation to the camera) of some the coordinates' mapping. The value can be provided by another node or set manually.

Outputs

Vector
The output vector, combined by the node.


Controls

The controls of the node have been ordered in X, Y, Z order. If you want to use the clamping options, try enabling Min and Max.

Mapping Node Vector Types controls
Vector type selector
Type of vector that the mapping transforms.
Texture
Transform a texture by inverse mapping the texture coordinates.
Point
Transform a point.
Vector
Transform a direction vector.
Normal
Transform a normal vector with unit length.


Mapping Node Transforms controls
Location
Transform position vector.
Rotation
Transform rotation vector.
Scale
Transform scale vector.


Mapping Node Clipping controls
Min
Minimum clipping value.
Max
Maximum clipping value.


Vector Curves

Vector Curves node

The Vector Curves node maps an input vector x, y, and z components to a diagonal curve. Use this node to remap a vector value using curve controls.

Click and drag along the curve to create a control point and to change the curve's shape. Use the X to delete the selected (white) point.

Inputs

Fac
Factor. The degree of node's influence in node tree. The value can be provided by another node or set manually.
Vector
The input vector (3D-direction in relation to the camera). The value can be provided by another node or set manually.

Outputs

Vector
The output vector, combined by the node.


Controls

Curve channel selector
Channel selector
Allows to select appropriate curve channel.
X
Curve of X-direction.
Y
Curve of Y-direction.
Z
Curve of Z-direction.


Node curve controls
26-Material-Color-Node-Curves-Zoomin-Buticon.png
Zoom in curve.
26-Material-Color-Node-Curves-Zoomout-Buticon.png
Zoom out curve.


Advanced tools for curve
Reset View
Resets view of the cuve.
Vector Handle
Vector type of curve point's handle.
Auto Handle
Automatic type of curve point's handle.
Extend Horizontal
Extends the curve horizontal.
Extend Extrapolated
Extends the curve extrapolated.
Reset Curve
Resets the curve in default (removes all added curve's points).


26-Material-Color-Node-Curves-Clipping-Buticon.png
Clipping options display of the curve.
26-Material-Color-Node-Curves-Delpoints-Buticon.png
Deletes points of the curve.




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