Le 08/09/2013 00:51, Jack a écrit :
Le 07/09/2013 23:43, topo bot a écrit :
Hi again, im iterating a geo in Gem and then im anulating one iterated
geo using module with spigot.
It works fine, but when i add  GEMglPushMatrix and GEMglPopMatrix  i
get GL:stack overflow because each GEMglPushMatrix is expecting one
GEMglPopMatrix and when i anulate one geo that means that one
GEMglPushMatrix is not gonna have its GEMglPopMatrix pair.

any idea how can i solve this problem?

I attached the patch and here theres also a pic

http://www.freeimagehosting.net/newuploads/8s8r3.png


_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

Can you explain what you want to achieve ?
If you just want to have the same occurence of GEMglPushMatrix/GEMglPopMatrix, then use another [spigot] with a [== 1]. Send the output of this [spigot] directly in the [GEMglPopMatrix]. You should get What you want (hide the sphere and always get couple GEMglPushMatrix/GEMglPopMatrix).
++

Jack




_______________________________________________
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

Here the patch.
Don't know if it is what you want.
++

Jack