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

Matthias Neuenhofer matthias at neuenhofer.de
Sun Apr 26 01:30:20 CEST 2009


the alpha channel differs
i think in strip mode you draw the triangles twice or 3 times
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bild 2.png
Type: image/png
Size: 201309 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20090426/66ce0a3d/attachment.png>
-------------- next part --------------



i get invalid value on all outtypes and adjacency intype

is is working for you?

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



More information about the GEM-dev mailing list