Skip to content
Snippets Groups Projects
Unverified Commit 42096c4e authored by Thomas Müller's avatar Thomas Müller Committed by GitHub
Browse files

Merge pull request #991 from SamDM/fix-headless-python-import-issue950

fix issue 950
parents ce841750 2dbfe56e
No related branches found
No related tags found
No related merge requests found
......@@ -1139,6 +1139,7 @@ void Testbed::visualize_nerf_cameras(ImDrawList* list, const Matrix<float, 4, 4>
}
}
#endif //NGP_GUI
Eigen::Matrix<float, 3, 4> Testbed::crop_box(bool nerf_space) const {
Eigen::Vector3f cen = m_render_aabb_to_local.transpose() * m_render_aabb.center();
......@@ -1194,6 +1195,7 @@ std::vector<Eigen::Vector3f> Testbed::crop_box_corners(bool nerf_space) const {
return rv;
}
#ifdef NGP_GUI
void Testbed::draw_visualizations(ImDrawList* list, const Matrix<float, 3, 4>& camera_matrix) {
// Visualize 3D cameras for SDF or NeRF use cases
if (m_testbed_mode != ETestbedMode::Image) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment