[PD] gemlist_matrix command in opengl?
Mathieu Bouchard
matju at artengine.ca
Mon Nov 28 17:37:23 CET 2011
Le 2011-11-28 à 10:10:00, cyrille henry a écrit :
> Le 28/11/2011 07:31, ronni montoya a écrit :
>> Hi, Which is the name of the command in opengl that do the same as
>> gemlist_matrix object in Gem/pd? Is there is a command for this? Or
>> should i write my own?
> in the [gemlist_matrix] object source code, you'll find
> float mi[16]={0};
> glGetFloatv(GL_MODELVIEW_MATRIX,mi);
> this is the opengl command to get the transformation matrix.
Also, GridFlow's [gf/gl] takes a «get modelview_matrix» command which
outputs a message like :
« modelview_matrix 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 »
______________________________________________________________________
| Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
More information about the Pd-list
mailing list