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

some parts of PLY file cut off in labelCloud tool #16

Closed
meixuan-stephanie opened this issue Jul 22, 2021 · 7 comments · Fixed by #17
Closed

some parts of PLY file cut off in labelCloud tool #16

meixuan-stephanie opened this issue Jul 22, 2021 · 7 comments · Fixed by #17

Comments

@meixuan-stephanie
Copy link

Screenshot 2021-07-22 at 7 47 17 PM

This is parts of my model visualized by labelCloud. However, when I zoom in or zoom out using touchpad. Significant parts are missing like this:

Screenshot 2021-07-22 at 7 48 32 PM

The grey area will increase when I zoomed out. May I ask for a possible solution on it? Thanks in advance.
@meixuan-stephanie
Copy link
Author

Btw, I also checked your introduction video. Your example file will be open with full view but mine is open without seeing the complete view regardless of how I adjust the angle and zoom in/out.

@ch-sa
Copy link
Owner

ch-sa commented Jul 22, 2021

Hi @meixuan-stephanie,

thanks for raising the issue. The behaviour you are describing is caused by the OpenGL's clipping (→ Clip space). OpenGL, which is rendering your point cloud, needs to know a "box" or "frustum" with a minimum distance (near_plane) and maximum distance (far_plane) in which it should still display the objects. Points before and after these planes are not visualized.

However, I noticed that my default settings (near_plane=0.5 and far_plane=30 [m]) may not be suitable for all users. So I increased the clip space to the following values, which should be reasonable given the max. ranges of current depth sensors:

  • near_plane = 0.1 [m]
  • far_plane = 300 [m]

I also added the possibility to change these settings in the config.

I hope this solves your problem.

For the initial display of the point cloud: I am aware of this problem but it is difficult to find a perfect start visualization for all kind of different point cloud constellations (size, distance, ...). I will work on that in the future.

@ch-sa ch-sa closed this as completed in #17 Jul 22, 2021
@meixuan-stephanie
Copy link
Author

Thank you so much for your reply and help. Before I reinstall it to test the overview, I'd like to ask another question when using this tool. It is hard to rotate the model as well. FYI, I'm a Mac user, not sure if the control button is different for rotation. I did press shift and use left mouse or the adjust the small ball displayed on the main channel. Even press c and v or band n from the keyboard to see if the rotation axis could change. However, it seems that I could only rotate along one axis only. The setting column did not appear as you demo from the video. That's the only option displayed.
Screenshot 2021-07-23 at 4 48 08 AM
Thanks in advance again.

@meixuan-stephanie
Copy link
Author

@ch-sa

@ch-sa
Copy link
Owner

ch-sa commented Jul 23, 2021

Hi @meixuan-stephanie,

thanks for the hint. There are some compatibility issues with the integrated menu bar on Macs.

That's why I enforced to show the menu bar inside the application window. But apparently Mac decides to drop the menu bar then altogether. :/

I will revert to the integrated menu bar again soon.

@meixuan-stephanie
Copy link
Author

Hi @ch-sa,

Thank you again for your reply and help.

@ch-sa
Copy link
Owner

ch-sa commented Jul 24, 2021

@meixuan-stephanie I reset the menu bar to the native one again (8cd0d57). Could you check if it is visible now to you?
→ it probably still won't show the ticks at the ckeck actions in the menu, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants