Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3D view navigation not working #12

Open
cbrewitt opened this issue Mar 24, 2021 · 8 comments
Open

3D view navigation not working #12

cbrewitt opened this issue Mar 24, 2021 · 8 comments
Labels
help wanted Extra attention is needed

Comments

@cbrewitt
Copy link

I have tried using OpenRoadEd on Windows 10, and the 3D view navigation with mouse and keys works correctly. However, when running on Ubuntu 20.04, when attempting to navigate the 3D view with mouse and keyboard, nothing happens and the view does not change.

@cbrewitt cbrewitt changed the title 3D view Navigation not working 3D view Navigation not working in Ubuntu 20.04 Mar 24, 2021
@fhwedel-hoe
Copy link
Owner

I cannot confirm this behaviour. How did you make it work on Windows? For me, the Qt5 version provided by this repository does not even display anything at all. Are you referring to the original Qt4 binary?

@cbrewitt
Copy link
Author

I cannot confirm this behaviour. How did you make it work on Windows? For me, the Qt5 version provided by this repository does not even display anything at all. Are you referring to the original Qt4 binary?

On windows I am using the binary available here https://sourceforge.net/projects/openroaded/

@fhwedel-hoe fhwedel-hoe changed the title 3D view Navigation not working in Ubuntu 20.04 3D view navigation not working Mar 24, 2021
@fhwedel-hoe
Copy link
Owner

fhwedel-hoe commented Mar 24, 2021

This is a known problem I had listed in #3. Then I forgot about it after a contributor fixed the display itself.

The old binary was created more than 10 years ago with Qt4, an unknown version of OSG and Microsoft Visual Studio 2010. I do not know how to replicate the original behaviour.

I hope, someday someone who knows how to integrate a recent version of OSG in the Qt5 application will help with this issue.

Side-note: A switch from osgQt/GraphicsWindowQt to osgQOpenGL/GraphicsWindowEx or osgQOpenGL/osgQOpenGLWidget may be advisable, see openscenegraph/osgQt@bfb66e0.
Update: This has been successfully explored in branch "osgqt".

@fhwedel-hoe fhwedel-hoe added the help wanted Extra attention is needed label Mar 24, 2021
@ebhrz
Copy link

ebhrz commented Apr 21, 2022

I debugged it yesterday but didn't succeed. Osgviewer doesn't get the key-press event. Guess osgqt doesn't pass it from qt.

@VitalyyBezuglyj
Copy link

Hello!

I have the same problem. I build Docker container from ubuntu 20.04 app successfully starting but interactive part of gui does not respond to my actions

@VitalyyBezuglyj
Copy link

By the way, could you please provide a bit more instructions about building project on Windows?

@fhwedel-hoe
Copy link
Owner

could you please provide a bit more instructions about building project on Windows

It seems osgQt is no longer available in vcpkg. I updated the commands in the readme. Are they sufficient?

@eclewlow
Copy link

eclewlow commented Sep 6, 2022

I think I have this same issue. Holding down spacebar while using the mouse doesn't rotate the camera in 3D view.
I'm running an Ubuntu 20.04 machine, accessed remotely via TeamViewer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants