fhwedel-hoe / OpenRoadEd

OpenRoadEd is a simple application designed to create both logical (OpenDRIVE standard) and geometrical (OpenSceneGraph) descriptions of road networks.
Other
154 stars 64 forks source link

3D view navigation not working #12

Open cbrewitt opened 3 years ago

cbrewitt commented 3 years ago

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.

fhwedel-hoe commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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".

ebhrz commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

fhwedel-hoe commented 2 years ago

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 commented 2 years ago

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.