Am 26.04.2009 um 10:52 schrieb cyrille henry:



Matthias Neuenhofer a écrit :
the alpha channel differs
i think in strip mode you draw the triangles twice or 3 times
yes, but why is this changing, since i don't use the square geometry, nor it's drawing mode?
(should use geometry_outType)



------------------------------------------------------------------------
i get invalid value on all outtypes and adjacency intype
is is working for you?
did you recompile Gem after my yesterday commit?
yes but with change
void glsl_program:: outtypeMess(GLuint outtype) {
  m_geoOutType=outtype;
  if(m_program && glProgramParameteriEXT) {
    glProgramParameteriEXT(m_program,GL_GEOMETRY_OUTPUT_TYPE_EXT,m_geoOutType);
  }
was before GL_GEOMETRY_INPUT_TYPE_EXT


here, it's works.
here is a patch with better annotation regarding to the combination that works.

use the patch with dub - easier to understand the draw types
when you use TRIANGLE_STRIP instead of Strip there is no difference between
TRIANGLES draw. Where is Strip defined couldn´t find it - saw it someday
have a look at the patch
matthias