From BlenderWiki

Jump to: navigation, search

Image Textures

Mode: All Modes

Panel: Shading/Texture Context

Hotkey: F6

Description

If you choose the Texture Type Image in the Texture Panel, the Map Image and Image panels appear, allowing you to control most aspects of image textures and how they are applied.

The term, "image texture," simply means that a graphic image (composed of R, G, B and perhaps Alpha information arranged in pixels) is used as the basic source of input to the texture. As with any other type of texture, this data can be used in any number of ways ... not just as, say, a "decal."

Map Image Panel Options

Map Image Panel in the Texture Buttons (F6).

This panel controls what aspects of the image are used, how it is to be mapped to the underlying material, and controls whether it is to be offset from its origin, and whether it should be repeated or stretched to fit.

Background image
Foreground image

These two different images are used here to demonstrate the different Map Image options. The background image is an ordinary JPG-file, the foreground image is a PNG-file with various Alpha- and Greyscale values. The vertical bar on the right side of the foreground image is an Alpha blend, the horizontal bar has 50% Alpha.}}

MipMap
MipMaps are precalculated, smaller, filtered Textures for a certain size. A series of pictures is generated, each half the size of the former one. This optimizes the filtering process. By default, this option is enabled and speeds up rendering (especially useful in the game engine). When this option is OFF, you generally get a sharper image, but this can significantly increase calculation time if the filter dimension (see below) becomes large. Without MipMaps you may get varying pictures from slightly different camera angles, when the Textures become very small. This would be noticeable in an animation.
Gauss
Used in conjunction with MipMap, it enables the MipMap to be made smaller based on color similarities. In the game engine, you want your textures, especially your MipMap textures to be as small as possible to increase rendering speed and framerate.
InterPol
Enlarged Imagetexture without InterPol.
Enlarged Imagetexture with InterPol.
This option interpolates the pixels of an Image. This becomes visible when you enlarge the picture. By default, this option is on. Turn this option OFF to keep the individual pixels visible and if they are correctly anti-aliased. This last feature is useful for regular patterns, such as lines and tiles; they remain 'sharp' even when enlarged considerably. When you enlarge this 10x10 pixel Image Manual-PartIV-Linien.png, the difference with and without InterPol is clearly visible (Enlarged Imagetexture). Turn this image off if you are using digital photos to preserve crispness.
Rot90
Rotates the Image 90 degrees counterclockwise when rendered.
UseAlpha
Foreground Image with UseAlpha. The alpha values of the pixels are evaluated.
Foreground Image with CalcAlpha.
Works with PNG and TGA files since they can save transparency information (Foreground Image with UseAlpha). Where the alpha value in the image is less than 1.0, the object will be partially transparent and stuff behind it will show.
CalcAlpha
Calculate an alpha based on the RGB values of the Image. Black (0,0,0) is transparent, white (1,1,1) opaque (Foreground Image with CalcAlpha). Enable this option if the image texture is a mask. Note that mask images can use shades of gray that translate to semi-transparency, like ghosts, flames, and smoke/fog.
NegAlpha
Reverses the alpha value. Use this option if the mask image has white where you want it transparent and vice-versa.
Filter
The filter size used in rendering, and also by the options MipMap and Interpol. If you notice gray lines or outlines around the textured object, particularly where the image is transparent, turn this value down from 1.0 to 0.1 or so.
Normal Map
This tells Blender that the image is to be used to create the illusion of a bumpy surface, with each of the three RGB channels controlling how to fake a shadow from a surface irregularity. Needs specially prepared input pictures. See section Bump and Normal Maps.

Usually, an image texture will fit the entire size of the texture space. Similarly to the NoiseSize options in procedural textures, you can also change the scaling and positioning of image textures, within the texture itself, before it is mapped.

Extend
Extend. Outside the Image the colour of the edge is extended.
Outside the Image the colour of the edge is extended (Extend). The Image was put in the center of the object with the shown settings. Manual-PartIV-ExtendSettings.png


