On Son, 2017-09-10 at 23:34 +0200, Jack wrote: > > > However, you can simulate [ortho] if you need it now with : > > [GEMglMatrixMode GL_PROJECTION] > > > > > [GEMglLoadIdentity] > > > > > [GEMglOrtho -1 1 -1 1 1 20] > > With these objects, you reset the projection and use orthographic > projection for your geo. -1 1 -1 1 1 20 are the clipping volume in > ortho > mode.
Cool. It works for both, old and current Gem. See attached patch. It illustrates, what I initially wanted to achieve. Thanks to you and to Cyrille for your patience. Roman
#N canvas 589 50 448 367 10; #X declare -stdlib Gem -stdpath Gem; #X obj 42 78 gemwin; #X obj 23 114 gemhead; #X msg 42 11 destroy; #X obj 132 7 declare -stdlib Gem -stdpath Gem; #X obj 23 173 GEMglMatrixMode GL_PROJECTION; #X obj 23 200 GEMglLoadIdentity; #X obj 23 220 GEMglOrtho -1 1 -1 1 1 20; #X obj 236 100 gemhead; #X obj 236 120 world_light; #X msg 60 36 reset \, dimen 640 360 \, lighting 1 \, create \, 1 \, ; #X obj 23 144 rotateXYZ 0 90 0; #X obj 23 253 translateXYZ -1 0 0; #X obj 23 275 cylinder 1 50; #X connect 1 0 10 0; #X connect 2 0 0 0; #X connect 4 0 5 0; #X connect 5 0 6 0; #X connect 6 0 11 0; #X connect 7 0 8 0; #X connect 9 0 0 0; #X connect 10 0 4 0; #X connect 11 0 12 0;
signature.asc
Description: This is a digitally signed message part
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
