Blender V2.61 - r43446
Functions

nodes.cpp File Reference

#include "image.h"
#include "nodes.h"
#include "svm.h"
#include "osl.h"
#include "util_transform.h"

Go to the source code of this file.

Functions

static ShaderEnum color_space_init ()
static float2 sky_spherical_coordinates (float3 dir)
static float sky_perez_function (float lam[6], float theta, float gamma)
static void sky_texture_precompute (KernelSunSky *ksunsky, float3 dir, float turbidity)
static ShaderEnum gradient_type_init ()
static ShaderEnum voronoi_coloring_init ()
static ShaderEnum musgrave_type_init ()
static ShaderEnum wave_type_init ()
static ShaderEnum glossy_distribution_init ()
static ShaderEnum glass_distribution_init ()
static ShaderEnum mix_type_init ()
static ShaderEnum math_type_init ()
static ShaderEnum vector_math_type_init ()

Function Documentation

static ShaderEnum color_space_init ( ) [static]

Definition at line 92 of file nodes.cpp.

References ShaderEnum::insert().

static ShaderEnum glass_distribution_init ( ) [static]
static ShaderEnum glossy_distribution_init ( ) [static]
static ShaderEnum gradient_type_init ( ) [static]
static ShaderEnum math_type_init ( ) [static]
static ShaderEnum mix_type_init ( ) [static]
static ShaderEnum musgrave_type_init ( ) [static]
static float sky_perez_function ( float  lam[6],
float  theta,
float  gamma 
) [static]

Definition at line 263 of file nodes.cpp.

References cosf, and expf.

static float2 sky_spherical_coordinates ( float3  dir) [static]

Definition at line 258 of file nodes.cpp.

References acosf, atan2f, make_float2(), float3::x, float3::y, and float3::z.

Referenced by sky_texture_precompute().

static void sky_texture_precompute ( KernelSunSky ksunsky,
float3  dir,
float  turbidity 
) [static]
static ShaderEnum vector_math_type_init ( ) [static]
static ShaderEnum voronoi_coloring_init ( ) [static]

Definition at line 462 of file nodes.cpp.

References ShaderEnum::insert(), NODE_VORONOI_CELLS, and NODE_VORONOI_INTENSITY.

static ShaderEnum wave_type_init ( ) [static]

Definition at line 597 of file nodes.cpp.

References ShaderEnum::insert(), NODE_WAVE_BANDS, and NODE_WAVE_RINGS.