20 pxr::UsdGeomMesh mesh_prim_;
28 pxr::VtIntArray face_indices_;
29 pxr::VtIntArray face_counts_;
30 pxr::VtVec3fArray positions_;
31 pxr::VtVec3fArray normals_;
33 pxr::TfToken normal_interpolation_;
34 pxr::TfToken orientation_;
36 bool is_time_varying_;
41 bool is_initial_load_;
48 bool valid()
const override;
55 const char **r_err_str)
override;
70 void process_normals_vertex_varying(
Mesh *mesh);
71 void process_normals_face_varying(
Mesh *mesh)
const;
73 void process_normals_uniform(
Mesh *mesh)
const;
74 void readFaceSetsSample(
Main *bmain,
Mesh *mesh,
double motionSampleTime);
75 void assign_facesets_to_material_indices(
double motionSampleTime,
79 void read_mpolys(
Mesh *mesh)
const;
80 void read_vertex_creases(
Mesh *mesh,
double motionSampleTime);
81 void read_velocities(
Mesh *mesh,
double motionSampleTime);
85 double motionSampleTime,
88 Mesh *read_mesh(
struct Mesh *existing_mesh,
90 const char **r_err_str);
94 double motionSampleTime,
97 void read_uv_data_primvar(
Mesh *mesh,
98 const pxr::UsdGeomPrimvar &primvar,
99 const double motionSampleTime);
105 std::optional<XformResult> get_local_usd_xform(
float time)
const override;