Le 10/09/2017 à 23:34, Jack a écrit :
...
Don't forget to use just after your geo (if you want your perspective
come back) :

[GEMglMatrixMode GL_PROJECTION]
|
[GEMglLoadIdentity]
|
[GEMglFrustum -1 1 -1 1 1 20]

this will only work for square windows : unlike the perspec message, frustrum 
is not affected by the gemwin dimension.

My last patch can be simplified thanks to this message. see attachment (change 
the windows dimension)

cheers
c
#N canvas 62 736 546 219 10;
#X obj 230 55 gemhead;
#X obj 230 127 GEMglFrustum -1 1 -1 1 1 20;
#X obj 230 77 GEMglMatrixMode GL_PROJECTION;
#X obj 230 103 GEMglLoadIdentity;
#X obj 230 150 square 3.5;
#X obj 80 125 gemwin;
#X msg 87 95 reset \, create \, 1;
#X connect 0 0 2 0;
#X connect 1 0 4 0;
#X connect 2 0 3 0;
#X connect 3 0 1 0;
#X connect 6 0 5 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to