Skip to content

Fixing Depth Alignment in Align-GL processing block - #12556

Merged
Nir-Az merged 3 commits into
realsenseai:developmentfrom
Arun-Prasad-V:align-gl-example
Jan 18, 2024
Merged

Fixing Depth Alignment in Align-GL processing block#12556
Nir-Az merged 3 commits into
realsenseai:developmentfrom
Arun-Prasad-V:align-gl-example

Conversation

@Arun-Prasad-V

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

Copy link
Copy Markdown
Contributor

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

Arun-Prasad-V commented Jan 12, 2024

Copy link
Copy Markdown
Contributor Author

Results from the rs-align-gl example:

Comment thread src/gl/align-gl.cpp

@maloel maloel left a comment

Copy link
Copy Markdown
Contributor

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?

Comment thread examples/align-gl/CMakeLists.txt Outdated
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
Copy Markdown
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

Comment thread examples/align-gl/rs-align-gl.cpp Outdated
@Nir-Az

Nir-Az commented Jan 14, 2024

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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...

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