Blender  V2.59
Functions | Variables
rna_texture.c File Reference
#include <float.h>
#include <stdio.h>
#include <stdlib.h>
#include "RNA_define.h"
#include "rna_internal.h"
#include "DNA_brush_types.h"
#include "DNA_lamp_types.h"
#include "DNA_material_types.h"
#include "DNA_object_types.h"
#include "DNA_texture_types.h"
#include "DNA_world_types.h"
#include "DNA_node_types.h"
#include "DNA_particle_types.h"
#include "DNA_scene_types.h"
#include "BKE_node.h"

Go to the source code of this file.

Functions

static void rna_def_texmapping (BlenderRNA *brna)
static void rna_def_mtex (BlenderRNA *brna)
static void rna_def_filter_common (StructRNA *srna)
static void rna_def_environment_map (BlenderRNA *brna)
static void rna_def_texture_clouds (BlenderRNA *brna)
static void rna_def_texture_wood (BlenderRNA *brna)
static void rna_def_texture_marble (BlenderRNA *brna)
static void rna_def_texture_magic (BlenderRNA *brna)
static void rna_def_texture_blend (BlenderRNA *brna)
static void rna_def_texture_stucci (BlenderRNA *brna)
static void rna_def_texture_noise (BlenderRNA *brna)
static void rna_def_texture_image (BlenderRNA *brna)
static void rna_def_texture_plugin (BlenderRNA *brna)
static void rna_def_texture_environment_map (BlenderRNA *brna)
static void rna_def_texture_musgrave (BlenderRNA *brna)
static void rna_def_texture_voronoi (BlenderRNA *brna)
static void rna_def_texture_distorted_noise (BlenderRNA *brna)
static void rna_def_texture_pointdensity (BlenderRNA *brna)
static void rna_def_texture_voxeldata (BlenderRNA *brna)
static void rna_def_texture (BlenderRNA *brna)
void RNA_def_texture (BlenderRNA *brna)

Variables

EnumPropertyItem texture_filter_items []
EnumPropertyItem texture_type_items []
static EnumPropertyItem prop_noise_basis_items []
static EnumPropertyItem prop_noise_type []

Detailed Description

Definition in file rna_texture.c.


Function Documentation

static void rna_def_environment_map ( BlenderRNA brna) [static]
static void rna_def_filter_common ( StructRNA srna) [static]
static void rna_def_mtex ( BlenderRNA brna) [static]
static void rna_def_texmapping ( BlenderRNA brna) [static]
static void rna_def_texture ( BlenderRNA brna) [static]
void RNA_def_texture ( BlenderRNA brna)
static void rna_def_texture_blend ( BlenderRNA brna) [static]
static void rna_def_texture_clouds ( BlenderRNA brna) [static]
static void rna_def_texture_distorted_noise ( BlenderRNA brna) [static]
static void rna_def_texture_environment_map ( BlenderRNA brna) [static]
static void rna_def_texture_image ( BlenderRNA brna) [static]
static void rna_def_texture_magic ( BlenderRNA brna) [static]
static void rna_def_texture_marble ( BlenderRNA brna) [static]
static void rna_def_texture_musgrave ( BlenderRNA brna) [static]
static void rna_def_texture_noise ( BlenderRNA brna) [static]

Definition at line 992 of file rna_texture.c.

References RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().

Referenced by rna_def_texture().

static void rna_def_texture_plugin ( BlenderRNA brna) [static]

Definition at line 1152 of file rna_texture.c.

