IOhannes m zmoelnig a écrit :
we should check a (generic) way to automatically find out which drawing mode should be used. it will definitely become a usability problem, if people have to read the Gem-sources to know which geometry type they are allowed to use in the geometry shaders. also the use of GL_LINE_STRIP vs "fill" is rather ... arbitrary.
yep, i think a good thing would be to duplicate the draw fonction in GemShape.cpp with a one that is more complete and accurate (less confusing). by example a gl_draw function that could accept a number from a GLdefine object...
that would be a 1st step. i don't know yet if more would be needed.
Cyrille