HuajianUP/Photo-SLAM

Rendering issues

Hillowwold opened this issue · 1 comments

Hi, thank you for your great work! But I encountered some rendering problems. I am trying to use another visualization tool Rerun to do visualization research. I can display the SLAM frame image normally, but the current gaussian mapper frame image will show garbled colors. Do you have any ideas about it? Thanks!
Screenshot 2024-08-19 151647

A possible reason might be that glTexImage2D needs a 4-pixel alignment in width.
We padded the images with zeros before uploading to opengl. Please see the code related to padded_sub_image_width_ and padded_main_image_width_ in viewer/imgui_viewer.cpp.