Blender  V2.93
Functions
blender_curves.cpp File Reference
#include "render/attribute.h"
#include "render/camera.h"
#include "render/curves.h"
#include "render/hair.h"
#include "render/object.h"
#include "render/scene.h"
#include "blender/blender_sync.h"
#include "blender/blender_util.h"
#include "util/util_foreach.h"
#include "util/util_hash.h"
#include "util/util_logging.h"

Go to the source code of this file.

Functions

static float shaperadius (float shape, float root, float tip, float time)
 
static bool ObtainCacheParticleData (Hair *hair, BL::Mesh *b_mesh, BL::Object *b_ob, ParticleCurveData *CData, bool background)
 
static bool ObtainCacheParticleUV (Hair *hair, BL::Mesh *b_mesh, BL::Object *b_ob, ParticleCurveData *CData, bool background, int uv_num)
 
static bool ObtainCacheParticleVcol (Hair *hair, BL::Mesh *b_mesh, BL::Object *b_ob, ParticleCurveData *CData, bool background, int vcol_num)
 
static void ExportCurveSegments (Scene *scene, Hair *hair, ParticleCurveData *CData)
 
static float4 CurveSegmentMotionCV (ParticleCurveData *CData, int sys, int curve, int curvekey)
 
static float4 LerpCurveSegmentMotionCV (ParticleCurveData *CData, int sys, int curve, float step)
 
static void export_hair_motion_validate_attribute (Hair *hair, int motion_step, int num_motion_keys, bool have_motion)
 
static void ExportCurveSegmentsMotion (Hair *hair, ParticleCurveData *CData, int motion_step)
 

Function Documentation

◆ CurveSegmentMotionCV()

static float4 CurveSegmentMotionCV ( ParticleCurveData CData,
int  sys,
int  curve,
int  curvekey 
)
static

◆ export_hair_motion_validate_attribute()

static void export_hair_motion_validate_attribute ( Hair hair,
int  motion_step,
int  num_motion_keys,
bool  have_motion 
)
static

◆ ExportCurveSegments()

static void ExportCurveSegments ( Scene scene,
Hair hair,
ParticleCurveData CData 
)
static

◆ ExportCurveSegmentsMotion()

static void ExportCurveSegmentsMotion ( Hair hair,
ParticleCurveData CData,
int  motion_step 
)
static

◆ LerpCurveSegmentMotionCV()

static float4 LerpCurveSegmentMotionCV ( ParticleCurveData CData,
int  sys,
int  curve,
float  step 
)
static

◆ ObtainCacheParticleData()

static bool ObtainCacheParticleData ( Hair hair,
BL::Mesh b_mesh,
BL::Object b_ob,
ParticleCurveData CData,
bool  background 
)
static

◆ ObtainCacheParticleUV()

static bool ObtainCacheParticleUV ( Hair hair,
BL::Mesh b_mesh,
BL::Object b_ob,
ParticleCurveData CData,
bool  background,
int  uv_num 
)
static

◆ ObtainCacheParticleVcol()

static bool ObtainCacheParticleVcol ( Hair hair,
BL::Mesh b_mesh,
BL::Object b_ob,
ParticleCurveData CData,
bool  background,
int  vcol_num 
)
static

◆ shaperadius()

static float shaperadius ( float  shape,
float  root,
float  tip,
float  time 
)
static

Definition at line 41 of file blender_curves.cpp.

References powf, and time.

Referenced by CurveSegmentMotionCV(), and ExportCurveSegments().