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

Fixing Depth Alignment in Align-GL processing block #12556

Merged
merged 3 commits into from
Jan 18, 2024

Conversation

Arun-Prasad-V
Copy link
Contributor

@Arun-Prasad-V Arun-Prasad-V commented Jan 5, 2024

Tracked on LRS-514.

Related GH issues: #11827, #7611

Added an example as well.

@Arun-Prasad-V Arun-Prasad-V changed the title Added Align Depth GL example Fixing Depth Alignment in Align-GL processing block Jan 12, 2024
@Arun-Prasad-V
Copy link
Contributor Author

Arun-Prasad-V commented Jan 12, 2024

Results from the rs-align-gl example:

Copy link
Collaborator

@maloel maloel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Arun-Prasad-V Is this ready for merge, if there's still a known issue?

project(RealsenseExamplesAlignGl )

if(BUILD_GRAPHICAL_EXAMPLES)
add_executable(rs-align-gl rs-align-gl.cpp ../../third-party/imgui/imgui.cpp ../../third-party/imgui/imgui_draw.cpp ../../third-party/imgui/imgui_impl_glfw.cpp)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tried to use example-imgui.hpp

@Nir-Az
Copy link
Collaborator

Nir-Az commented Jan 14, 2024

The example looks great!
Thanks for the initiative!

  1. Please add it to the examples list: https://github.com/IntelRealSense/librealsense/tree/development/examples
  2. Please add a readme like in other examples folders: i.e. https://github.com/IntelRealSense/librealsense/blob/development/examples/align/readme.md

@Arun-Prasad-V Arun-Prasad-V force-pushed the align-gl-example branch 2 times, most recently from 4673a37 to 33c359b Compare January 15, 2024 07:56
@Arun-Prasad-V Arun-Prasad-V marked this pull request as ready for review January 16, 2024 07:26
project(RealsenseExamplesAlignGl )

# Save the command line compile commands in the build output
set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you mean by save ?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't remember we use this line in other examples

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't realize this. It got included when I took reference CMakelists.txt from rs-gl example

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, not a big deal but looks redundent
If enabled, generates a compile_commands.json file...

@Nir-Az Nir-Az merged commit 322e1c3 into IntelRealSense:development Jan 18, 2024
17 checks passed
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 this pull request may close these issues.

3 participants