Temporary tech ENABLE_SEAMS_USING_INSTANCED_MODELS -> WIP (still missing opengl calls)

This commit is contained in:
enricoturri1966 2021-08-05 15:08:49 +02:00
parent 252935dde7
commit 34da899c66
3 changed files with 193 additions and 0 deletions

View file

@ -49,6 +49,12 @@
#define ENABLE_SINKING_CONTOURS (1 && ENABLE_2_4_0_ALPHA0)
// Enable rendering seams (and other options) in preview using models
#define ENABLE_SEAMS_USING_MODELS (1 && ENABLE_2_4_0_ALPHA0)
// Enable rendering seams (and other options) in preview using instanced models
// references:
// https://ogldev.org/www/tutorial33/tutorial33.html
// https://docs.gl/gl3/glDrawElementsInstanced
// https://www.khronos.org/opengl/wiki/Vertex_Rendering#Instancing
#define ENABLE_SEAMS_USING_INSTANCED_MODELS (1 && ENABLE_SEAMS_USING_MODELS)
#endif // _prusaslicer_technologies_h_