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

IOhannes m zmoelnig zmoelnig at iem.at
Mon Apr 27 12:33:55 CEST 2009


Matthias Neuenhofer wrote:
>
>>
>> apart from that id don't know whether i can follow your problems here.
>> what are you trying to achieve with commenting out the 2 conditions?
>> to not get an error "cannot load shader now! deferrubg till later..."?
> no i got the error "cannot load shader now" from this part when it has 
> VERSION_2_1
>   if(!GLEW_VERSION_2_0 && !GLEW_ARB_geometry_shader4) {
>     post("cannot load shader now!");
>     return;
>   }
> VERSION_2_0 work
> 
> so i dont understand why V_2_1 failed - openGL 2.1 and latest GLEW 
> version 1.5.1 are installed

but as i understand it: GL_VERSION_2_1 defines geometry shaders.  on 
GL_VERSION_2_0 a card _could_ have the ARB extension; if either was true 
(in your case at least the ARB extension is there) then the checks 
should succeed.
btw, i have simplified the code in svn a bit (using isRunnable() which 
you didn't have to hack, so it seems like the new code might work for 
you anyhow).


as for "latest GLEW" being installed, this doesn't really matter, since 
Gem includes its own static version of GLEW.

but if you have it installed, could you post the output of glewinfo?


> 
> at least the geometry_shader are functioning :)
> 


yep; that's all we want, isn't it?

fgmasdr
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3636 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20090427/c6612059/attachment.bin>


More information about the GEM-dev mailing list