Hi,
I've made an object that eats macros listed in <gl.h> and outputs the integer value.
Not sure if anyone else would make use of it but here it is. http://pspunch.com/pd/article/pd_glmacro/index_en.html.
-- David Shimamoto
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
.hc
On Jan 30, 2009, at 4:09 AM, PSPunch wrote:
Hi,
I've made an object that eats macros listed in <gl.h> and outputs the integer value.
Not sure if anyone else would make use of it but here it is. http://pspunch.com/pd/article/pd_glmacro/index_en.html.
-- David Shimamoto
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
"Free software means you control what your computer does. Non-free
software means someone else controls that, and to some extent controls
you." - Richard M. Stallman
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 """
.hc
On Jan 30, 2009, at 4:09 AM, PSPunch wrote:
Hi,
I've made an object that eats macros listed in <gl.h> and outputs the integer value.
Not sure if anyone else would make use of it but here it is. http://pspunch.com/pd/article/pd_glmacro/index_en.html.
-- David Shimamoto
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
"Free software means you control what your computer does. Non-free
software means someone else controls that, and to some extent controls
you." - Richard M. Stallman
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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 stillhttp://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