Clip
Outside the Image, an alpha value of 0.0 is returned. This allows you to 'paste' a small logo on a large object.
ClipCube
The same as Clip, but now the 'Z' coordinate is calculated as well. Outside a cube-shaped area around the Image, an alpha value of 0.0 is returned.
Checker
Checker generates Checkerboard patterns. Here a blue picture was used on a black background.
Checkerboards quickly made. Mortar governs the distance between the checkers in parts of the texture size. Manual-PartIV-CheckerSettings.png
(You can use the option size on the Map Input Panel as well to create the desired number of checkers).
Mirror
The two Mirr buttons allow you to map the texture as a mirror, or automatic flip of the image, in the corresponding X and/or Y direction.
Repeat
The Image is repeated horizontally and vertically as often as set in Xrepeat and Yrepeat.
MinX, MinY, MaxX, MaxY
The offset and the size of the texture in relation to the texture space. Pixels outside this space are ignored. Use these to crop, or choose a portion of a larger image to use as the texture.


Image Panel Options

The Image Panel in the Texture Buttons (F6).
Load Image
  • Load a single image file in one of Blender's supported file formats: BMP, JPG, PNG, TGA, TIFF, OpenEXR, Cineon, DPX and Radiance HDR. Others, like PSD and GIF - are partially supported via QuickTime on Windows and Mac versions.
  • To use a vector format SVG image, use the Vectrex texture plugin
  • Load an animation as a numbered image sequences in any of the supported image file formats. To do this, first click on the first frame and then Load file. Then change the Image type to Sequence, and enter the ending frame number
  • Load an animation as an avi or mov file. Accepted are uncompressed or JPG compressed AVIs. On Windows and Mac with QuickTime, most quicktime movies should work, and on Windows platforms all videos with a supported codec should work.
