Blender V4.3
subdiv_eval.cc File Reference
#include "BKE_subdiv_eval.hh"
#include "BLI_math_vector.h"
#include "BLI_task.h"
#include "BLI_utildefines.h"
#include "BKE_customdata.hh"
#include "BKE_mesh.hh"
#include "BKE_subdiv.hh"
#include "MEM_guardedalloc.h"
#include "opensubdiv_evaluator_capi.hh"

Go to the source code of this file.

Namespaces

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

Functions

static eOpenSubdivEvaluator blender::bke::subdiv::opensubdiv_evalutor_from_subdiv_evaluator_type (eSubdivEvaluatorType evaluator_type)
 
bool blender::bke::subdiv::eval_begin (Subdiv *subdiv, eSubdivEvaluatorType evaluator_type, OpenSubdiv_EvaluatorCache *evaluator_cache, const OpenSubdiv_EvaluatorSettings *settings)
 
bool blender::bke::subdiv::eval_begin_from_mesh (Subdiv *subdiv, const Mesh *mesh, Span< float3 > coarse_vert_positions, eSubdivEvaluatorType evaluator_type, OpenSubdiv_EvaluatorCache *evaluator_cache)
 
bool blender::bke::subdiv::eval_refine_from_mesh (Subdiv *subdiv, const Mesh *mesh, Span< float3 > coarse_vert_positions)
 
void blender::bke::subdiv::eval_init_displacement (Subdiv *subdiv)
 
void blender::bke::subdiv::eval_limit_point (Subdiv *subdiv, int ptex_face_index, float u, float v, float r_P[3])
 
void blender::bke::subdiv::eval_limit_point_and_derivatives (Subdiv *subdiv, int ptex_face_index, float u, float v, float r_P[3], float r_dPdu[3], float r_dPdv[3])
 
void blender::bke::subdiv::eval_limit_point_and_normal (Subdiv *subdiv, int ptex_face_index, float u, float v, float r_P[3], float r_N[3])
 
void blender::bke::subdiv::eval_vertex_data (Subdiv *subdiv, const int ptex_face_index, const float u, const float v, float r_vertex_data[])
 
void blender::bke::subdiv::eval_face_varying (Subdiv *subdiv, int face_varying_channel, int ptex_face_index, float u, float v, float r_face_varying[2])
 
void blender::bke::subdiv::eval_displacement (Subdiv *subdiv, int ptex_face_index, float u, float v, const float dPdu[3], const float dPdv[3], float r_D[3])
 
void blender::bke::subdiv::eval_final_point (Subdiv *subdiv, int ptex_face_index, float u, float v, float r_P[3])