Blender V4.3
usd_reader_mesh.cc File Reference
#include "usd_reader_mesh.hh"
#include "usd.hh"
#include "usd_attribute_utils.hh"
#include "usd_hash_types.hh"
#include "usd_mesh_utils.hh"
#include "usd_reader_material.hh"
#include "usd_skel_convert.hh"
#include "usd_utils.hh"
#include "BKE_attribute.hh"
#include "BKE_customdata.hh"
#include "BKE_geometry_set.hh"
#include "BKE_main.hh"
#include "BKE_material.h"
#include "BKE_mesh.hh"
#include "BKE_object.hh"
#include "BKE_report.hh"
#include "BLI_array.hh"
#include "BLI_map.hh"
#include "BLI_math_vector_types.hh"
#include "BLI_span.hh"
#include "DNA_customdata_types.h"
#include "DNA_material_types.h"
#include "DNA_modifier_types.h"
#include "DNA_object_types.h"
#include "DNA_windowmanager_types.h"
#include <pxr/base/gf/matrix4f.h>
#include <pxr/base/vt/array.h>
#include <pxr/base/vt/types.h>
#include <pxr/usd/sdf/types.h>
#include <pxr/usd/usdGeom/primvarsAPI.h>
#include <pxr/usd/usdGeom/subset.h>
#include <pxr/usd/usdShade/materialBindingAPI.h>
#include <pxr/usd/usdShade/tokens.h>
#include <pxr/usd/usdSkel/bindingAPI.h>
#include <algorithm>
#include "CLG_log.h"

Go to the source code of this file.

Namespaces

namespace  usdtokens
 
namespace  utils
 
namespace  blender
 
namespace  blender::io
 
namespace  blender::io::usd
 

Functions

static const pxr::TfToken usdtokens::st ("st", pxr::TfToken::Immortal)
 
static const pxr::TfToken usdtokens::UVMap ("UVMap", pxr::TfToken::Immortal)
 
static const pxr::TfToken usdtokens::normalsPrimvar ("normals", pxr::TfToken::Immortal)
 
static pxr::UsdShadeMaterial utils::compute_bound_material (const pxr::UsdPrim &prim, eUSDMtlPurpose mtl_purpose)
 
static void utils::assign_materials (Main *bmain, Object *ob, const blender::Map< pxr::SdfPath, int > &mat_index_map, const blender::io::usd::USDImportParams &params, pxr::UsdStageRefPtr stage, blender::Map< std::string, Material * > &mat_name_to_mat, blender::Map< std::string, std::string > &usd_path_to_mat_name)
 

Variables

static CLG_LogRef LOG = {"io.usd"}
 

Variable Documentation

◆ LOG

CLG_LogRef LOG = {"io.usd"}
static

Definition at line 50 of file usd_reader_mesh.cc.