Re: [PD] [Gem] changed [ortho] behaviour

2017-09-10 Thread Jack
Just don't forget [GEMglMatrixMode GL_MODELVIEW] after [GEMglOrtho -1 1 -1 1 1 20] to manipulate transformations on model (geos) (and view). ++ Jack Le 11/09/2017 à 00:32, Roman Haefeli a écrit : > On Mon, 2017-09-11 at 00:24 +0200, Jack wrote: >> Here, your patch using what we said before as

Re: [PD] [Gem] changed [ortho] behaviour

2017-09-10 Thread Roman Haefeli
On Mon, 2017-09-11 at 00:24 +0200, Jack wrote: > Here, your patch using what we said before as a workaround... if > needed ! :) You were faster than me :-)  Yes, this is what I meant to do. Thanks for clarifying. Roman signature.asc Description: This is a digitally signed message part

Re: [PD] [Gem] changed [ortho] behaviour

2017-09-10 Thread Roman Haefeli
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 >

Re: [PD] [Gem] changed [ortho] behaviour

2017-09-10 Thread Jack
Here, your patch using what we said before as a workaround... if needed ! :) ++ Jack Le 11/09/2017 à 00:10, Roman Haefeli a écrit : > On Son, 2017-09-10 at 23:33 +0200, cyrille henry wrote: >> hello, >> >> Le 10/09/2017 à 22:34, Roman Haefeli a écrit : >> >>> > > But how can

Re: [PD] [Gem] changed [ortho] behaviour

2017-09-10 Thread cyrille henry
Le 11/09/2017 à 00:10, Roman Haefeli a écrit : My initial task that got me into investigating changes in [ortho] is rendering a cylinder that fits exactly into a window of a given size. It was very easy to do in the last Gem release, but I don't seem able to do it with current Gem. See

Re: [PD] [Gem] changed [ortho] behaviour

2017-09-10 Thread Roman Haefeli
On Son, 2017-09-10 at 23:33 +0200, cyrille henry wrote: > hello, > > Le 10/09/2017 à 22:34, Roman Haefeli a écrit : > > > > > > > > > > > > > > But how can someone use the full window area with the new > > > > default > > > > mode? > > > changing the windows perspective!!! > > > (using the

Re: [PD] [Gem] changed [ortho] behaviour

2017-09-10 Thread Jack
Le 10/09/2017 à 23:50, cyrille henry a écrit : > > > 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] > >

Re: [PD] [Gem] changed [ortho] behaviour

2017-09-10 Thread cyrille henry
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

Re: [PD] [Gem] changed [ortho] behaviour

2017-09-10 Thread Jack
Hello Roman, Le 10/09/2017 à 22:34, Roman Haefeli a écrit : > On Sam, 2017-09-09 at 18:50 +0200, cyrille henry wrote: >> >> Le 09/09/2017 à 12:44, Roman Haefeli a écrit : >>> >>> On Sam, 2017-09-09 at 12:37 +0200, cyrille henry wrote: hello, yes, the ortho was buggy and fixed. But

Re: [PD] [Gem] changed [ortho] behaviour

2017-09-10 Thread cyrille henry
hello, Le 10/09/2017 à 22:34, Roman Haefeli a écrit : But how can someone use the full window area with the new default mode? changing the windows perspective!!! (using the perspec message to gemwin, see help file) Sorry, I don't understand. Maybe I simply don't understand which question

Re: [PD] [Gem] changed [ortho] behaviour

2017-09-10 Thread Roman Haefeli
On Sam, 2017-09-09 at 18:50 +0200, cyrille henry wrote: > > Le 09/09/2017 à 12:44, Roman Haefeli a écrit : > > > > On Sam, 2017-09-09 at 12:37 +0200, cyrille henry wrote: > > > > > > hello, > > > yes, the ortho was buggy and fixed. But the old behaviours is > > > still > > > possible if you