Skip to content

improves to viewMatrix_GL and related code#32

Merged
kalwalt merged 2 commits into
webarkit:devfrom
kalwalt:improve-viewMatrix_GL
Mar 7, 2025
Merged

improves to viewMatrix_GL and related code#32
kalwalt merged 2 commits into
webarkit:devfrom
kalwalt:improve-viewMatrix_GL

Conversation

@kalwalt

@kalwalt kalwalt commented Feb 6, 2025

Copy link
Copy Markdown
Member

This pull request includes several changes to the WebARKit module, focusing on improving the handling of matrix computations and logging. The most important changes include modifying matrix initialization, adding new methods for matrix computation, and enhancing logging for debugging purposes.

Matrix computation improvements:

  • WebARKit/WebARKitPattern.cpp: Changed the initialization of glViewMatrix to use CV_64FC1 for consistency with pose3d.
  • WebARKit/WebARKitPattern.cpp and WebARKit/include/WebARKitPattern.h: Added a new overloaded method computeGLviewMatrix that accepts a cv::Mat parameter to compute the GL view matrix using a given pose. [1] [2]

Logging enhancements:

Minor changes:

@kalwalt kalwalt merged commit 891f50f into webarkit:dev Mar 7, 2025
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.

1 participant