I should add:

Looking at the implementation of the x,y,z rotation keys in the shader
demo, I expect that it's possible to gimbal lock that rotation (though
without textual feedback on the angles, it's difficult to tell where
the axes are, and I am not familiar enough with the gimbal lock math
to describe how to produce this without that textual feedback).

FYI,


--
Raul

On Wed, Feb 9, 2022 at 1:29 AM Raul Miller <[email protected]> wrote:
>
> Yes - I see the cube, but not the text.
>
> GL_VERSION: 4.6.0 - Build 27.20.100.9664
> GL_VENDOR: Intel
> GL_RENDERER: Intel(R) UHD Graphics
> GL_SHADING_LANGUAGE_VERSION: 4.60 - Build 27.20.100.9664
> #version 460 core
> in vec3 vertex;
> in vec3 color;
> out vec4 v_color;
> uniform mat4 mvp;
> void main(void)
> {
>   gl_Position = mvp * vec4(vertex,1.0);
>   v_color = vec4(color,1.0);
> }
>
> #version 460 core
> in vec4 v_color;
> out vec4 fragColor;
> void main(void)
> {
>   fragColor = v_color;
> }
>
>       JVERSION
> Engine: j903/j64avx2/windows
> Release-a: commercial/2021-12-16T15:15:09
> Library: 9.03.08
> Qt IDE: 1.9.5s/5.15.2(5.15.2)
> Platform: Win 64
> Installer: J903 install
> InstallPath: c:/other/j903
> Contact: www.jsoftware.com
>
> Thanks,
>
> --
> Raul
>
> On Tue, Feb 8, 2022 at 10:18 PM bill lam <[email protected]> wrote:
> >
> > I can see the text 'keys: x y z a s l r F4' on macos.
> > Did you mean it work on macos but not on windows?
> > Did you see the rotating cube?
> > What was the output in the j session?
> >
> > > On 9 Feb 2022, at 2:12 AM, Raul Miller <[email protected]> wrote:
> > >
> > > From the jqt menu Help > Studio > Qt Demos...
> > >
> > > The shader demo is supposed to display text in the opengl window --
> > > https://github.com/jsoftware/demos_qtdemo/blob/master/shader.ijs#L159
> > >
> > > Currently, I am not seeing that text.
> > >
> > >   JVERSION
> > > Engine: j903/j64avx2/windows
> > > Release-a: commercial/2021-12-16T15:15:09
> > > Library: 9.03.08
> > > Qt IDE: 1.9.5s/5.15.2(5.15.2)
> > > Platform: Win 64
> > > Installer: J903 install
> > > InstallPath: c:/other/j903
> > > Contact: www.jsoftware.com
> > >
> > > FYI,
> > >
> > > --
> > > Raul
> > > ----------------------------------------------------------------------
> > > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to