[PD] Object to handle OpenGL macros

IOhannes m zmoelnig zmoelnig at iem.at
Sat Jan 31 10:08:22 CET 2009


Claude Heiland-Allen wrote:
> Hans-Christoph Steiner wrote:
>> Looks useful.  I wonder how hard it would be to make the GEMgl objects  
>> just direclty understand those macros.  That might make it easier still
> 
> http://pd-gem.svn.sourceforge.net/viewvc/pd-gem?view=rev&revision=2582
> """
> embedd GLconst->const interpreter, so now we can use directly use 
> [GEMglEnable GL_FOG] instead of quirks with [GLdefine];
> this is done explicitely; there really should be a way to do it 
> implicetly for all GLenum types
> """

i couldn't have said it any better :-)

apart from not the ability to implicitely use macros in (some(?)) 
constructors, i think all the example patches in 09.openGL/ show how to 
use [GLdefine].

like for all gl-wrapper objects, there is no help-patch :-(

gmasdr
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/pd-list/attachments/20090131/247d3649/attachment.bin>


More information about the Pd-list mailing list