|
Blender V5.0
|
Namespaces | |
| namespace | utils |
Classes | |
| class | ABCArchive |
| class | CustomPropertiesExporter |
| struct | ABCWriterConstructorArgs |
| class | ABCHierarchyIterator |
| class | ABCAbstractWriter |
| class | ABCCameraWriter |
| class | ABCCurveWriter |
| class | ABCCurveMeshWriter |
| class | ABCHairWriter |
| class | ABCInstanceWriter |
| class | ABCMetaballWriter |
| class | ABCGenericMeshWriter |
| class | ABCMeshWriter |
| class | ABCNurbsWriter |
| class | ABCNurbsMeshWriter |
| class | ABCPointsWriter |
| class | ABCTransformWriter |
| struct | UVSample |
| struct | CDStreamConfig |
| class | ArchiveReader |
| class | AbcCameraReader |
| struct | PreprocessedSampleData |
| class | AbcCurveReader |
| struct | AbcMeshData |
| class | AbcMeshReader |
| class | AbcSubDReader |
| class | AbcNurbsReader |
| struct | ImportSettings |
| class | AbcObjectReader |
| class | AbcPointsReader |
| class | AbcEmptyReader |
| struct | SampleInterpolationSettings |
| class | AlembicExportTest |
Typedefs | |
| using | index_time_pair_t = std::pair<Alembic::AbcCoreAbstract::index_t, Alembic::AbcGeom::chrono_t> |
Enumerations | |
| enum | AbcAxisSwapMode { ABC_ZUP_FROM_YUP = 1 , ABC_YUP_FROM_ZUP = 2 } |
| enum | AbcMatrixMode { ABC_MATRIX_WORLD = 1 , ABC_MATRIX_LOCAL = 2 } |
| enum | AbcUvScope { ABC_UV_SCOPE_NONE , ABC_UV_SCOPE_LOOP , ABC_UV_SCOPE_VERTEX } |
Functions | |
| static MetaData | create_abc_metadata (const Main *bmain, double scene_fps) |
| static OArchive * | create_archive (std::ofstream *abc_ostream, const std::string &filepath, MetaData &abc_metadata) |
| static void | get_shutter_samples (double scene_fps, const AlembicExportParams ¶ms, int nr_of_samples, bool time_relative, std::vector< double > &r_samples) |
| static TimeSamplingPtr | create_time_sampling (double scene_fps, const AlembicExportParams ¶ms, int nr_of_samples) |
| static void | get_frames (double scene_fps, const AlembicExportParams ¶ms, uint nr_of_samples, std::set< double > &r_frames) |
| static bool | build_depsgraph (ExportJobData *job) |
| static void | report_job_duration (const ExportJobData *data) |
| static void | export_startjob (void *customdata, wmJobWorkerStatus *worker_status) |
| static void | export_endjob (void *customdata) |
| const std::string | ABC_CURVE_RESOLUTION_U_PROPNAME ("blender:resolution") |
| static Imath::V3f | to_yup_V3f (float3 v) |
| static void | get_vertices (Mesh *mesh, std::vector< Imath::V3f > &points) |
| static void | get_topology (Mesh *mesh, std::vector< int32_t > &face_verts, std::vector< int32_t > &loop_counts) |
| static void | get_edge_creases (Mesh *mesh, std::vector< int32_t > &indices, std::vector< int32_t > &lengths, std::vector< float > &sharpnesses) |
| static void | get_vert_creases (Mesh *mesh, std::vector< int32_t > &indices, std::vector< float > &sharpnesses) |
| static void | get_loop_normals (const Mesh *mesh, std::vector< Imath::V3f > &normals) |
| static void | get_knots (std::vector< float > &knots, const int num_knots, float *nu_knots) |
| void | create_swapped_rotation_matrix (float rot_x_mat[3][3], float rot_y_mat[3][3], float rot_z_mat[3][3], const float euler[3], AbcAxisSwapMode mode) |
| void | copy_m44_axis_swap (float dst_mat[4][4], float src_mat[4][4], AbcAxisSwapMode mode) |
| void | create_transform_matrix (Object *obj, float r_yup_mat[4][4], AbcMatrixMode mode, Object *proxy_from) |
| BLI_INLINE void | copy_zup_from_yup (float zup[3], const float yup[3]) |
| BLI_INLINE void | copy_zup_from_yup (short zup[3], const short yup[3]) |
| BLI_INLINE void | copy_yup_from_zup (float yup[3], const float zup[3]) |
| BLI_INLINE void | copy_yup_from_zup (short yup[3], const short zup[3]) |
| static const std::string | propNameOriginalCoordinates ("Pref") |
| static void | get_uvs (const CDStreamConfig &config, std::vector< Imath::V2f > &uvs, std::vector< uint32_t > &uvidx, const void *cd_data) |
| const char * | get_uv_sample (UVSample &sample, const CDStreamConfig &config, CustomData *data) |
| static void | write_uv (const OCompoundProperty &prop, CDStreamConfig &config, const void *data, const std::string &uv_map_name) |
| static void | get_cols (const CDStreamConfig &config, std::vector< Imath::C4f > &buffer, std::vector< uint32_t > &uvidx, const void *cd_data) |
| static void | write_mcol (const OCompoundProperty &prop, CDStreamConfig &config, const void *data, const std::string &vcol_name) |
| void | write_generated_coordinates (const OCompoundProperty &prop, CDStreamConfig &config) |
| void | write_custom_data (const OCompoundProperty &prop, CDStreamConfig &config, CustomData *data, int data_type) |
| static void | read_uvs (const CDStreamConfig &config, void *data, const AbcUvScope uv_scope, const Alembic::AbcGeom::V2fArraySamplePtr &uvs, const UInt32ArraySamplePtr &indices) |
| static size_t | mcols_out_of_bounds_check (const size_t color_index, const size_t array_size, const std::string &iobject_full_name, const PropertyHeader &prop_header, bool &r_is_out_of_bounds, bool &r_bounds_warning_given) |
| static void | read_custom_data_mcols (const std::string &iobject_full_name, const ICompoundProperty &arbGeomParams, const PropertyHeader &prop_header, const CDStreamConfig &config, const Alembic::Abc::ISampleSelector &iss) |
| static void | read_custom_data_uvs (const ICompoundProperty &prop, const PropertyHeader &prop_header, const CDStreamConfig &config, const Alembic::Abc::ISampleSelector &iss) |
| void | read_velocity (const V3fArraySamplePtr &velocities, const CDStreamConfig &config, const float velocity_scale) |
| void | read_generated_coordinates (const ICompoundProperty &prop, const CDStreamConfig &config, const Alembic::Abc::ISampleSelector &iss) |
| void | read_custom_data (const std::string &iobject_full_name, const ICompoundProperty &prop, const CDStreamConfig &config, const Alembic::Abc::ISampleSelector &iss) |
| AbcUvScope | get_uv_scope (const Alembic::AbcGeom::GeometryScope scope, const CDStreamConfig &config, const Alembic::AbcGeom::UInt32ArraySamplePtr &indices) |
| static IArchive | open_archive (const std::string &filename, const std::vector< std::istream * > &input_streams) |
| static int16_t | get_curve_resolution (const ICurvesSchema &schema, const Alembic::Abc::ISampleSelector &sample_sel) |
| static int16_t | get_curve_order (const Alembic::AbcGeom::CurveType abc_curve_type, const UcharArraySamplePtr orders, const size_t curve_index) |
| static int8_t | get_knot_mode (const Alembic::AbcGeom::CurveType abc_curve_type) |
| static int | get_curve_overlap (const P3fArraySamplePtr positions, const int idx, const int num_verts, const int16_t order) |
| static CurveType | get_curve_type (const Alembic::AbcGeom::BasisType basis) |
| static int | bezier_point_count (int alembic_count, bool is_cyclic) |
| static float3 | to_zup_float3 (Imath::V3f v) |
| static bool | curves_topology_changed (const bke::CurvesGeometry &curves, Span< int > preprocessed_offsets) |
| template<typename SampleType> | |
| static bool | samples_have_same_topology (const SampleType &sample, const SampleType &ceil_sample) |
| static std::optional< PreprocessedSampleData > | preprocess_sample (StringRefNull iobject_name, bool use_interpolation, const ICurvesSchema &schema, const ISampleSelector sample_sel) |
| BLI_INLINE float3 | interpolate_to_zup (const Span< Imath::V3f > &floor_positions, const Span< Imath::V3f > &ceil_positions, int i, float weight) |
| static void | add_bezier_control_point (int cp, int offset, const Span< Imath::V3f > floor_positions, const Span< Imath::V3f > ceil_positions, MutableSpan< float3 > positions, MutableSpan< float3 > handles_left, MutableSpan< float3 > handles_right, float weight) |
| static void | read_mverts_interp (float3 *vert_positions, const P3fArraySamplePtr &positions, const P3fArraySamplePtr &ceil_positions, const double weight) |
| static void | read_mverts (CDStreamConfig &config, const AbcMeshData &mesh_data) |
| void | read_mverts (Mesh &mesh, const P3fArraySamplePtr positions, const N3fArraySamplePtr normals) |
| static void | read_mpolys (CDStreamConfig &config, const AbcMeshData &mesh_data) |
| static void | process_no_normals (CDStreamConfig &) |
| static void | process_loop_normals (CDStreamConfig &config, const N3fArraySamplePtr loop_normals_ptr) |
| static void | process_vertex_normals (CDStreamConfig &config, const N3fArraySamplePtr vertex_normals_ptr) |
| static void | process_normals (CDStreamConfig &config, const IN3fGeomParam &normals, const ISampleSelector &selector) |
| BLI_INLINE void | read_uvs_params (CDStreamConfig &config, AbcMeshData &abc_data, const IV2fGeomParam &uv, const ISampleSelector &selector) |
| static void * | add_customdata_cb (Mesh *mesh, const char *name, int data_type) |
| template<typename SampleType> | |
| static bool | samples_have_same_topology (const SampleType &sample, const SampleType &ceil_sample) |
| static void | read_mesh_sample (const std::string &iobject_full_name, ImportSettings *settings, const IPolyMeshSchema &schema, const ISampleSelector &selector, CDStreamConfig &config) |
| static CDStreamConfig | get_config (Mesh *mesh) |
| template<class typedGeomParam> | |
| bool | is_valid_animated (const ICompoundProperty arbGeomParams, const PropertyHeader &prop_header) |
| static bool | has_animated_geom_params (const ICompoundProperty arbGeomParams) |
| template<> | |
| bool | has_animations (Alembic::AbcGeom::IPolyMeshSchema &schema, ImportSettings *settings) |
| template<> | |
| bool | has_animations (Alembic::AbcGeom::ISubDSchema &schema, ImportSettings *settings) |
| static void | read_subd_sample (const std::string &iobject_full_name, ImportSettings *settings, const ISubDSchema &schema, const ISampleSelector &selector, CDStreamConfig &config) |
| static void | read_vertex_creases (Mesh *mesh, const Int32ArraySamplePtr &indices, const FloatArraySamplePtr &sharpnesses, const ImportSettings *settings) |
| static void | read_edge_creases (Mesh *mesh, const Int32ArraySamplePtr &indices, const FloatArraySamplePtr &sharpnesses, const ImportSettings *settings) |
| void | read_mverts (Mesh &mesh, const Alembic::AbcGeom::P3fArraySamplePtr positions, const Alembic::AbcGeom::N3fArraySamplePtr normals) |
| static bool | set_knots (const FloatArraySamplePtr &knots, float *&nu_knots) |
| static Imath::M44d | blend_matrices (const Imath::M44d &m0, const Imath::M44d &m1, const double weight) |
| Imath::M44d | get_matrix (const IXformSchema &schema, const chrono_t time) |
| template<typename Schema> | |
| static bool | has_animations (Schema &schema, ImportSettings *settings) |
| Imath::M44d | get_matrix (const Alembic::AbcGeom::IXformSchema &schema, chrono_t time) |
| static void | read_points (const P3fArraySamplePtr positions, MutableSpan< float3 > r_points) |
| static void | read_points_sample (const IPointsSchema &schema, const ISampleSelector &selector, MutableSpan< float3 > r_points) |
| template<typename TOut, typename TIn> | |
| static TOut | convert_abc_value (const TIn &in) |
| template<> | |
| float3 | convert_abc_value (const V3f &in) |
| template<> | |
| ColorGeometry4f | convert_abc_value (const C3f &in) |
| template<> | |
| float2 | convert_abc_value (const V2f &in) |
| template<typename TArrayProperty, typename TWriteValue> | |
| static void | read_typed_property_sample (const ICompoundProperty &parent, const ISampleSelector &selector, const std::string &name, bke::MutableAttributeAccessor &attribute_accessor) |
| static void | read_point_arb_geom_params (const IPointsSchema &schema, const ISampleSelector &selector, bke::MutableAttributeAccessor &attribute_accessor) |
| std::string | get_valid_abc_name (const char *name) |
| Imath::M44d | convert_matrix_datatype (const float mat[4][4]) |
| void | convert_matrix_datatype (const Imath::M44d &xform, float r_mat[4][4]) |
| void | split (const std::string &s, const char delim, std::vector< std::string > &tokens) |
| bool | has_property (const Alembic::Abc::ICompoundProperty &prop, const std::string &name) |
| V3fArraySamplePtr | get_velocity_prop (const Alembic::Abc::ICompoundProperty &schema, const Alembic::AbcGeom::ISampleSelector &selector, const std::string &name) |
| std::optional< SampleInterpolationSettings > | get_sample_interpolation_settings (const Alembic::AbcGeom::ISampleSelector &selector, const Alembic::AbcCoreAbstract::TimeSamplingPtr &time_sampling, size_t samples_number) |
| AbcObjectReader * | create_reader (const Alembic::AbcGeom::IObject &object, ImportSettings &settings) |
| template<class TContainer> | |
| bool | begins_with (const TContainer &input, const TContainer &match) |
| template<typename Schema> | |
| void | get_min_max_time_ex (const Schema &schema, chrono_t &min, chrono_t &max) |
| template<typename Schema> | |
| void | get_min_max_time (const Alembic::AbcGeom::IObject &object, const Schema &schema, chrono_t &min, chrono_t &max) |
| TEST_F (AlembicExportTest, TimeSamplesFullShutterUniform) | |
| TEST_F (AlembicExportTest, TimeSamplesFullShutterDifferent) | |
| TEST_F (AlembicExportTest, TimeSamples180degShutter) | |
| TEST (abc_matrix, CreateRotationMatrixY_YfromZ) | |
| TEST (abc_matrix, CreateRotationMatrixZ_YfromZ) | |
| TEST (abc_matrix, CreateRotationMatrixXYZ_YfromZ) | |
| TEST (abc_matrix, CreateRotationMatrixXYZ_ZfromY) | |
| TEST (abc_matrix, CopyM44AxisSwap_YfromZ) | |
| TEST (abc_matrix, CopyM44AxisSwapWithScale_YfromZ) | |
| TEST (abc_matrix, CopyM44AxisSwap_ZfromY) | |
| TEST (abc_matrix, CopyM44AxisSwapWithScale_ZfromY) | |
| TEST (abc_matrix, CopyM44AxisSwapWithScale_gimbal_ZfromY) | |
Variables | |
| const std::string | ABC_CURVE_RESOLUTION_U_PROPNAME |
| using blender::io::alembic::index_time_pair_t = std::pair<Alembic::AbcCoreAbstract::index_t, Alembic::AbcGeom::chrono_t> |
Definition at line 120 of file abc_util.cc.
| Enumerator | |
|---|---|
| ABC_ZUP_FROM_YUP | |
| ABC_YUP_FROM_ZUP | |
Definition at line 60 of file abc_axis_conversion.h.
| Enumerator | |
|---|---|
| ABC_MATRIX_WORLD | |
| ABC_MATRIX_LOCAL | |
Definition at line 81 of file abc_axis_conversion.h.
| Enumerator | |
|---|---|
| ABC_UV_SCOPE_NONE | |
| ABC_UV_SCOPE_LOOP | |
| ABC_UV_SCOPE_VERTEX | |
Definition at line 106 of file abc_customdata.h.
| const std::string blender::io::alembic::ABC_CURVE_RESOLUTION_U_PROPNAME | ( | "blender:resolution" | ) |
|
static |
Definition at line 416 of file abc_reader_curves.cc.
References interpolate_to_zup(), and blender::Span< T >::size().
Referenced by blender::io::alembic::AbcCurveReader::read_curves_sample().
|
static |
Definition at line 374 of file abc_reader_mesh.cc.
References CD_PROP_BYTE_COLOR, CD_PROP_FLOAT2, CD_SET_DEFAULT, Mesh::corner_data, Mesh::corners_num, CustomData_add_layer_named(), CustomData_get_layer_named_for_write(), ELEM, and name.
Referenced by get_config().
| bool blender::io::alembic::begins_with | ( | const TContainer & | input, |
| const TContainer & | match ) |
Definition at line 45 of file abc_util.h.
References input.
|
inlinestatic |
Definition at line 141 of file abc_reader_curves.cc.
References is_cyclic().
Referenced by preprocess_sample().
|
static |
Definition at line 104 of file abc_reader_object.cc.
References convert_matrix_datatype(), interp_m4_m4m4(), and ret.
Referenced by get_matrix().
|
static |
Definition at line 53 of file abc_export_capi.cc.
References BKE_libblock_find_name(), ExportJobData::bmain, AlembicExportParams::collection, DEG_graph_build_from_collection(), DEG_graph_build_from_view_layer(), ExportJobData::depsgraph, ID_GR, ExportJobData::params, RPT_ERROR, and WM_global_reportf().
Referenced by ABC_export().
| ColorGeometry4f blender::io::alembic::convert_abc_value | ( | const C3f & | in | ) |
Definition at line 117 of file abc_reader_points.cc.
References in.
|
static |
Definition at line 103 of file abc_reader_points.cc.
References in.
Referenced by read_typed_property_sample().
| float2 blender::io::alembic::convert_abc_value | ( | const V2f & | in | ) |
Definition at line 122 of file abc_reader_points.cc.
References in.
| float3 blender::io::alembic::convert_abc_value | ( | const V3f & | in | ) |
Definition at line 110 of file abc_reader_points.cc.
References copy_zup_from_yup(), in, and out.
| Imath::M44d blender::io::alembic::convert_matrix_datatype | ( | const float | mat[4][4] | ) |
Definition at line 39 of file abc_util.cc.
References i.
Referenced by blend_matrices(), blender::io::alembic::ABCTransformWriter::do_write(), and blender::io::alembic::AbcObjectReader::read_matrix().
| void blender::io::alembic::convert_matrix_datatype | ( | const Imath::M44d & | xform, |
| float | r_mat[4][4] ) |
Definition at line 52 of file abc_util.cc.
| void blender::io::alembic::copy_m44_axis_swap | ( | float | dst_mat[4][4], |
| float | src_mat[4][4], | ||
| AbcAxisSwapMode | mode ) |
Convert matrix from Z=up to Y=up or vice versa. Use yup_mat = zup_mat for in-place conversion.
Definition at line 70 of file abc_axis_conversion.cc.
References ABC_YUP_FROM_ZUP, ABC_ZUP_FROM_YUP, BLI_assert, copy_m4_m3(), copy_yup_from_zup(), copy_zup_from_yup(), create_swapped_rotation_matrix(), mat3_to_eulO(), mat4_to_loc_rot_size(), mul_m3_m3m3(), mul_m4_m4m4(), ROT_MODE_XZY, size_to_mat4(), unit_m3(), unit_m4(), and zero_v3().
Referenced by create_transform_matrix(), blender::io::alembic::ABCTransformWriter::do_write(), blender::io::alembic::AbcObjectReader::read_matrix(), TEST(), TEST(), TEST(), TEST(), and TEST().
| BLI_INLINE void blender::io::alembic::copy_yup_from_zup | ( | float | yup[3], |
| const float | zup[3] ) |
Definition at line 41 of file abc_axis_conversion.h.
References BLI_INLINE.
Referenced by copy_m44_axis_swap(), blender::io::alembic::ABCNurbsWriter::do_write(), get_vertices(), to_yup_V3f(), and write_generated_coordinates().
| BLI_INLINE void blender::io::alembic::copy_yup_from_zup | ( | short | yup[3], |
| const short | zup[3] ) |
Definition at line 49 of file abc_axis_conversion.h.
References BLI_INLINE.
| BLI_INLINE void blender::io::alembic::copy_zup_from_yup | ( | float | zup[3], |
| const float | yup[3] ) |
Definition at line 23 of file abc_axis_conversion.h.
References BLI_INLINE.
Referenced by convert_abc_value(), copy_m44_axis_swap(), interpolate_to_zup(), process_loop_normals(), process_vertex_normals(), read_generated_coordinates(), blender::io::alembic::AbcPointsReader::read_geometry(), read_mverts(), read_mverts_interp(), read_points(), read_velocity(), blender::io::alembic::AbcNurbsReader::readObjectData(), and to_zup_float3().
| BLI_INLINE void blender::io::alembic::copy_zup_from_yup | ( | short | zup[3], |
| const short | yup[3] ) |
Definition at line 31 of file abc_axis_conversion.h.
References BLI_INLINE.
|
static |
Definition at line 39 of file abc_archive.cc.
References BKE_blender_version_string(), and Main::filepath.
Referenced by blender::io::alembic::ABCArchive::ABCArchive().
|
static |
Definition at line 72 of file abc_archive.cc.
References BLI_strncpy(), FILE_MAX, UTF16_ENCODE, and UTF16_UN_ENCODE.
Referenced by blender::io::alembic::ABCArchive::ABCArchive().
| AbcObjectReader * blender::io::alembic::create_reader | ( | const Alembic::AbcGeom::IObject & | object, |
| ImportSettings & | settings ) |
Definition at line 155 of file abc_util.cc.
Referenced by CacheReader_open_alembic_object().
| void blender::io::alembic::create_swapped_rotation_matrix | ( | float | rot_x_mat[3][3], |
| float | rot_y_mat[3][3], | ||
| float | rot_z_mat[3][3], | ||
| const float | euler[3], | ||
| AbcAxisSwapMode | mode ) |
Create a rotation matrix for each axis from euler angles. Euler angles are swapped to change coordinate system.
Definition at line 22 of file abc_axis_conversion.cc.
References ABC_YUP_FROM_ZUP, ABC_ZUP_FROM_YUP, BLI_assert, cos, sin, and unit_m3().
Referenced by copy_m44_axis_swap(), TEST(), TEST(), TEST(), and TEST().
|
static |
Definition at line 126 of file abc_archive.cc.
References get_shutter_samples(), and params.
Referenced by blender::io::alembic::ABCArchive::ABCArchive().
| void blender::io::alembic::create_transform_matrix | ( | Object * | obj, |
| float | r_yup_mat[4][4], | ||
| AbcMatrixMode | mode, | ||
| Object * | proxy_from ) |
Recompute transform matrix of object in new coordinate system (from Z-Up to Y-Up).
Definition at line 132 of file abc_axis_conversion.cc.
References ABC_MATRIX_LOCAL, ABC_YUP_FROM_ZUP, copy_m44_axis_swap(), copy_m4_m4(), invert_m4_m4(), and mul_m4_m4m4().
|
static |
Definition at line 153 of file abc_reader_curves.cc.
References blender::bke::CurvesGeometry::offsets().
Referenced by blender::io::alembic::AbcCurveReader::read_curves_sample().
|
static |
Definition at line 184 of file abc_export_capi.cc.
References BLI_delete(), BLI_exists(), data, DEG_graph_free(), G, report_job_duration(), and WM_locked_interface_set().
Referenced by ABC_export().
|
static |
Definition at line 81 of file abc_export_capi.cc.
References BKE_scene_graph_update_for_newframe(), BKE_scene_graph_update_tagged(), RenderData::cfra, CLOG_DEBUG, CLOG_ERROR, CLOG_STR_DEBUG, data, DEG_get_input_scene(), blender::io::SubdivModifierDisabler::disable_modifiers(), wmJobWorkerStatus::do_update, float, G, blender::io::alembic::ABCHierarchyIterator::iterate_and_write(), LOG, wmJobWorkerStatus::progress, Scene::r, blender::io::AbstractHierarchyIterator::release_writers(), RPT_ERROR, blender::io::AbstractHierarchyIterator::set_export_subset(), wmJobWorkerStatus::stop, RenderData::subframe, WM_global_report(), and WM_locked_interface_set().
Referenced by ABC_export().
|
static |
Definition at line 177 of file abc_customdata.cc.
References MCol::a, MCol::b, col, faces, MCol::g, i, blender::io::alembic::CDStreamConfig::mesh, MCol::r, blender::IndexRange::size(), blender::IndexRange::start(), and blender::io::alembic::CDStreamConfig::totvert.
Referenced by write_mcol().
|
static |
Definition at line 484 of file abc_reader_mesh.cc.
References add_customdata_cb(), blender::io::alembic::CDStreamConfig::add_customdata_cb, Mesh::corner_data, blender::io::alembic::CDStreamConfig::corner_verts, Mesh::corners_num, blender::io::alembic::CDStreamConfig::face_offsets, blender::io::alembic::CDStreamConfig::faces_num, Mesh::faces_num, blender::io::alembic::CDStreamConfig::loopdata, blender::io::alembic::CDStreamConfig::mesh, blender::io::alembic::CDStreamConfig::positions, blender::io::alembic::CDStreamConfig::totloop, blender::io::alembic::CDStreamConfig::totvert, and Mesh::verts_num.
Referenced by blender::io::alembic::AbcMeshReader::read_mesh().
|
static |
Definition at line 61 of file abc_reader_curves.cc.
References ATTR_FALLTHROUGH.
Referenced by preprocess_sample().
|
static |
Definition at line 88 of file abc_reader_curves.cc.
Referenced by preprocess_sample().
|
static |
Definition at line 44 of file abc_reader_curves.cc.
References ABC_CURVE_RESOLUTION_U_PROPNAME.
Referenced by blender::io::alembic::AbcCurveReader::read_curves_sample().
|
static |
Definition at line 122 of file abc_reader_curves.cc.
References CURVE_TYPE_BEZIER, CURVE_TYPE_CATMULL_ROM, CURVE_TYPE_NURBS, and CURVE_TYPE_POLY.
Referenced by preprocess_sample().
|
static |
Definition at line 464 of file abc_writer_mesh.cc.
References Geometry::attributes, blender::bke::subdiv::crease_to_sharpness(), blender::bke::Edge, i, blender::Span< T >::index_range(), indices, and blender::bke::AttributeAccessor::lookup().
|
static |
Definition at line 142 of file abc_archive.cc.
References get_shutter_samples(), and params.
Referenced by blender::io::alembic::ABCArchive::ABCArchive().
|
static |
Definition at line 79 of file abc_reader_curves.cc.
References NURBS_KNOT_MODE_ENDPOINT, and NURBS_KNOT_MODE_NORMAL.
Referenced by preprocess_sample().
|
static |
Definition at line 91 of file abc_writer_nurbs.cc.
References i.
Referenced by blender::io::alembic::ABCNurbsWriter::do_write().
|
static |
Definition at line 518 of file abc_writer_mesh.cc.
References blender::bke::Corner, Mesh::corners_num, blender::bke::Face, faces, normals, blender::threading::parallel_for(), and blender::bke::Point.
| Imath::M44d blender::io::alembic::get_matrix | ( | const Alembic::AbcGeom::IXformSchema & | schema, |
| chrono_t | time ) |
| Imath::M44d blender::io::alembic::get_matrix | ( | const IXformSchema & | schema, |
| const chrono_t | time ) |
Definition at line 121 of file abc_reader_object.cc.
References blend_matrices(), and get_sample_interpolation_settings().
Referenced by blender::io::alembic::AbcObjectReader::read_matrix().
| void blender::io::alembic::get_min_max_time | ( | const Alembic::AbcGeom::IObject & | object, |
| const Schema & | schema, | ||
| chrono_t & | min, | ||
| chrono_t & | max ) |
Definition at line 69 of file abc_util.h.
References get_min_max_time_ex(), max, and min.
Referenced by blender::io::alembic::AbcCameraReader::AbcCameraReader(), blender::io::alembic::AbcCurveReader::AbcCurveReader(), blender::io::alembic::AbcEmptyReader::AbcEmptyReader(), blender::io::alembic::AbcMeshReader::AbcMeshReader(), blender::io::alembic::AbcNurbsReader::AbcNurbsReader(), blender::io::alembic::AbcPointsReader::AbcPointsReader(), and blender::io::alembic::AbcSubDReader::AbcSubDReader().
| void blender::io::alembic::get_min_max_time_ex | ( | const Schema & | schema, |
| chrono_t & | min, | ||
| chrono_t & | max ) |
Definition at line 51 of file abc_util.h.
Referenced by get_min_max_time().
| std::optional< SampleInterpolationSettings > blender::io::alembic::get_sample_interpolation_settings | ( | const Alembic::AbcGeom::ISampleSelector & | selector, |
| const Alembic::AbcCoreAbstract::TimeSamplingPtr & | time_sampling, | ||
| size_t | samples_number ) |
Check whether the requested time from the selector falls between two sampling time from the time_sampling. If so, returns a SampleInterpolationSettings with the required data to interpolate. If not, returns nothing and we can assume that the requested time falls on a specific sampling time of time_sampling and no interpolation is necessary.
Definition at line 122 of file abc_util.cc.
References fabs().
Referenced by get_matrix(), preprocess_sample(), read_mesh_sample(), and read_subd_sample().
|
static |
Definition at line 105 of file abc_archive.cc.
References params, and sample.
Referenced by create_time_sampling(), and get_frames().
|
static |
Definition at line 440 of file abc_writer_mesh.cc.
References faces, i, blender::IndexRange::size(), blender::Span< T >::size(), and blender::IndexRange::start().
| const char * blender::io::alembic::get_uv_sample | ( | UVSample & | sample, |
| const CDStreamConfig & | config, | ||
| CustomData * | data ) |
Definition at line 129 of file abc_customdata.cc.
References CD_PROP_FLOAT2, CustomData_get_active_layer(), CustomData_get_layer_n(), CustomData_get_layer_name(), data, get_uvs(), and sample.
| AbcUvScope blender::io::alembic::get_uv_scope | ( | const Alembic::AbcGeom::GeometryScope | scope, |
| const CDStreamConfig & | config, | ||
| const Alembic::AbcGeom::UInt32ArraySamplePtr & | indices ) |
UVs can be defined per-loop (one value per vertex per face), or per-vertex (one value per vertex). The first case is the most common, as this is the standard way of storing this data given that some vertices might be on UV seams and have multiple possible UV coordinates; the second case can happen when the mesh is split according to the UV islands, in which case storing a single UV value per vertex allows to de-duplicate data and thus to reduce the file size since vertices are guaranteed to only have a single UV coordinate.
Definition at line 619 of file abc_customdata.cc.
References ABC_UV_SCOPE_LOOP, ABC_UV_SCOPE_NONE, ABC_UV_SCOPE_VERTEX, ELEM, indices, blender::io::alembic::CDStreamConfig::totloop, and blender::io::alembic::CDStreamConfig::totvert.
Referenced by read_custom_data_uvs(), and read_uvs_params().
|
static |
Definition at line 58 of file abc_customdata.cc.
References blender::io::alembic::CDStreamConfig::corner_verts, count, faces, i, blender::io::alembic::CDStreamConfig::mesh, blender::io::alembic::CDStreamConfig::pack_uvs, blender::IndexRange::size(), blender::IndexRange::start(), blender::io::alembic::CDStreamConfig::totloop, and blender::io::alembic::CDStreamConfig::totvert.
Referenced by get_uv_sample(), and write_uv().
| std::string blender::io::alembic::get_valid_abc_name | ( | const char * | name | ) |
Definition at line 29 of file abc_util.cc.
References name.
Referenced by blender::io::alembic::ABCHierarchyIterator::make_valid_name(), and write_custom_data().
| V3fArraySamplePtr blender::io::alembic::get_velocity_prop | ( | const Alembic::Abc::ICompoundProperty & | schema, |
| const Alembic::AbcGeom::ISampleSelector & | selector, | ||
| const std::string & | name ) |
Definition at line 84 of file abc_util.cc.
References has_property(), i, and name.
Referenced by blender::io::alembic::AbcPointsReader::read_geometry(), read_mesh_sample(), and read_subd_sample().
|
static |
Definition at line 494 of file abc_writer_mesh.cc.
References Geometry::attributes, blender::bke::subdiv::crease_to_sharpness(), i, blender::Span< T >::index_range(), indices, blender::bke::AttributeAccessor::lookup(), and blender::bke::Point.
|
static |
Definition at line 429 of file abc_writer_mesh.cc.
References copy_yup_from_zup(), e, i, and Mesh::verts_num.
|
static |
Definition at line 529 of file abc_reader_mesh.cc.
References i, and is_valid_animated().
Referenced by has_animations(), and has_animations().
| bool blender::io::alembic::has_animations | ( | Alembic::AbcGeom::IPolyMeshSchema & | schema, |
| ImportSettings * | settings ) |
Definition at line 552 of file abc_reader_mesh.cc.
References has_animated_geom_params(), and blender::io::alembic::ImportSettings::is_sequence.
Referenced by blender::io::alembic::AbcCurveReader::readObjectData(), blender::io::alembic::AbcMeshReader::readObjectData(), blender::io::alembic::AbcPointsReader::readObjectData(), and blender::io::alembic::AbcSubDReader::readObjectData().
| bool blender::io::alembic::has_animations | ( | Alembic::AbcGeom::ISubDSchema & | schema, |
| ImportSettings * | settings ) |
Definition at line 576 of file abc_reader_mesh.cc.
References has_animated_geom_params(), and blender::io::alembic::ImportSettings::is_sequence.
|
static |
Definition at line 63 of file abc_reader_object.h.
References blender::io::alembic::ImportSettings::is_sequence.
| bool blender::io::alembic::has_property | ( | const Alembic::Abc::ICompoundProperty & | prop, |
| const std::string & | name ) |
Definition at line 75 of file abc_util.cc.
References name.
Referenced by gather_objects_paths(), get_velocity_prop(), blender::io::alembic::AbcNurbsReader::readObjectData(), and visit_object().
| BLI_INLINE float3 blender::io::alembic::interpolate_to_zup | ( | const Span< Imath::V3f > & | floor_positions, |
| const Span< Imath::V3f > & | ceil_positions, | ||
| int | i, | ||
| float | weight ) |
Definition at line 402 of file abc_reader_curves.cc.
References BLI_INLINE, copy_zup_from_yup(), i, and interp_v3_v3v3().
Referenced by add_bezier_control_point(), and blender::io::alembic::AbcCurveReader::read_curves_sample().
| bool blender::io::alembic::is_valid_animated | ( | const ICompoundProperty | arbGeomParams, |
| const PropertyHeader & | prop_header ) |
Definition at line 519 of file abc_reader_mesh.cc.
Referenced by has_animated_geom_params().
|
static |
Definition at line 351 of file abc_customdata.cc.
Referenced by read_custom_data_mcols().
|
static |
Definition at line 36 of file abc_reader_archive.cc.
References e.
|
static |
Definition at line 228 of file abc_reader_curves.cc.
References bezier_point_count(), blender::StringRefNull::c_str(), CURVE_TYPE_BEZIER, CURVE_TYPE_NURBS, CURVE_TYPE_POLY, data, get_curve_order(), get_curve_overlap(), get_curve_type(), get_knot_mode(), get_sample_interpolation_settings(), i, NURBS_KNOT_MODE_NORMAL, printf, and samples_have_same_topology().
Referenced by blender::io::alembic::AbcCurveReader::read_curves_sample().
|
static |
Definition at line 254 of file abc_reader_mesh.cc.
References copy_zup_from_yup(), Mesh::corners_num, e, faces, Mesh::faces_num, i, blender::io::alembic::CDStreamConfig::mesh, blender::bke::mesh_set_custom_normals(), process_no_normals(), and blender::IndexRange::size().
Referenced by process_normals().
|
static |
Definition at line 249 of file abc_reader_mesh.cc.
Referenced by process_loop_normals(), process_normals(), process_vertex_normals(), and read_subd_sample().
|
static |
Definition at line 309 of file abc_reader_mesh.cc.
References normals, process_loop_normals(), process_no_normals(), and process_vertex_normals().
Referenced by read_mesh_sample().
|
static |
Definition at line 290 of file abc_reader_mesh.cc.
References copy_zup_from_yup(), blender::io::alembic::CDStreamConfig::mesh, blender::bke::mesh_set_custom_normals_from_verts(), and process_no_normals().
Referenced by process_normals().
|
static |
Referenced by read_generated_coordinates(), and write_generated_coordinates().
| void blender::io::alembic::read_custom_data | ( | const std::string & | iobject_full_name, |
| const ICompoundProperty & | prop, | ||
| const CDStreamConfig & | config, | ||
| const Alembic::Abc::ISampleSelector & | iss ) |
Definition at line 585 of file abc_customdata.cc.
References i, MAX_MTFACE, read_custom_data_mcols(), and read_custom_data_uvs().
Referenced by read_mesh_sample(), and read_subd_sample().
|
static |
Definition at line 372 of file abc_customdata.cc.
References MCol::a, blender::io::alembic::CDStreamConfig::add_customdata_cb, MCol::b, BLI_assert, CD_PROP_BYTE_COLOR, blender::io::alembic::CDStreamConfig::corner_verts, faces, MCol::g, i, indices, mcols_out_of_bounds_check(), blender::io::alembic::CDStreamConfig::mesh, MCol::r, sample, blender::IndexRange::size(), blender::IndexRange::start(), STREQ, blender::io::alembic::CDStreamConfig::totloop, and unit_float_to_uchar_clamp().
Referenced by read_custom_data().
|
static |
Definition at line 485 of file abc_customdata.cc.
References ABC_UV_SCOPE_NONE, blender::io::alembic::CDStreamConfig::add_customdata_cb, CD_PROP_FLOAT2, get_uv_scope(), blender::io::alembic::CDStreamConfig::mesh, read_uvs(), and sample.
Referenced by read_custom_data().
|
static |
Definition at line 985 of file abc_reader_mesh.cc.
References blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), blender::io::alembic::ImportSettings::blender_archive_version_prior_44, e, blender::bke::Edge, blender::bke::SpanAttributeWriter< T >::finish(), i, blender::Span< T >::index_range(), indices, blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_ptr(), blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::reserve(), blender::bke::subdiv::sharpness_to_crease(), blender::Span< T >::size(), blender::bke::SpanAttributeWriter< T >::span, and v2.
| void blender::io::alembic::read_generated_coordinates | ( | const ICompoundProperty & | prop, |
| const CDStreamConfig & | config, | ||
| const Alembic::Abc::ISampleSelector & | iss ) |
Definition at line 536 of file abc_customdata.cc.
References BKE_mesh_orco_verts_transform(), CD_CONSTRUCT, CD_ORCO, copy_zup_from_yup(), CustomData_add_layer(), CustomData_get_layer_for_write(), CustomData_has_layer(), float, blender::io::alembic::CDStreamConfig::mesh, propNameOriginalCoordinates(), sample, Mesh::vert_data, and Mesh::verts_num.
Referenced by read_mesh_sample().
|
static |
Definition at line 430 of file abc_reader_mesh.cc.
References blender::io::alembic::AbcMeshData::ceil_positions, blender::io::alembic::AbcMeshData::face_counts, blender::io::alembic::AbcMeshData::face_indices, get_sample_interpolation_settings(), get_velocity_prop(), blender::io::alembic::AbcMeshData::interpolation_settings, MOD_MESHSEQ_INTERPOLATE_VERTICES, MOD_MESHSEQ_READ_COLOR, MOD_MESHSEQ_READ_POLY, MOD_MESHSEQ_READ_UV, MOD_MESHSEQ_READ_VERT, blender::io::alembic::AbcMeshData::positions, process_normals(), read_custom_data(), blender::io::alembic::ImportSettings::read_flag, read_generated_coordinates(), read_mpolys(), read_mverts(), read_uvs_params(), read_velocity(), sample, samples_have_same_topology(), blender::io::alembic::ImportSettings::velocity_name, and blender::io::alembic::ImportSettings::velocity_scale.
Referenced by blender::io::alembic::AbcMeshReader::read_mesh().
|
static |
Definition at line 182 of file abc_reader_mesh.cc.
References ABC_UV_SCOPE_LOOP, ABC_UV_SCOPE_NONE, BKE_mesh_validate(), BLI_assert, blender::io::alembic::CDStreamConfig::corner_verts, blender::io::alembic::AbcMeshData::face_counts, blender::io::alembic::AbcMeshData::face_indices, blender::io::alembic::CDStreamConfig::face_offsets, i, blender::io::alembic::CDStreamConfig::mesh, blender::bke::mesh_calc_edges(), blender::io::alembic::CDStreamConfig::modifier_error_message, blender::io::alembic::CDStreamConfig::uv_map, blender::io::alembic::AbcMeshData::uv_scope, blender::io::alembic::AbcMeshData::uvs, and blender::io::alembic::AbcMeshData::uvs_indices.
Referenced by read_mesh_sample(), and read_subd_sample().
|
static |
Definition at line 143 of file abc_reader_mesh.cc.
References BLI_assert_msg, blender::io::alembic::AbcMeshData::ceil_positions, blender::io::alembic::AbcMeshData::interpolation_settings, blender::io::alembic::CDStreamConfig::mesh, blender::io::alembic::AbcMeshData::positions, blender::io::alembic::CDStreamConfig::positions, read_mverts(), and read_mverts_interp().
Referenced by read_mesh_sample(), read_mverts(), and read_subd_sample().
| void blender::io::alembic::read_mverts | ( | Mesh & | mesh, |
| const Alembic::AbcGeom::P3fArraySamplePtr | positions, | ||
| const Alembic::AbcGeom::N3fArraySamplePtr | normals ) |
References normals.
| void blender::io::alembic::read_mverts | ( | Mesh & | mesh, |
| const P3fArraySamplePtr | positions, | ||
| const N3fArraySamplePtr | normals ) |
Definition at line 162 of file abc_reader_mesh.cc.
References copy_zup_from_yup(), i, blender::bke::mesh_vert_normals_assign(), normals, and Mesh::verts_num.
|
static |
Definition at line 128 of file abc_reader_mesh.cc.
References copy_zup_from_yup(), i, and interp_v3_v3v3().
Referenced by read_mverts().
|
static |
Definition at line 150 of file abc_reader_points.cc.
References i, name, and read_typed_property_sample().
Referenced by blender::io::alembic::AbcPointsReader::read_geometry().
|
static |
Definition at line 86 of file abc_reader_points.cc.
References copy_zup_from_yup(), and i.
Referenced by read_points_sample().
|
static |
Definition at line 93 of file abc_reader_points.cc.
References read_points(), and sample.
Referenced by blender::io::alembic::AbcPointsReader::read_geometry().
|
static |
Definition at line 896 of file abc_reader_mesh.cc.
References blender::io::alembic::AbcMeshData::ceil_positions, blender::io::alembic::AbcMeshData::face_counts, blender::io::alembic::AbcMeshData::face_indices, get_sample_interpolation_settings(), get_velocity_prop(), blender::io::alembic::AbcMeshData::interpolation_settings, MOD_MESHSEQ_INTERPOLATE_VERTICES, MOD_MESHSEQ_READ_COLOR, MOD_MESHSEQ_READ_POLY, MOD_MESHSEQ_READ_UV, MOD_MESHSEQ_READ_VERT, blender::io::alembic::AbcMeshData::positions, process_no_normals(), read_custom_data(), blender::io::alembic::ImportSettings::read_flag, read_mpolys(), read_mverts(), read_uvs_params(), read_velocity(), sample, samples_have_same_topology(), blender::io::alembic::ImportSettings::velocity_name, and blender::io::alembic::ImportSettings::velocity_scale.
|
static |
Definition at line 128 of file abc_reader_points.cc.
References convert_abc_value(), blender::bke::SpanAttributeWriter< T >::finish(), i, blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_span(), name, blender::bke::Point, and blender::bke::SpanAttributeWriter< T >::span.
Referenced by read_point_arb_geom_params().
|
static |
Definition at line 319 of file abc_customdata.cc.
References ABC_UV_SCOPE_LOOP, ABC_UV_SCOPE_NONE, BLI_assert, blender::io::alembic::CDStreamConfig::corner_verts, data, faces, i, indices, blender::io::alembic::CDStreamConfig::mesh, blender::IndexRange::size(), and blender::IndexRange::start().
Referenced by read_custom_data_uvs().
| BLI_INLINE void blender::io::alembic::read_uvs_params | ( | CDStreamConfig & | config, |
| AbcMeshData & | abc_data, | ||
| const IV2fGeomParam & | uv, | ||
| const ISampleSelector & | selector ) |
Definition at line 337 of file abc_reader_mesh.cc.
References ABC_UV_SCOPE_NONE, blender::io::alembic::CDStreamConfig::add_customdata_cb, BLI_INLINE, CD_PROP_FLOAT2, get_uv_scope(), blender::io::alembic::CDStreamConfig::mesh, name, blender::io::alembic::CDStreamConfig::uv_map, blender::io::alembic::AbcMeshData::uv_scope, blender::io::alembic::AbcMeshData::uvs, and blender::io::alembic::AbcMeshData::uvs_indices.
Referenced by read_mesh_sample(), and read_subd_sample().
| void blender::io::alembic::read_velocity | ( | const V3fArraySamplePtr & | velocities, |
| const CDStreamConfig & | config, | ||
| const float | velocity_scale ) |
Definition at line 513 of file abc_customdata.cc.
References BKE_attribute_new(), CD_PROP_FLOAT3, copy_zup_from_yup(), CustomDataLayer::data, float, AttributeOwner::from_id(), i, Mesh::id, blender::io::alembic::CDStreamConfig::mesh, mul_v3_fl(), blender::bke::Point, and Mesh::verts_num.
Referenced by read_mesh_sample(), and read_subd_sample().
|
static |
Definition at line 952 of file abc_reader_mesh.cc.
References blender::io::alembic::ImportSettings::blender_archive_version_prior_44, blender::bke::SpanAttributeWriter< T >::finish(), i, indices, blender::bke::MutableAttributeAccessor::lookup_or_add_for_write_only_span(), blender::bke::Point, blender::bke::subdiv::sharpness_to_crease(), blender::bke::SpanAttributeWriter< T >::span, v, and Mesh::verts_num.
|
static |
Definition at line 73 of file abc_export_capi.cc.
References data, and blender::timeit::print_duration().
Referenced by export_endjob(), and import_endjob().
|
static |
Definition at line 163 of file abc_reader_curves.cc.
References sample.
Referenced by preprocess_sample(), read_mesh_sample(), and read_subd_sample().
|
static |
Definition at line 398 of file abc_reader_mesh.cc.
References sample.
|
static |
Definition at line 82 of file abc_reader_nurbs.cc.
References i, MEM_calloc_arrayN(), and blender::Vector< T, InlineBufferCapacity, Allocator >::size().
Referenced by blender::io::alembic::AbcNurbsReader::readObjectData().
| void blender::io::alembic::split | ( | const std::string & | s, |
| const char | delim, | ||
| std::vector< std::string > & | tokens ) |
Definition at line 61 of file abc_util.cc.
Referenced by blender::io::alembic::AbcObjectReader::AbcObjectReader(), and find_iobject().
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CopyM44AxisSwap_YfromZ | ) |
Definition at line 149 of file abc_matrix_test.cc.
References ABC_YUP_FROM_ZUP, copy_m44_axis_swap(), input, and result.
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CopyM44AxisSwap_ZfromY | ) |
Definition at line 209 of file abc_matrix_test.cc.
References ABC_ZUP_FROM_YUP, copy_m44_axis_swap(), input, and result.
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CopyM44AxisSwapWithScale_gimbal_ZfromY | ) |
Definition at line 265 of file abc_matrix_test.cc.
References ABC_ZUP_FROM_YUP, copy_m44_axis_swap(), input, and result.
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CopyM44AxisSwapWithScale_YfromZ | ) |
Definition at line 180 of file abc_matrix_test.cc.
References ABC_YUP_FROM_ZUP, copy_m44_axis_swap(), input, and result.
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CopyM44AxisSwapWithScale_ZfromY | ) |
Definition at line 236 of file abc_matrix_test.cc.
References ABC_ZUP_FROM_YUP, copy_m44_axis_swap(), input, and result.
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CreateRotationMatrixXYZ_YfromZ | ) |
Definition at line 69 of file abc_matrix_test.cc.
References ABC_YUP_FROM_ZUP, create_swapped_rotation_matrix(), and unit_m3().
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CreateRotationMatrixXYZ_ZfromY | ) |
Definition at line 109 of file abc_matrix_test.cc.
References ABC_ZUP_FROM_YUP, create_swapped_rotation_matrix(), and unit_m3().
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CreateRotationMatrixY_YfromZ | ) |
Definition at line 15 of file abc_matrix_test.cc.
References ABC_YUP_FROM_ZUP, create_swapped_rotation_matrix(), M_PI_4, M_SQRT1_2, and unit_m3().
| blender::io::alembic::TEST | ( | abc_matrix | , |
| CreateRotationMatrixZ_YfromZ | ) |
Definition at line 42 of file abc_matrix_test.cc.
References ABC_YUP_FROM_ZUP, create_swapped_rotation_matrix(), M_PI_4, M_SQRT1_2, and unit_m3().
| blender::io::alembic::TEST_F | ( | AlembicExportTest | , |
| TimeSamples180degShutter | ) |
Definition at line 139 of file abc_export_test.cc.
References e, EXPECT_EQ(), and params.
| blender::io::alembic::TEST_F | ( | AlembicExportTest | , |
| TimeSamplesFullShutterDifferent | ) |
Definition at line 101 of file abc_export_test.cc.
References e, EXPECT_EQ(), and params.
| blender::io::alembic::TEST_F | ( | AlembicExportTest | , |
| TimeSamplesFullShutterUniform | ) |
Definition at line 73 of file abc_export_test.cc.
References e, EXPECT_EQ(), and params.
|
inlinestatic |
Definition at line 42 of file abc_writer_curves.cc.
References copy_yup_from_zup(), and v.
Referenced by blender::io::alembic::ABCCurveWriter::do_write().
|
inlinestatic |
Definition at line 146 of file abc_reader_curves.cc.
References copy_zup_from_yup(), and v.
Referenced by blender::io::alembic::AbcCurveReader::read_curves_sample().
| void blender::io::alembic::write_custom_data | ( | const OCompoundProperty & | prop, |
| CDStreamConfig & | config, | ||
| CustomData * | data, | ||
| int | data_type ) |
Definition at line 275 of file abc_customdata.cc.
References CD_PROP_BYTE_COLOR, CD_PROP_FLOAT2, CustomData_get_active_layer(), CustomData_get_layer_n(), CustomData_get_layer_name(), CustomData_has_layer(), CustomData_number_of_layers(), data, get_valid_abc_name(), i, name, write_mcol(), and write_uv().
| void blender::io::alembic::write_generated_coordinates | ( | const OCompoundProperty & | prop, |
| CDStreamConfig & | config ) |
Definition at line 243 of file abc_customdata.cc.
References blender::io::alembic::CDStreamConfig::abc_orco, BKE_mesh_orco_verts_transform(), CD_ORCO, copy_yup_from_zup(), CustomData_get_layer(), float, blender::io::alembic::CDStreamConfig::mesh, propNameOriginalCoordinates(), sample, blender::io::alembic::CDStreamConfig::totvert, Mesh::vert_data, and Mesh::verts_num.
|
static |
Definition at line 213 of file abc_customdata.cc.
References blender::io::alembic::CDStreamConfig::abc_vertex_colors, data, get_cols(), indices, sample, and blender::io::alembic::CDStreamConfig::timesample_index.
Referenced by write_custom_data().
|
static |
Definition at line 149 of file abc_customdata.cc.
References blender::io::alembic::CDStreamConfig::abc_uv_maps, data, get_uvs(), indices, sample, and blender::io::alembic::CDStreamConfig::timesample_index.
Referenced by write_custom_data().
|
extern |
Referenced by blender::io::alembic::ABCCurveWriter::create_alembic_objects(), and get_curve_resolution().