InfoEditor - #63
Open
alemuntoni wants to merge 55 commits into
Open
Conversation
# Conflicts: # vclib/render/include/vclib/bgfx/drawable/drawable_mesh_bgfx.h
# Conflicts: # vclib/render/include/vclib/bgfx/drawable/drawable_mesh_bgfx.h
# Conflicts: # vclib/render/include/vclib/qt/gui/toolbar_frames.h
# Conflicts: # vclib/render/include/vclib/render/headless_mesh_viewer.h
# Conflicts: # vclib/render/include/vclib/bgfx/drawable/drawable_mesh_bgfx.h # vclib/render/include/vclib/render/drawers/abstract_viewer_drawer.h
# Conflicts: # vclib/render/include/vclib/bgfx/drawable/mesh/mesh_poly_mapping_buffers.h # vclib/render/include/vclib/bgfx/drawable/mesh/mesh_render_buffers.h # vclib/render/include/vclib/bgfx/drawable/mesh/mesh_selection_buffers.h
# Conflicts: # vclib/render/include/vclib/bgfx/drawable/drawable_mesh_bgfx.h
# Conflicts: # vclib/render/shaders/vclib/bgfx/primitives/lines/fs_lines_id_in.sh # vclib/render/shaders/vclib/bgfx/primitives/lines/fs_lines_in.sh # vclib/render/shaders/vclib/bgfx/primitives/lines/varying.def.sc # vclib/render/shaders/vclib/bgfx/primitives/lines/vs_lines_in.sh
# Conflicts: # vclib/render/include/vclib/qt/gui/editor_settings_frames/info_editor_settings_frame.h # vclib/render/src/vclib/qt/gui/editor_settings_frames/info_editor_settings_frame.cpp # vclib/render/src/vclib/qt/gui/editor_settings_frames/info_editor_settings_frame.ui
…gh SettingsDialog
# Conflicts: # vclib/render/src/vclib/bgfx/read_from_gpu_buffer.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces the
InfoEditortool to the render module, providing a visual way to inspect mesh elements (vertices, faces, edges) directly in the viewport. It also includes UI integrations (Qt and ImGui), improvements to the underlying ID rendering logic, and associated test coverage.Key Changes
InfoEditorto allow users to visually query and inspect mesh elements, drawing text overlays with element data (e.g., Vertex ID, Face ID, etc.).InfoEditortoolbar frames and settings panels for both Qt and ImGui (info_editor_frame,info_editor_settings_frame).drawId): Upgraded ID rendering to write 64-bit values into the GPU buffer, encoding Object ID (16-bit), Element Type (16-bit), and Element ID (32-bit). Now correctly writes face IDs instead of triangle IDs for polygonal meshes.TextManagerat exit. Added support to customize font color and size for theInfoEditor.007-info-editor-headless) to validate the new info extraction on both triangular and polygonal meshes. Fixed a Vulkan-specific bug for these tests on Linux.