<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>Am 26.04.2009 um 10:52 schrieb cyrille henry:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><br><br>Matthias Neuenhofer a écrit :<br><blockquote type="cite">the alpha channel differs<br></blockquote><blockquote type="cite">i think in strip mode you draw the triangles twice or 3 times<br></blockquote>yes, but why is this changing, since i don't use the square geometry, nor it's drawing mode?<br>(should use geometry_outType)<br><br><br><br><blockquote type="cite">------------------------------------------------------------------------<br></blockquote><blockquote type="cite">i get invalid value on all outtypes and adjacency intype<br></blockquote><blockquote type="cite">is is working for you?<br></blockquote>did you recompile Gem after my yesterday commit?</div></blockquote>yes but with change</div><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><span style="color: #aa0d91">void</span> glsl_program:: outtypeMess(GLuint outtype) {</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">&nbsp; m_geoOutType=outtype;</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">&nbsp; <span style="color: #aa0d91">if</span>(m_program &amp;&amp; glProgramParameteriEXT) {</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">&nbsp; &nbsp; glProgramParameteriEXT(m_program,<font class="Apple-style-span" color="#FF0000">GL_GEOMETRY_OUTPUT_TYPE_EXT</font>,m_geoOutType);</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">&nbsp; }</div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px;">was before&nbsp;<span class="Apple-style-span" style="font-family: Helvetica; font-size: 12px; "><font class="Apple-style-span" color="#FF0000">GL_GEOMETRY_INPUT_TYPE_EXT</font></span></span></font></div><blockquote type="cite"><div><br><br>here, it's works.<br>here is a patch with better annotation regarding to the combination that works.<br><br></div></blockquote>use the patch with dub - easier to understand the draw types</div><div>when you use TRIANGLE_STRIP instead of Strip there is no difference between</div><div>TRIANGLES draw. Where is Strip defined couldn´t find it - saw it someday</div><div>have a look at the patch</div><div>matthias</div><div></div></body></html>