Blender V2.61 - r43446
Functions

volume.h File Reference

Go to the source code of this file.

Functions

CCL_NAMESPACE_BEGIN __device void volume_isotropic_setup (ShaderData *sd, ShaderClosure *sc, float density)
__device float3 volume_isotropic_eval_phase (const ShaderData *sd, const ShaderClosure *sc, const float3 omega_in, const float3 omega_out)
__device void volume_transparent_setup (ShaderData *sd, ShaderClosure *sc, float density)
__device float3 volume_transparent_eval_phase (const ShaderData *sd, const ShaderClosure *sc, const float3 omega_in, const float3 omega_out)
__device float3 volume_eval_phase (const ShaderData *sd, const ShaderClosure *sc, const float3 omega_in, const float3 omega_out)

Function Documentation

float3 OSLShader::volume_eval_phase ( const ShaderData sd,
const ShaderClosure sc,
const float3  omega_in,
const float3  omega_out 
)
__device float3 volume_isotropic_eval_phase ( const ShaderData sd,
const ShaderClosure sc,
const float3  omega_in,
const float3  omega_out 
)

Definition at line 33 of file volume.h.

References make_float3().

Referenced by volume_eval_phase().

CCL_NAMESPACE_BEGIN __device void volume_isotropic_setup ( ShaderData sd,
ShaderClosure sc,
float  density 
)
__device float3 volume_transparent_eval_phase ( const ShaderData sd,
const ShaderClosure sc,
const float3  omega_in,
const float3  omega_out 
)

Definition at line 47 of file volume.h.

References make_float3().

Referenced by volume_eval_phase().

__device void volume_transparent_setup ( ShaderData sd,
ShaderClosure sc,
float  density 
)