OpenRoadEd icon indicating copy to clipboard operation
OpenRoadEd copied to clipboard

3D view navigation not working

Open cbrewitt opened this issue 4 years ago • 8 comments

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 avatar Mar 24 '21 12:03 cbrewitt

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?

fhwedel-hoe avatar Mar 24 '21 15:03 fhwedel-hoe

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/

cbrewitt avatar Mar 24 '21 16:03 cbrewitt

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 https://github.com/openscenegraph/osgQt/commit/bfb66e0cae804df928033cf297d8a8bd3105be9d.
Update: This has been successfully explored in branch "osgqt".

fhwedel-hoe avatar Mar 24 '21 21:03 fhwedel-hoe

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

ebhrz avatar Apr 21 '22 09:04 ebhrz

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

creatorofuniverses avatar Jul 12 '22 08:07 creatorofuniverses

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

creatorofuniverses avatar Jul 12 '22 08:07 creatorofuniverses

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?

fhwedel-hoe avatar Jul 14 '22 10:07 fhwedel-hoe

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.

eclewlow avatar Sep 06 '22 00:09 eclewlow