|
Blender V4.3
|
#include <string.h>#include "scene/colorspace.h"#include "scene/mesh.h"#include "scene/object.h"#include "scene/pointcloud.h"#include "scene/scene.h"#include "util/foreach.h"#include "util/log.h"#include "kernel/device/cpu/compat.h"#include "kernel/device/cpu/globals.h"#include "kernel/device/cpu/image.h"#include "kernel/osl/globals.h"#include "kernel/osl/services.h"#include "kernel/osl/types.h"#include "kernel/integrator/state.h"#include "kernel/integrator/state_flow.h"#include "kernel/geom/geom.h"#include "kernel/bvh/bvh.h"#include "kernel/camera/camera.h"#include "kernel/camera/projection.h"#include "kernel/integrator/path_state.h"#include "kernel/svm/svm.h"#include "kernel/util/color.h"Go to the source code of this file.
Functions | |
| static CCL_NAMESPACE_BEGIN void | copy_matrix (OSL::Matrix44 &m, const Transform &tfm) |
| static void | copy_matrix (OSL::Matrix44 &m, const ProjectionTransform &tfm) |
| static bool | set_attribute_float2 (float2 f[3], TypeDesc type, bool derivatives, void *val) |
| static bool | set_attribute_float3 (float3 f[3], TypeDesc type, bool derivatives, void *val) |
| static bool | set_attribute_float3 (float3 f, TypeDesc type, bool derivatives, void *val) |
| static bool | set_attribute_float4 (float4 f[3], TypeDesc type, bool derivatives, void *val) |
| static bool | set_attribute_float (float f[3], TypeDesc type, bool derivatives, void *val) |
| static bool | set_attribute_float (float f, TypeDesc type, bool derivatives, void *val) |
| static bool | set_attribute_int (int i, TypeDesc type, bool derivatives, void *val) |
| static bool | set_attribute_string (ustring str, TypeDesc type, bool derivatives, void *val) |
| static bool | set_attribute_float3_3 (float3 P[3], TypeDesc type, bool derivatives, void *val) |
| static bool | set_attribute_matrix (const Transform &tfm, TypeDesc type, void *val) |
| static bool | get_object_attribute (const KernelGlobalsCPU *kg, ShaderData *sd, const AttributeDescriptor &desc, const TypeDesc &type, bool derivatives, void *val) |
|
static |
Definition at line 60 of file services.cpp.
References projection_transpose().
|
static |
Definition at line 54 of file services.cpp.
References projection_transpose().
Referenced by OSLRenderServices::get_inverse_matrix(), OSLRenderServices::get_inverse_matrix(), OSLRenderServices::get_inverse_matrix(), OSLRenderServices::get_inverse_matrix(), OSLRenderServices::get_matrix(), OSLRenderServices::get_matrix(), OSLRenderServices::get_matrix(), OSLRenderServices::get_matrix(), and set_attribute_matrix().
|
static |
Definition at line 772 of file services.cpp.
References NODE_ATTR_FLOAT, NODE_ATTR_FLOAT2, NODE_ATTR_FLOAT3, NODE_ATTR_FLOAT4, NODE_ATTR_MATRIX, NODE_ATTR_RGBA, NULL, primitive_attribute_matrix(), primitive_surface_attribute_float(), primitive_surface_attribute_float2(), primitive_surface_attribute_float3(), primitive_surface_attribute_float4(), set_attribute_float(), set_attribute_float2(), set_attribute_float3(), set_attribute_float4(), set_attribute_matrix(), and AttributeDescriptor::type.
Referenced by OSLRenderServices::get_attribute().
Definition at line 685 of file services.cpp.
References set_attribute_float().
Definition at line 628 of file services.cpp.
References TypeFloatArray4().
Referenced by OSLRenderServices::get_background_attribute(), get_object_attribute(), OSLRenderServices::get_object_standard_attribute(), OSLRenderServices::getmessage(), and set_attribute_float().
|
static |
Definition at line 415 of file services.cpp.
References average(), TypeFloatArray4(), float2::x, and float2::y.
Referenced by get_object_attribute().
Definition at line 544 of file services.cpp.
References make_float3(), and set_attribute_float3().
|
static |
Definition at line 486 of file services.cpp.
References average(), TypeFloatArray4(), float3::x, float3::y, and float3::z.
Referenced by OSLRenderServices::get_background_attribute(), get_object_attribute(), OSLRenderServices::get_object_standard_attribute(), OSLRenderServices::getmessage(), and set_attribute_float3().
|
static |
Definition at line 732 of file services.cpp.
References P.
Referenced by OSLRenderServices::get_object_standard_attribute().
|
static |
Definition at line 563 of file services.cpp.
References average(), float4_to_float3(), and TypeFloatArray4().
Referenced by get_object_attribute(), and OSLRenderServices::get_object_standard_attribute().
Definition at line 696 of file services.cpp.
Referenced by OSLRenderServices::get_background_attribute(), OSLRenderServices::get_object_standard_attribute(), and OSLRenderServices::getmessage().
Definition at line 762 of file services.cpp.
References copy_matrix().
Referenced by get_object_attribute().
|
static |
Definition at line 713 of file services.cpp.
References str, and OSLRenderServices::u_empty.
Referenced by OSLRenderServices::get_object_standard_attribute().