References RNA_def_struct(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().

Referenced by rna_def_texture().

static void rna_def_texture_pointdensity ( BlenderRNA brna) [static]
static void rna_def_texture_stucci ( BlenderRNA brna) [static]
static void rna_def_texture_voronoi ( BlenderRNA brna) [static]
static void rna_def_texture_voxeldata ( BlenderRNA brna) [static]
static void rna_def_texture_wood ( BlenderRNA brna) [static]

Variable Documentation

Initial value:
 {
        {TEX_BLENDER, "BLENDER_ORIGINAL", 0, "Blender Original", "Noise algorithm - Blender original: Smooth interpolated noise"},
        {TEX_STDPERLIN, "ORIGINAL_PERLIN", 0, "Original Perlin", "Noise algorithm - Original Perlin: Smooth interpolated noise"},
        {TEX_NEWPERLIN, "IMPROVED_PERLIN", 0, "Improved Perlin", "Noise algorithm - Improved Perlin: Smooth interpolated noise"},
        {TEX_VORONOI_F1, "VORONOI_F1", 0, "Voronoi F1", "Noise algorithm - Voronoi F1: Returns distance to the closest feature point"},
        {TEX_VORONOI_F2, "VORONOI_F2", 0, "Voronoi F2", "Noise algorithm - Voronoi F2: Returns distance to the 2nd closest feature point"},
        {TEX_VORONOI_F3, "VORONOI_F3", 0, "Voronoi F3", "Noise algorithm - Voronoi F3: Returns distance to the 3rd closest feature point"},
        {TEX_VORONOI_F4, "VORONOI_F4", 0, "Voronoi F4", "Noise algorithm - Voronoi F4: Returns distance to the 4th closest feature point"},
        {TEX_VORONOI_F2F1, "VORONOI_F2_F1", 0, "Voronoi F2-F1", "Noise algorithm - Voronoi F1-F2"},
        {TEX_VORONOI_CRACKLE, "VORONOI_CRACKLE", 0, "Voronoi Crackle", "Noise algorithm - Voronoi Crackle: Voronoi tessellation with sharp edges"},
        {TEX_CELLNOISE, "CELL_NOISE", 0, "Cell Noise", "Noise algorithm - Cell Noise: Square cell tessallation"},
        {0, NULL, 0, NULL, NULL}}

Definition at line 668 of file rna_texture.c.

Initial value:
 {
        {TEX_NOISESOFT, "SOFT_NOISE", 0, "Soft", "Generate soft noise (smooth transitions)"},
        {TEX_NOISEPERL, "HARD_NOISE", 0, "Hard", "Generate hard noise (sharp transitions)"},
        {0, NULL, 0, NULL, NULL}}

Definition at line 681 of file rna_texture.c.

Initial value:
 {
        {TXF_BOX, "BOX", 0, "Box", ""},
        {TXF_EWA, "EWA", 0, "EWA", ""},
        {TXF_FELINE, "FELINE", 0, "FELINE", ""},
        {TXF_AREA, "AREA", 0, "Area", ""},
        {0, NULL, 0, NULL, NULL}}

Definition at line 50 of file rna_texture.c.

Initial value:
 {
        {0, "NONE", 0, "None", ""},
        {TEX_BLEND, "BLEND", ICON_TEXTURE, "Blend", "Procedural - Creates a ramp texture"},
        {TEX_CLOUDS, "CLOUDS", ICON_TEXTURE, "Clouds", "Procedural - Creates a cloud-like fractal noise texture"},
        {TEX_DISTNOISE, "DISTORTED_NOISE", ICON_TEXTURE, "Distorted Noise", "Procedural - Noise texture distorted by two noise algorithms"},
        {TEX_ENVMAP, "ENVIRONMENT_MAP", ICON_IMAGE_DATA, "Environment Map", "Creates a render of the environment mapped to a texture"},
        {TEX_IMAGE, "IMAGE", ICON_IMAGE_DATA, "Image or Movie", "Allows for images or movies to be used as textures"},
        {TEX_MAGIC, "MAGIC", ICON_TEXTURE, "Magic", "Procedural - Color texture based on trigonometric functions"},
        {TEX_MARBLE, "MARBLE", ICON_TEXTURE, "Marble", "Procedural - Marble-like noise texture with wave generated bands"},
        {TEX_MUSGRAVE, "MUSGRAVE", ICON_TEXTURE, "Musgrave", "Procedural - Highly flexible fractal noise texture"},
        {TEX_NOISE, "NOISE", ICON_TEXTURE, "Noise", "Procedural - Random noise, gives a different result every time, for every frame, for every pixel"},
        
        {TEX_POINTDENSITY, "POINT_DENSITY", ICON_TEXTURE, "Point Density", ""},
        {TEX_STUCCI, "STUCCI", ICON_TEXTURE, "Stucci", "Procedural - Creates a fractal noise texture"},
        {TEX_VORONOI, "VORONOI", ICON_TEXTURE, "Voronoi", "Procedural - Creates cell-like patterns based on Worley noise"},
        {TEX_VOXELDATA, "VOXEL_DATA", ICON_TEXTURE, "Voxel Data", "Creates a 3d texture based on volumetric data"},
        {TEX_WOOD, "WOOD", ICON_TEXTURE, "Wood", "Procedural - Wave generated bands or rings, with optional noise"},
        {0, NULL, 0, NULL, NULL}}

Definition at line 57 of file rna_texture.c.

Referenced by RNA_def_main_textures(), and rna_def_space_node().