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

[meshing] export computed bounding box #1473

Merged
merged 2 commits into from
Aug 14, 2023
Merged

Conversation

almarouk
Copy link
Member

@almarouk almarouk commented Jun 20, 2023

To be used in meshroom for visualizing the automatically estimated bounding box.

See alicevision/Meshroom#2087

@@ -481,6 +520,19 @@ int aliceVision_main(int argc, char* argv[])
const double height = hexah[0].z - hexah[4].z;

ALICEVISION_LOG_INFO("bounding Box : length: " << length << ", width: " << width << ", height: " << height);

// Save bounding box
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure we should be saving this bounding box with a custom txt format.
A more standard mesh format (OBJ for instance) would probably be more suited as it would allow opening the bounding box in any 3D software.

Copy link
Member

Choose a reason for hiding this comment

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

Good remark, but easier to use the same parameters to represent the bbox everywhere.

@fabiencastan fabiencastan added this to the 3.2.0 milestone Aug 14, 2023
@fabiencastan fabiencastan merged commit 8b357aa into develop Aug 14, 2023
@fabiencastan fabiencastan deleted the dev/meshingBBox branch August 14, 2023 07:42
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