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

Difficult to orbit around heightmaps #598

Open
chapulina opened this issue Mar 30, 2022 · 2 comments
Open

Difficult to orbit around heightmaps #598

chapulina opened this issue Mar 30, 2022 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed ogre2.x

Comments

@chapulina
Copy link
Contributor

Environment

  • OS Version: Ubuntu Focal
  • Source or binary build? Source, main or ign-rendering6

Description

  • Expected behavior: Using the mouse to orbit around a heightmap should be as easy as orbiting around other meshes.
  • Actual behavior: It looks like the ray doesn't intersect the heightmap and I'm orbiting around an arbitrary point in space.

See how it moves much more when orbiting the sphere than on the heightmap:

heightmap_orb_2

This becomes more problematic the further you are. Here's an example with a large heightmap. Orbiting the grid is much easier:

heightmap_orbit

Steps to reproduce

  1. ign gazebo heightmap.sdf
  2. Orbit around the heightmap and the other models

Additional context

I remember we had the same issue on Gazebo classic a while back:

@chapulina chapulina added bug Something isn't working ogre2.x labels Mar 30, 2022
@chapulina chapulina added the help wanted Extra attention is needed label Apr 1, 2022
@Kakcalu13
Copy link

is this still issue? Seems OK for me now unless I mistook the bug? I am on Fortress 6.9.0 version (ignore the render issue)

ezgif-1-6634b1e086

@chapulina
Copy link
Contributor Author

I think it works reasonably when you're close to the heightmap, but the further away, the worse it gets. My 2nd heightmap spans multiple kilometers, and if I try to orbit it from far away, it's very difficult.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed ogre2.x
Projects
None yet
Development

No branches or pull requests

2 participants