For any of the above, you can use absolute as well as Relative Paths. The // (double Backslash) means the working directory, .. (two dots) point at the parent directory. Select relative or absolute in the file browser window header.
Movie
Movie files (AVIs supported by Blender, SGI-movies) and "anim5" files can also be used for an Image texture. In this case the subsequent Panel, Anim and Movie is populated by Buttons.
IM
The internal name of the IMage. Use the select button to rapidly change between textures loaded into memory. ⇧ ShiftLMB Template-LMB.png click into the field to give the image a meaningful name
Reload
Load the image again from disk (i.e. if it's been changed in an external application)
X
Delete the link from this texture to this image
Users
The number of other materials that use this image. Click to make the information about this image local to this instance of use.
Pack ( Manual-Part-IV-PackButton.png )
Saves the still or generated image inside the blend-file. Use this if you are mailing or sharing .blend files between PC's with different directory structures.

The text below the filename provides information about the file

Fields
Video frames consist of two different images (fields) that are merged by horizontal line. This option makes it possible to work with field images. It ensures that when Fields are rendered the correct field of the Image is used in the correct field of the rendering. MipMapping cannot be combined with Fields.
Odd
Normally, the first field in a fielded (interlaced) video frame begins on the first line. Some frame grabbers do this differently.
Anti
Graphic images such as cartoons and pictures that consist of only a few colors with a large surface filling can be anti-aliased as a built in pre-process. This is not useful for Photos and similar pictures. Needs OSA.
Auto Refresh
When you change frames, blender gets the latest image from the sequence or codec.
Frames
How many frames of the animation to use; the length of the segment
Offs
What frame number inside the movie/sequence to start grabbing
Fie/Ima
Fields per Image. Used with Fields and interlaced video, it says whether each image has both odd and even, or just one.
StaFr
Starting Frame - when the animation reaches this frame number, the movie/sequence will start playing
Cyclic
When the video ends, it will loop around the to the start and begin playing again.


Seamless Images

The good, the bad, and the ugly

When an image is repeated, the left side of the repeat copy is mushed up against the right side. Similarly, when repeating upwards, the bottom of the second copy is placed against the top of the first. Where they meet, a seam may show if the pixels of one side do not line up with the other. You want image textures to be seamless, so that when viewed side by side, the repeating is not detectable. The best example of this is a brick texture. Use an image texture of a few bricks where the boundaries of the image align at the top and bottom on the mortar, and the left and right edges evenly split a brick, and that the left brick matches up nicely with the far right brick. This concept applies to terrain (outside grass, sidewalks, pavement), flooring (inside wood, stone, tile), tree bark, animal skins, roofing shingles of all types, cloth and fabric designs, wallpaper designs, dirty surfaces, sidewalks, and almost all exterior building surfaces (continuous, siding, shingle, brick, stone veneer). Both images to the right were tiled 2 times across and 3 times vertically.

When working with existing images to make them seamless, try to correct any skewing based on camera angle; you want an image taken "straight on", because the program will repeat the image flat onto the surface. Also pay attention to lighting; you want a flat light across the surface, because if the left side is lighter than the right, when they are placed together, there will be a noticeable difference.

Some paint programs have features to help you. For example, GIMP has a map filter to Make Seamless any image. It also has tools like Threshold that show you any lighting differences.

Also, placing a prop in front of a seamed wall really fakes out the eye from detecting a pattern. A simple table and lamp or chair for inside walls, or a plant or person or car for outside really helps deflect attention from percieving a repeating pattern.



Introduction
What is Blender?
Introduction
Blender’s History
License
Blender’s Community
About this Manual
What's changed with Blender 2.4
Installing Blender
Introduction
Python
Installing on Windows
Installing on GNU/Linux
Installing on Mac
Installing on other Operating Systems
Configuring Blender
Directory Layout
Starting
The Interface
Introduction
Keyboard and Mouse
Window System
Arranging frames
Headers
Console window
Window Types
Screens (Workspace Layouts)
Scenes
Configuration
Modes
Contexts
Menus
Panels
Buttons and Controls
Internationalization
Your First Animation
1/2: A static Gingerbread Man
2/2: Animating the Gingerbread Man
The Vital Functions
Quick render
Undo and Redo
Default scene
Screenshots
Help!
Setting Preferences
Configuring Preferences
Interface
Editing
Themes
File
System
Interaction in 3D
Introduction
Introduction
Navigation
Introduction
3D View
3D View Options
3D View Usage
Camera View
Layers
Local or Global View
Sketch in 3D Space
Introduction to Grease Pencil
Drawing sketches
Layers and Animation
Converting sketches to geometry
Transformations
Introduction
Basics
- Grab/Move
- Rotate
- Scale
- Gestures
Advanced
- Mirror
- To Sphere
- Shear
- Warp
- Push/Pull
Transform Control
Introduction
Precision of Transformations
Numeric Transformations
Transform Properties
Reset Object Transforms
Manipulators
Transform Orientations
Axis Locking
Pivot Point
- Active object
- Individual Centers
- 3D Cursor
- Median Point
- Bounding Box Center
Snapping
Snap to Mesh
Proportional Edit
Data System and Files
Blender's Data System
Blender's Library and Data System
Blender's Datablocks
Scenes
Working with Scenes
The Outliner Window
Appending and Linking
File operations
Introduction
Opening blender files
Saving blender files
Modeling
Introduction
Introduction
Objects
Objects
Selecting Objects
Editing Objects
Groups and Parenting
Tracking
Duplication
- DupliVerts
- DupliFaces
- DupliGroup
- DupliFrames
Mesh Objects
Meshes
- Mesh Structures
- Mesh Primitives
Selecting
- Selectable Elements
- Selection Basics
- Advanced Selecting
- Selecting Edges
- Selecting Faces
Editing
Basic Editing
- Translation, Rotation, Scale
- Adding Elements
- Deleting Elements
- Creating Faces and Edges
- Mirror editing
Vertex Editing
Edge Editing
Face Editing
Deforming Tools
- Mirror
- Shrink/Fatten Along Normals
- Smooth
- Noise
Duplicating Tools
- Duplicate
- Extrude
- Extrude Dup
- Spin
- Spin Dup
- Screw
Subdividing Tools
- Subdivide
- Subdivide fractal
- Subdivide smooth
- Loop Subdivide
- Knife Subdivide
- Bevel
Miscellaneous Tools
Retopo Tool
Sculpt Mode
Multi Resolution Mesh
Vertex Groups
Weight Paint
Mesh Smoothing
Curve Objects
Curves
Selecting
Editing
Advanced Editing
Surface Objects
Surfaces
Selecting
Editing
Text Objects
Texts
Editing
Meta Objects
Metas
Editing
Empty Objects
Empties
Group Objects
Groups
Scripts
Modeling Scripts
Modifiers and Deformation
Introduction
Introduction
Modifiers Stack
Modify
UVProject
Generate
Array
Bevel
Booleans
Build
Decimate
EdgeSplit
Mask
Mirror
Subsurf
Deform
Armature
Cast
Curve
Displace
Hooks
Lattice
MeshDeform
Shrinkwrap
SimpleDeform
Smooth
Wave
Simulate
Cloth
Collision
Explode
Fluid
Particle Instance
Particle System
Soft Body
Lighting
Introduction
Introduction
Lights
Introduction
Light Properties
Light Attenuation
Light Textures
What Light Affects
Lights In Other Contexts
Shadows
Introduction
Shadow Properties
Raytraced Shadow Properties
Volumetric Lights
Introduction
Lamps
Introduction
Lamp Light
- Raytraced Shadows
Spot Light
- Raytraced Shadows
- Buffered Shadows
- Halos
Area Light
- Raytraced Shadows
Hemi Light
Sun Light
- Raytraced Shadows
- Sky & Atmosphere
Lighting Rigs
Radiosity
Introduction
Rendering
Baking
Scene Light
Ambient Light
Ambient Occlusion
Exposure
Exposure
Materials
Introduction
Introduction to Shading
Materials Introduction
Usage
Assigning a material
Material Preview
Material Options
Multiple Materials
Properties
Diffuse Shaders
Specular Shaders
Ambient Light Effect
Color Ramps
Raytraced Reflections
Raytraced Transparency
Subsurface Scattering (SSS)
Strands
Node Materials
Material Nodes
Nodes Editor
Node Controls
Nodes usage
Nodes Groups
Material Node Types
- Input Nodes
- Output
- Color
- Vector
- Convertor
- Dynamic
Vertex Paint
Using Vertex Paint
Halos
Halos
Textures
Introduction
Introduction
UV/Image Editor
Common Options
Texture Stack
Texture Types
Texture Types
Procedural Textures
Image Textures
Video Textures
Texture Nodes
- Nodes Editor
- Node Controls
- Nodes usage
- Nodes Groups
-- Textures Input Nodes
-- Textures Output Nodes
-- Textures Color Nodes
-- Textures Patterns Nodes
-- Textures Textures Nodes
-- Textures Convertor Nodes
-- Textures Distort Nodes
Texture Plugins
Texture Painting
Painting the Texture
- Projection Paint
Mapping
Mapping
Environment Maps
UV Unwrapping Explained
- Unwrapping a Mesh
- Managing the UV Layout
- Editing the UV Layout
- Applying an Image
Influence
Influence
- Material
-- Bump and Normal
-- Displacement
- Particles
- World
World and Ambient Effects
World
Introduction
World Background
Ambient Effects
Mist
Stars
Rigging
Introduction
Introduction to Rigging
Armatures
Armature Objects
Panels overview
Bones
Visualization
Structure
Selecting
Editing
- Bones
- Properties
- Sketching
- Templating
Skinning
Introduction
Linking Objects to Bones
Skinning to Objects’ Shapes
Retargeting
Posing
Introduction
Visualization
Editing Poses
Pose Library
Using Constraints
Inverse Kinematics
Constraints
Introduction
Introduction
Constraints Common Interface
Constraints’ Stack
Transform Constraints
Copy Location
Copy Rotation
Copy Scale
Limit Distance
Limit Location
Limit Rotation
Limit Scale
Transformation
Tracking Constraints
Clamp To
IK Solver
Locked Track
Stretch To
Track To
Relationship Constraints
Action
Child Of
Floor
Follow Path
Null
Rigid Body Joint
Script
Shrinkwrap
Animation
Introduction
Introduction
The Timeline
Markers
3D Views
Animation Editors
Animation Editors
Ipo Editor
Ipo Curves and Keyframes
Ipo Datablocks
Ipo Types
Ipo Editor Interface
Editing
- Ipo Curves
- Keyframes
Ipo Drivers
Action Editor
Editing Action Channels
NLA Editor
Editing NLA Strips
Strip Modifiers
Animation Techniques
Introduction
Animating Objects
- Using Constraints
- Moving Objects on a Path
Animating Shapes
- Shape Keys
- Editing Shape Keys
- Animating Shape Keys
- Shape Keys Examples
Indirect Shape Animation
Animating Armatures
- Stride
Animating Lamps
Animating Cameras
Animating Materials
Animating Textures
Animating World
Physical Simulation
Introduction
Introduction
Dynamics
Force Fields
Collisions
Particles
Particles
Types
Physics
- Newtonian
- Keyed
- Boids
Visualization
Controlling Emission, Interaction and Time
Cache & Bake
Hair
Children
Vertex Groups
Particle Mode
Soft Body
Introduction
Exterior Forces
Interior Forces
Collisions
Simple Examples
Combination with Armatures
Combination with Hair Particles
Reference
Cloth
Introduction
Fluids
Fluid
Using the Game Engine
Using the Game Engine
Rendering
Introduction
Introduction
Camera
The Camera
Perspective (Vanishing points)
Depth Of Field
Render
Displaying Renders
Basic Options
Antialiasing (Oversampling)
Rendering Animations
Panoramic
Render Baking
Using the Command Line
Output
Output
Video Output
Effects and Post Processing
Introduction
Render Layers
Render Passes
Edges & Toon
Stamp
Color Management & Exposure
Depth Of Field
Motion Blur
Render Performance
Rendering Performance
Distributed Rendering
External Render Engines
Introduction
YafRay
Compositing with nodes
Composite Nodes
Introduction
Nodes Editor
Node Controls
Nodes usage
Nodes Groups
Composite Node types
Composite Node types
Input Nodes
Output Nodes
Color Nodes
Vector Nodes
Filter Nodes
Convertor Nodes
Matte Nodes
Distortion Nodes
Editing Sequences
Introduction
Introduction
The sequencer
Usage
Sequencer Modes
Sequence Screen Layout
Effects
Built-in Effects
Plugin Effects
Audio
Audio Sequences
Extending Blender
Introduction
Introduction
Python Scripting
Python Scripting in Blender
Setting up Python
The Text Editor
A working example
References
Python Scripts
Script Catalog
Bundled Scripts
Plugins
Blender's Plugins System
Texture plugins specifications
Sequence plugins specifications
Game Engine
Introduction
Introduction
The Logic Editor
Usage
Game Properties
Sensors
Introduction
Sensor Types
Controllers
Introduction
Expressions
Actuators
Introduction
Action
Camera
CD
Constraint
Edit Object
Ipo
2D Filters
Game
Message
Motion
Parent
Property
Random
Scene
Shape Action
Sound
State
Visibility
Cameras
Cameras
Dome Camera
Physics
Physics Engine
Material Physics
Object Types
- Static
- No Collision
- Dynamic
- Rigid Body
- Soft Body
- Occluder
- Sensor
Python API
Bullet physics
VideoTexture
Various resources
List of Features
External resources
Game Engine Basics (BSoD Tutorial)
FAQ