Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYimingWu <xp8110@outlook.com>2022-01-22 11:41:08 +0300
committerYimingWu <xp8110@outlook.com>2022-01-22 11:41:08 +0300
commit579e8ebe79a1fd5ebd2fb4562c4d4b3f8c22f47d (patch)
tree07b102862e2e9c69488232a435afcbf96d6a4c8d /source/blender/makesdna/DNA_lineart_types.h
parent5ae76fae90da795891e7edccc14bccf36f93da54 (diff)
LineArt: Back face culling
Option to discard back faced triangles, this speeds up calculation especially for when you only want to show visible feature lines. Reviewed By: Antonio Vazquez (antoniov), Aleš Jelovčan (frogstomp) Differential Revision: https://developer.blender.org/D13848
Diffstat (limited to 'source/blender/makesdna/DNA_lineart_types.h')
-rw-r--r--source/blender/makesdna/DNA_lineart_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_lineart_types.h b/source/blender/makesdna/DNA_lineart_types.h
index 7ef03422c7f..bd123de4a54 100644
--- a/source/blender/makesdna/DNA_lineart_types.h
+++ b/source/blender/makesdna/DNA_lineart_types.h
@@ -50,6 +50,7 @@ typedef enum eLineartMainFlags {
LRT_USE_CREASE_ON_SMOOTH_SURFACES = (1 << 15),
LRT_USE_CREASE_ON_SHARP_EDGES = (1 << 16),
LRT_USE_CUSTOM_CAMERA = (1 << 17),
+ LRT_USE_BACK_FACE_CULLING = (1 << 19),
LRT_USE_IMAGE_BOUNDARY_TRIMMING = (1 << 20),
LRT_CHAIN_PRESERVE_DETAILS = (1 << 22),
} eLineartMainFlags;