33 if (eln->obindex == obindex) {
45 if (elist[i].edge_identifier == edge_identifier) {
58 double view_vector[3];
59 double light_vector[3];
60 bool side_1_facing_light =
false;
61 bool side_2_facing_light =
false;
62 bool side_1_facing_camera =
false;
69 double dot_light_1 =
dot_v3v3_db(light_vector,
e->t1->gn);
70 side_1_facing_light = (dot_light_1 > 0);
72 double dot_light_2 =
dot_v3v3_db(light_vector,
e->t2->gn);
73 side_2_facing_light = (dot_light_2 > 0);
76 side_2_facing_light = !side_1_facing_light;
86 side_1_facing_camera = (dot_view_1 > 0);
88 if ((side_1_facing_camera && (!side_1_facing_light) && side_2_facing_light) ||
89 ((!side_1_facing_camera) && side_1_facing_light && (!side_2_facing_light)))
100 double la1 = es->ratio;
101 double la2 = es->next ? es->next->ratio : 1.0f;
102 la1 = la1 *
e->v2->fbcoord[3] /
103 (
e->v1->fbcoord[3] - la1 * (
e->v1->fbcoord[3] -
e->v2->fbcoord[3]));
104 la2 = la2 *
e->v2->fbcoord[3] /
105 (
e->v1->fbcoord[3] - la2 * (
e->v1->fbcoord[3] -
e->v2->fbcoord[3]));
129 eln_isect_shadow = eln;
135 eln_isect_original = eln;
139 if (!eln_isect_shadow || !eln_isect_original) {
145 for (
int i = 0; i < eln_isect_original->
element_count; i++) {
185 double real_at = ((at_2 - at_1) == 0) ? 0 : ((ratio - at_1) / (at_2 - at_1));
186 double ga_div = (fb_co_2[3] * (1.0f - real_at) + fb_co_1[3] * real_at);
192 ga = fb_co_1[3] * real_at / ga_div;
195 r_fb_co[3] =
interpd(fb_co_2[3], fb_co_1[3], ga);
235 double *r_new_in_the_middle,
236 double *r_new_in_the_middle_global,
242 int z_index = is_persp ? 3 : 2;
245 if (s2_fb_co_1[z_index] == s2_fb_co_2[z_index]) {
250 if (s1_fb_co_1[z_index] >= s2_fb_co_1[z_index]) {
255 if (s1_fb_co_2[z_index] >= s2_fb_co_2[z_index]) {
261 if (s1_fb_co_1[z_index] <= s2_fb_co_1[z_index]) {
266 if (s1_fb_co_2[z_index] <= s2_fb_co_2[z_index]) {
281 *use_new_ref =
false;
288 double dl = s1_fb_co_1[z_index] - s2_fb_co_1[z_index];
289 double dr = s1_fb_co_2[z_index] - s2_fb_co_2[z_index];
290 double ga =
ratiod(dl, dr, 0);
291 double ga_div = s2_fb_co_1[3] * (1.0f - ga) + s2_fb_co_2[3] * ga;
297 *r_new_at = is_persp ? s2_fb_co_2[3] * ga / ga_div : ga;
300 r_new_in_the_middle[3] =
interpd(s2_fb_co_2[3], s2_fb_co_1[3], ga);
310 bool transform_edge_cuts,
311 bool do_light_contour)
314#define DISCARD_NONSENSE_SEGMENTS \
315 if (es->occlusion != 0 || \
316 (es->next && LRT_DOUBLE_CLOSE_ENOUGH(es->ratio, ((LineartEdgeSegment *)es->next)->ratio))) \
318 LRT_ITER_ALL_LINES_NEXT; \
323 int segment_count = 0;
325 if (do_light_contour) {
333 if (!(
e->flags & accept_types)) {
344 double *view_vector = vv;
345 double dot_1 = 0, dot_2 = 0;
357 if ((result = dot_1 * dot_2) <= 0 && (dot_1 + dot_2)) {
397 double ga1 =
e->v1->fbcoord[3] * es->ratio /
398 (es->ratio *
e->v1->fbcoord[3] + (1 - es->ratio) *
e->v2->fbcoord[3]);
399 double ga2 =
e->v1->fbcoord[3] * next_at /
400 (next_at *
e->v1->fbcoord[3] + (1 - next_at) *
e->v2->fbcoord[3]);
407 sedge[i].fbc1[3] = 1e30;
408 sedge[i].fbc2[3] = 1e30;
409 sedge[i].fbc1[2] = 1e30;
410 sedge[i].fbc2[2] = 1e30;
415 sseg[i * 2].
ratio = 0.0f;
416 sseg[i * 2 + 1].
ratio = 1.0f;
417 BLI_addtail(&sedge[i].shadow_segments, &sseg[i * 2]);
418 BLI_addtail(&sedge[i].shadow_segments, &sseg[i * 2 + 1]);
422 sedge[i].e_ref_light_contour =
e;
425 e->flags &= (~MOD_LINEART_EDGE_FLAG_CONTOUR);
431 sedge[i].es_ref = es;
442 if (transform_edge_cuts) {
446 es->ratio =
e->v1->fbcoord[3] * es->ratio /
447 (es->ratio *
e->v1->fbcoord[3] + (1 - es->ratio) *
e->v2->fbcoord[3]);
453 if (
G.debug_value == 4000) {
454 printf(
"Shadow: Added %d raw shadow_edges\n", segment_count);
513 e->shadow_segments.first),
515 e->shadow_segments.last);
546 cut_start_after = seg;
547 new_seg_1 = cut_start_after;
550 if (seg->
next ==
nullptr) {
554 if (i_seg->
ratio > start + 1
e-09 && start > seg->
ratio) {
555 cut_start_after = seg;
563 for (seg = cut_start_after->
next; seg; seg = seg->
next) {
567 cut_end_before = seg;
568 new_seg_2 = cut_end_before;
574 cut_end_before = seg;
575 new_seg_2 = cut_end_before;
580 if (seg->
ratio > end) {
581 cut_end_before = seg;
588 if (new_seg_1 ==
nullptr) {
591 if (new_seg_2 ==
nullptr) {
593 new_seg_2 = new_seg_1;
594 cut_end_before = new_seg_2;
603 new_seg_1->
ratio = start;
605 new_seg_2->ratio = end;
608 double r_fb_co_1[4] = {0}, r_fb_co_2[4] = {0}, r_gloc_1[3] = {0}, r_gloc_2[3] = {0};
609 double r_new_in_the_middle[4], r_new_in_the_middle_global[3], r_new_at;
610 double *s1_fb_co_1, *s1_fb_co_2, *s1_gloc_1, *s1_gloc_2;
613 double t_g1[3], t_g2[3], t_fbc1[4], t_fbc2[4], m_g1[3], m_fbc1[4], m_g2[3], m_fbc2[4];
614 bool is_side_2r, has_middle =
false, use_new_ref;
620 for (seg = cut_start_after; seg != cut_end_before; seg = nes) {
623 s1_fb_co_1 = seg->
fbc2;
624 s1_fb_co_2 = nes->
fbc1;
632 if (seg == cut_start_after) {
646 if (cut_start_after != new_seg_1) {
652 if (nes == cut_end_before) {
666 if (cut_end_before != new_seg_2) {
671 seg_2->flag = seg->
flag;
677 start_fb_co, end_fb_co, start_gloc, end_gloc, seg_2->ratio, start, end, t_fbc2, t_g2);
693 r_new_in_the_middle_global,
699 ss_middle->
ratio =
interpf(seg_2->ratio, seg_1->ratio, r_new_at);
702 ss_middle->
target_reference = (use_new_ref ? (target_reference) : seg_1->target_reference);
718 seg_1->target_reference = is_side_2r ? seg->
target_reference : target_reference;
723 seg_1->target_reference = use_new_ref ? target_reference : seg->
target_reference;
740 bool *r_facing_light)
743 double *LFBC = sedge->
fbc1, *RFBC = sedge->
fbc2, *FBC0 = tri->
v[0]->
fbcoord,
749 if ((std::max({FBC0[0], FBC1[0], FBC2[0]}) < std::min(LFBC[0], RFBC[0])) ||
750 (std::min({FBC0[0], FBC1[0], FBC2[0]}) > std::max(LFBC[0], RFBC[0])) ||
751 (std::max({FBC0[1], FBC1[1], FBC2[1]}) < std::min(LFBC[1], RFBC[1])) ||
752 (std::min({FBC0[1], FBC1[1], FBC2[1]}) > std::max(LFBC[1], RFBC[1])))
800 double *v1 = (trie[0] == 0 ? FBC0 : (trie[0] == 1 ? FBC1 : FBC2));
801 double *
v2 = (trie[0] == 0 ? FBC1 : (trie[0] == 1 ? FBC2 : FBC0));
802 double *v3 = (trie[1] == 0 ? FBC0 : (trie[1] == 1 ? FBC1 : FBC2));
803 double *v4 = (trie[1] == 0 ? FBC1 : (trie[1] == 1 ? FBC2 : FBC0));
804 double *gv1 = (trie[0] == 0 ? tri->
v[0]->
gloc :
805 (trie[0] == 1 ? tri->
v[1]->
gloc : tri->
v[2]->
gloc));
806 double *gv2 = (trie[0] == 0 ? tri->
v[1]->
gloc :
807 (trie[0] == 1 ? tri->
v[2]->
gloc : tri->
v[0]->
gloc));
808 double *gv3 = (trie[1] == 0 ? tri->
v[0]->
gloc :
809 (trie[1] == 1 ? tri->
v[1]->
gloc : tri->
v[2]->
gloc));
810 double *gv4 = (trie[1] == 0 ? tri->
v[1]->
gloc :
811 (trie[1] == 1 ? tri->
v[2]->
gloc : tri->
v[0]->
gloc));
812 double gr1 = is_persp ? v1[3] * ratio[0] / (ratio[0] * v1[3] + (1 - ratio[0]) *
v2[3]) :
814 double gr2 = is_persp ? v3[3] * ratio[1] / (ratio[1] * v3[3] + (1 - ratio[1]) * v4[3]) :
828 int use = (
fabs(LFBC[0] - RFBC[0]) >
fabs(LFBC[1] - RFBC[1])) ? 0 : 1;
829 double at1 =
ratiod(LFBC[use], RFBC[use], fbc1[use]);
830 double at2 =
ratiod(LFBC[use], RFBC[use], fbc2[use]);
832 std::swap(gpos1, gpos2);
833 std::swap(fbc1, fbc2);
838 if (at1 > (1.0f - FLT_EPSILON) || at2 < FLT_EPSILON) {
844 double t_fbc1[4], t_fbc2[4], t_gpos1[3], t_gpos2[3];
845 bool trimmed1 =
false, trimmed2 =
false;
846 if (at1 < 0 || at2 > 1) {
847 double rat1 = (-at1) / (at2 - at1);
848 double rat2 = (1.0f - at1) / (at2 - at1);
849 double gat1 = is_persp ? fbc1[3] * rat1 / (rat1 * fbc1[3] + (1 - rat1) * fbc2[3]) : rat1;
850 double gat2 = is_persp ? fbc1[3] * rat2 / (rat2 * fbc1[3] + (1 - rat2) * fbc2[3]) : rat2;
854 t_fbc1[3] =
interpd(fbc2[3], fbc1[3], gat1);
861 t_fbc2[3] =
interpd(fbc2[3], fbc1[3], gat2);
882 double camera_vector[3];
892 *r_facing_light = (dot_f < 0);
911 double fb_co_1[4], fb_co_2[4];
912 double global_1[3], global_2[3];
917 for (
int i = 0; i < nba->triangle_count; i++) {
960 bool do_original_edges,
965 int tot_orig_edges = 0;
980 int edge_alloc = tot_edges + (do_original_edges ? tot_orig_edges : 0);
982 if (
G.debug_value == 4000) {
983 printf(
"Line art shadow segments total: %d\n", tot_edges);
1026 e->target_reference = sseg->target_reference;
1034 if (do_original_edges) {
1046 e->target_reference = ((ref_1 << 32) | ref_2);
1081 double at_start =
interpd(es_end, es_start, sseg->ratio);
1082 double at_end =
interpd(es_end, es_start, sseg->next->ratio);
1099 if (
e->min_occ > 0) {
1103 if (es->occlusion > 0) {
1110 double ga1 =
e->v1->fbcoord[3] * es->ratio /
1111 (es->ratio *
e->v1->fbcoord[3] + (1 - es->ratio) *
e->v2->fbcoord[3]);
1112 double ga2 =
e->v1->fbcoord[3] * next_at /
1113 (next_at *
e->v1->fbcoord[3] + (1 - next_at) *
e->v2->fbcoord[3]);
1114 double g1[3], g2[3], g1v[4], g2v[4];
1130#define GET_RATIO(n) \
1131 (fabs(orig_e->v2->fbcoord[0] - orig_e->v1->fbcoord[0]) > \
1132 fabs(orig_e->v2->fbcoord[1] - orig_e->v1->fbcoord[1])) ? \
1133 ((g##n##v[0] - orig_e->v1->fbcoord[0]) / \
1134 (orig_e->v2->fbcoord[0] - orig_e->v1->fbcoord[0])) : \
1135 ((g##n##v[1] - orig_e->v1->fbcoord[1]) / (orig_e->v2->fbcoord[1] - orig_e->v1->fbcoord[1]))
1153 ListBase *r_calculated_edges_eln_list,
1164 if (
G.debug_value == 4000) {
1168 bool is_persp =
true;
1208 if (!ld->
w || !ld->
h) {
1209 ld->
w = ld->
h = 200;
1236 double proj[4][4], view[4][4], result[4][4];
1299 (*r_shadow_ld_if_reproject) = ld;
1306 if (
G.debug_value == 4000) {
1308 printf(
"Line art shadow stage 1 time: %f\n", t_elapsed);
1311 return any_generated;
1321 ListBase *r_calculated_edges_eln_list,
1334 r_calculated_edges_eln_list,
1335 r_shadow_ld_if_reproject);
1347 const int element_index,
1404 &transform_settings);
1416 if (
G.debug_value == 4000) {
1427 if (
G.debug_value == 4000) {
1429 printf(
"Line art shadow stage 2 cast and silhouette time: %f\n", t_elapsed);
1448 if (!any_generated) {
1476 if (
G.debug_value == 4000) {
1478 printf(
"Line art shadow stage 2 total time: %f\n", t_elapsed);
Low-level operations for grease pencil.
General operations, lookup, etc. for blender objects.
#define LISTBASE_FOREACH(type, var, list)
void BLI_insertlinkafter(struct ListBase *listbase, void *vprevlink, void *vnewlink) ATTR_NONNULL(1)
void BLI_addtail(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void BLI_insertlinkbefore(struct ListBase *listbase, void *vnextlink, void *vnewlink) ATTR_NONNULL(1)
void * BLI_pophead(ListBase *listbase) ATTR_NONNULL(1)
MINLINE double ratiod(double min, double max, double pos)
MINLINE float interpf(float target, float origin, float t)
MINLINE double interpd(double target, double origin, double t)
void mul_v4_m4v3_db(double r[4], const double mat[4][4], const double vec[3])
void mul_m4db_m4db_m4fl(double R[4][4], const double A[4][4], const float B[4][4])
void unit_m4_db(double m[4][4])
void copy_m4_m4(float m1[4][4], const float m2[4][4])
bool invert_m4_m4(float inverse[4][4], const float mat[4][4])
void copy_m4_m4_db(double m1[4][4], const double m2[4][4])
void interp_v3_v3v3_db(double target[3], const double a[3], const double b[3], double t)
MINLINE void mul_v3db_db(double r[3], double f)
MINLINE double dot_v3v3_db(const double a[3], const double b[3]) ATTR_WARN_UNUSED_RESULT
MINLINE void copy_v3db_v3fl(double r[3], const float a[3])
MINLINE void copy_v3_v3_db(double r[3], const double a[3])
MINLINE void copy_v4_v4_db(double r[4], const double a[4])
MINLINE void sub_v3_v3v3_db(double r[3], const double a[3], const double b[3])
void BLI_task_parallel_range(int start, int stop, void *userdata, TaskParallelRangeFunc func, const TaskParallelSettings *settings)
BLI_INLINE void BLI_parallel_range_settings_defaults(TaskParallelSettings *settings)
void BLI_spin_init(SpinLock *spin)
void BLI_spin_unlock(SpinLock *spin)
void BLI_spin_lock(SpinLock *spin)
Platform independent time functions.
double BLI_time_now_seconds(void)
@ MOD_LINEART_EDGE_FLAG_PROJECTED_SHADOW
@ MOD_LINEART_EDGE_FLAG_CONTOUR
@ MOD_LINEART_EDGE_FLAG_LIGHT_CONTOUR
@ MOD_LINEART_EDGE_FLAG_SHADOW_FACING_LIGHT
@ MOD_LINEART_EDGE_FLAG_CONTOUR_SECONDARY
@ MOD_LINEART_EDGE_FLAG_LOOSE
@ MOD_LINEART_ALLOW_DUPLI_OBJECTS
Read Guarded memory(de)allocation.
#define LRT_DOUBLE_CLOSE_ENOUGH(a, b)
#define LRT_OBINDEX_LOWER
#define LRT_SHADOW_MASK_ENCLOSED_SHAPE
#define LRT_OBINDEX_HIGHER
@ LRT_TILE_RECURSIVE_PERSPECTIVE
@ LRT_TILE_RECURSIVE_ORTHO
#define LRT_SHADOW_SILHOUETTE_ERASED_GROUP
#define LRT_SHADOW_MASK_ILLUMINATED
#define LRT_CLOSE_LOOSER_v3(a, b)
#define LRT_SHADOW_MASK_SHADED
@ LRT_ELEMENT_INTERSECTION_DATA
BLI_INLINE int lineart_line_isec_2d_ignore_line2pos(const double a1[2], const double a2[2], const double b1[2], const double b2[2], double *r_a_ratio)
@ LRT_SHADOW_FACING_LIGHT
ATTR_WARN_UNUSED_RESULT const BMVert * v2
ATTR_WARN_UNUSED_RESULT const BMVert const BMEdge * e
ATTR_WARN_UNUSED_RESULT const BMVert * v
const Depsgraph * depsgraph
void lineart_main_load_geometries(Depsgraph *depsgraph, Scene *scene, Object *camera, LineartData *ld, bool allow_duplicates, bool do_shadow_casting, ListBase *shadow_elns, blender::Set< const Object * > *included_objects)
void lineart_main_occlusion_begin(LineartData *ld)
void lineart_main_discard_out_of_frame_edges(LineartData *ld)
void lineart_main_get_view_vector(LineartData *ld)
void lineart_main_link_lines(LineartData *ld)
bool lineart_edge_from_triangle(const LineartTriangle *tri, const LineartEdge *e, bool allow_overlapping_edges)
void lineart_main_bounding_areas_connect_post(LineartData *ld)
void lineart_main_add_triangles(LineartData *ld)
void lineart_add_edge_to_array(LineartPendingEdges *pe, LineartEdge *e)
void lineart_main_clear_linked_edges(LineartData *ld)
void lineart_main_cull_triangles(LineartData *ld, bool clip_far)
void lineart_main_bounding_area_make_initial(LineartData *ld)
void lineart_main_free_adjacent_data(LineartData *ld)
void lineart_destroy_render_data_keep_init(LineartData *ld)
void lineart_edge_cut(LineartData *ld, LineartEdge *e, double start, double end, uchar material_mask_bits, uchar mat_occlusion, uint32_t shadow_bits)
void lineart_main_perspective_division(LineartData *ld)
void lineart_finalize_object_edge_array_reserve(LineartPendingEdges *pe, int count)
#define LRT_EDGE_BA_MARCHING_BEGIN(fb1, fb2)
#define LRT_EDGE_BA_MARCHING_NEXT(fb1, fb2)
void * lineart_mem_acquire(struct LineartStaticMemPool *smp, size_t size)
#define LRT_EDGE_BA_MARCHING_END
#define LRT_ITER_ALL_LINES_END
void lineart_matrix_perspective_44d(double(*mProjection)[4], double fFov_rad, double fAspect, double zMin, double zMax)
void * lineart_mem_acquire_thread(struct LineartStaticMemPool *smp, size_t size)
#define LRT_ITER_ALL_LINES_BEGIN
void lineart_matrix_ortho_44d(double(*mProjection)[4], double xMin, double xMax, double yMin, double yMax, double zMin, double zMax)
static bool lineart_contour_viewed_from_dark_side(LineartData *ld, LineartEdge *e)
LineartElementLinkNode * lineart_find_matching_eln(ListBase *shadow_elns, int obindex)
static void lineart_shadow_register_enclosed_shapes(LineartData *ld, LineartData *shadow_ld)
static bool lineart_shadow_cast_generate_edges(LineartData *ld, bool do_original_edges, LineartElementLinkNode **r_veln, LineartElementLinkNode **r_eeln)
bool lineart_main_try_generate_shadow(Depsgraph *depsgraph, Scene *scene, LineartData *original_ld, LineartGpencilModifierData *lmd_legacy, LineartStaticMemPool *shadow_data_pool, LineartElementLinkNode **r_veln, LineartElementLinkNode **r_eeln, ListBase *r_calculated_edges_eln_list, LineartData **r_shadow_ld_if_reproject)
static void lineart_shadow_segment_slice_get(double *fb_co_1, double *fb_co_2, double *gloc_1, double *gloc_2, double ratio, double at_1, double at_2, double *r_fb_co, double *r_gloc)
static void lineart_shadow_cast(LineartData *ld, bool transform_edge_cuts, bool do_light_contour)
LineartEdge * lineart_find_matching_edge(LineartElementLinkNode *shadow_eln, uint64_t edge_identifier)
static void lineart_shadow_register_silhouette(LineartData *ld)
static void lineart_shadow_create_shadow_edge_array(LineartData *ld, bool transform_edge_cuts, bool do_light_contour)
bool lineart_main_try_generate_shadow_v3(Depsgraph *depsgraph, Scene *scene, LineartData *original_ld, GreasePencilLineartModifierData *lmd, LineartStaticMemPool *shadow_data_pool, LineartElementLinkNode **r_veln, LineartElementLinkNode **r_eeln, ListBase *r_calculated_edges_eln_list, LineartData **r_shadow_ld_if_reproject)
void lineart_register_intersection_shadow_cuts(LineartData *ld, ListBase *shadow_elns)
static LineartShadowSegment * lineart_give_shadow_segment(LineartData *ld)
static void lineart_shadow_transform_task(void *__restrict userdata, const int element_index, const TaskParallelTLS *__restrict)
static bool lineart_shadow_cast_onto_triangle(LineartData *ld, LineartTriangle *tri, LineartShadowEdge *sedge, double *r_at_1, double *r_at_2, double *r_fb_co_1, double *r_fb_co_2, double *r_gloc_1, double *r_gloc_2, bool *r_facing_light)
static void lineart_shadow_edge_cut(LineartData *ld, LineartShadowEdge *e, double start, double end, double *start_gloc, double *end_gloc, double *start_fb_co, double *end_fb_co, bool facing_light, uint32_t target_reference)
void lineart_main_make_enclosed_shapes(LineartData *ld, LineartData *shadow_ld)
static void lineart_shadow_finalize_shadow_edges_task(void *__restrict userdata, const int i, const TaskParallelTLS *__restrict)
static bool lineart_do_closest_segment(bool is_persp, double *s1_fb_co_1, double *s1_fb_co_2, double *s2_fb_co_1, double *s2_fb_co_2, double *s1_gloc_1, double *s1_gloc_2, double *s2_gloc_1, double *s2_gloc_2, double *r_fb_co_1, double *r_fb_co_2, double *r_gloc_1, double *r_gloc_2, double *r_new_in_the_middle, double *r_new_in_the_middle_global, double *r_new_at, bool *is_side_2r, bool *use_new_ref)
#define DISCARD_NONSENSE_SEGMENTS
void lineart_register_shadow_cuts(LineartData *ld, LineartEdge *e, LineartEdge *shadow_edge)
void lineart_main_transform_and_add_shadow(LineartData *ld, LineartElementLinkNode *veln, LineartElementLinkNode *eeln)
void *(* MEM_mallocN)(size_t len, const char *str)
void MEM_freeN(void *vmemh)
ccl_device_inline float2 fabs(const float2 a)
void lineart_unwrap_v3(LineartGpencilModifierData *lmd_legacy, const GreasePencilLineartModifierData *lmd)
void lineart_wrap_v3(const LineartGpencilModifierData *lmd_legacy, GreasePencilLineartModifierData *lmd)
unsigned __int64 uint64_t
struct Object * light_contour_object
float cam_obmat_secondary[4][4]
bool use_contour_secondary
bool cam_is_persp_secondary
double view_projection[4][4]
bool shadow_enclose_shapes
double view_vector_secondary[3]
double camera_pos_secondary[3]
bool shadow_use_silhouette
bool allow_overlapping_edges
bool allow_duplicated_types
bool use_back_face_culling
ListBase vertex_buffer_pointers
ListBase line_buffer_pointers
LineartShadowEdge * shadow_edges
ListBase wasted_shadow_cuts
LineartStaticMemPool render_data_pool
struct LineartData::_conf conf
struct LineartData::_geom geom
struct LineartData::_qtree qtree
LineartStaticMemPool * edge_data_pool
struct LineartPendingEdges pending_edges
LineartStaticMemPool * shadow_data_pool
struct LineartEdgeSegment * next
struct LineartTriangle * t2
struct LineartTriangle * t1
std::unique_ptr< blender::Set< const Object * > > object_dependencies
struct LineartEdgeSegment * es_ref
struct LineartEdge * e_ref_light_contour
struct LineartEdge * e_ref
struct LineartShadowSegment * next
uint32_t target_reference
struct LineartEdge * testing_e[1]
struct LineartTriangle base
uint32_t target_reference
struct LineartVert * v[3]