[GEM-dev] [ pd-gem-Feature Requests-2612731 ] glsl_geometry

cyrille henry cyrille.henry at la-kitchen.fr
Sun Apr 26 10:52:04 CEST 2009



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?

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

cyrille

> 
> Matthias
> 
> 
> Am 25.04.2009 um 23:11 schrieb cyrille henry:
> 
>> ok.
>> it now work as it should.
>> here is a small patch that i used to have a better understanding.
>>
>> i still have an interrogation, see in the patch if you could help...
>>
>> Cyrille
>>
>> cyrille henry a écrit :
>>> IOhannes m zmoelnig a écrit :
>>>> cyrille henry wrote:
>>>> mabye i introduced some problems when i defaulted to "triangles"
>>> yep, i think so :
>>> void glsl_program:: outtypeMess(GLuint outtype) {
>>> m_geoInType=outtype;
>>> if(m_program && glProgramParameteriEXT) {
>>>   
>>> glProgramParameteriEXT(m_program,GL_GEOMETRY_INPUT_TYPE_EXT,m_geoOutType); 
>>>
>>> }
>>> }
>>> i think :   m_geoInType=outtype; is a copy/paste typo and should be 
>>> :   m_geoOutType=outtype;
>>> that could explain my problems...
>>> fixed in svn.
>>> Cyrille
>>> _______________________________________________
>>> GEM-dev mailing list
>>> GEM-dev at iem.at
>>> http://lists.puredata.info/listinfo/gem-dev
>> <primitive.zip>_______________________________________________
>> GEM-dev mailing list
>> GEM-dev at iem.at
>> http://lists.puredata.info/listinfo/gem-dev
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: primitive.zip
Type: application/zip
Size: 2375 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20090426/075b69d7/attachment.zip>


More information about the GEM-dev mailing list