Blender V4.3
subdiv_converter_mesh.cc File Reference
#include "subdiv_converter.hh"
#include <cstring>
#include "BLI_utildefines.h"
#include "BKE_attribute.hh"
#include "BKE_customdata.hh"
#include "BKE_mesh.hh"
#include "BKE_mesh_mapping.hh"
#include "BKE_subdiv.hh"
#include "MEM_guardedalloc.h"
#include "opensubdiv_converter_capi.hh"

Go to the source code of this file.

Classes

struct  blender::bke::subdiv::ConverterStorage
 

Namespaces

namespace  blender
 
namespace  blender::bke
 
namespace  blender::bke::subdiv
 

Macros

#define BUGGY_SIMPLE_SCHEME_WORKAROUND   1
 

Functions

static OpenSubdiv_SchemeType blender::bke::subdiv::get_scheme_type (const OpenSubdiv_Converter *converter)
 
static OpenSubdiv_VtxBoundaryInterpolation blender::bke::subdiv::get_vtx_boundary_interpolation (const OpenSubdiv_Converter *converter)
 
static OpenSubdiv_FVarLinearInterpolation blender::bke::subdiv::get_fvar_linear_interpolation (const OpenSubdiv_Converter *converter)
 
static bool blender::bke::subdiv::specifies_full_topology (const OpenSubdiv_Converter *)
 
static int blender::bke::subdiv::get_num_faces (const OpenSubdiv_Converter *converter)
 
static int blender::bke::subdiv::get_num_edges (const OpenSubdiv_Converter *converter)
 
static int blender::bke::subdiv::get_num_vertices (const OpenSubdiv_Converter *converter)
 
static int blender::bke::subdiv::get_num_face_vertices (const OpenSubdiv_Converter *converter, int manifold_face_index)
 
static void blender::bke::subdiv::get_face_vertices (const OpenSubdiv_Converter *converter, int manifold_face_index, int *manifold_face_vertices)
 
static void blender::bke::subdiv::get_edge_vertices (const OpenSubdiv_Converter *converter, int manifold_edge_index, int *manifold_edge_vertices)
 
static float blender::bke::subdiv::get_edge_sharpness (const OpenSubdiv_Converter *converter, int manifold_edge_index)
 
static bool blender::bke::subdiv::is_infinite_sharp_vertex (const OpenSubdiv_Converter *converter, int manifold_vertex_index)
 
static float blender::bke::subdiv::get_vertex_sharpness (const OpenSubdiv_Converter *converter, int manifold_vertex_index)
 
static int blender::bke::subdiv::get_num_uv_layers (const OpenSubdiv_Converter *converter)
 
static void blender::bke::subdiv::precalc_uv_layer (const OpenSubdiv_Converter *converter, const int layer_index)
 
static void blender::bke::subdiv::finish_uv_layer (const OpenSubdiv_Converter *)
 
static int blender::bke::subdiv::get_num_uvs (const OpenSubdiv_Converter *converter)
 
static int blender::bke::subdiv::get_face_corner_uv_index (const OpenSubdiv_Converter *converter, const int face_index, const int corner)
 
static void blender::bke::subdiv::free_user_data (const OpenSubdiv_Converter *converter)
 
static void blender::bke::subdiv::init_functions (OpenSubdiv_Converter *converter)
 
static void blender::bke::subdiv::initialize_manifold_index_array (const BitSpan not_used_map, const int num_elements, int **r_indices, int **r_indices_reverse, int *r_num_manifold_elements)
 
static void blender::bke::subdiv::initialize_manifold_indices (ConverterStorage *storage)
 
static void blender::bke::subdiv::init_user_data (OpenSubdiv_Converter *converter, const Settings *settings, const Mesh *mesh)
 
void blender::bke::subdiv::converter_init_for_mesh (OpenSubdiv_Converter *converter, const Settings *settings, const Mesh *mesh)
 

Macro Definition Documentation

◆ BUGGY_SIMPLE_SCHEME_WORKAROUND

#define BUGGY_SIMPLE_SCHEME_WORKAROUND   1

Definition at line 29 of file subdiv_converter_mesh.cc.