From 2baadf2fe53718079ba86dc2b6510716a51b809e Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Tue, 8 Aug 2023 18:34:13 +0200 Subject: [PATCH 1/2] Be more precise regarding index buffer --- include/assimp/postprocess.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/assimp/postprocess.h b/include/assimp/postprocess.h index cdcbf0577..d69c2924e 100644 --- a/include/assimp/postprocess.h +++ b/include/assimp/postprocess.h @@ -94,6 +94,7 @@ enum aiPostProcessSteps * indexed geometry, this step is compulsory or you'll just waste rendering * time. If this flag is not specified, no vertices are referenced by * more than one face and no index buffer is required for rendering. + * Unless #aiProcess_Triangulate is specified. Then you need one regardless. */ aiProcess_JoinIdenticalVertices = 0x2, From 20a2cc4c94e4acd29a417f76c516c211b20477d8 Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Wed, 9 Aug 2023 02:05:44 +0200 Subject: [PATCH 2/2] it is the importer, not the postproc --- include/assimp/postprocess.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/assimp/postprocess.h b/include/assimp/postprocess.h index d69c2924e..a905a8be0 100644 --- a/include/assimp/postprocess.h +++ b/include/assimp/postprocess.h @@ -94,7 +94,7 @@ enum aiPostProcessSteps * indexed geometry, this step is compulsory or you'll just waste rendering * time. If this flag is not specified, no vertices are referenced by * more than one face and no index buffer is required for rendering. - * Unless #aiProcess_Triangulate is specified. Then you need one regardless. + * Unless the importer (like ply) had to split vertices. Then you need one regardless. */ aiProcess_JoinIdenticalVertices = 0x2,