pro3d-space / PRo3D

PRo3D, short for Planetary Robotics 3D Viewer, is an interactive 3D visualization tool allowing planetary scientists to work with high-resolution 3D reconstructions of planetary surfaces.
http://pro3d.space/
GNU Affero General Public License v3.0
39 stars 2 forks source link

Flat views large zoom causes huge memory request #427

Open gpaar opened 4 days ago

gpaar commented 4 days ago

Zooming in the frustrum causes huge memory requirements, more than 20GBytes causing 32GB system memory to get insufficient. Test data on sftp://provi-mastcam-z@dig-sftp.joanneum.at:2200/DataExchange/PRo3D-Testdata/Issues/427-2024-10-16-flat-view-SeqBookmarks-Memory - it contains a 1297a.pro3d file and the respective annotations and SB folder. The launch of the sequenced bookmarks rendering stops on Frame 4, as the fulcrum gradually zooms in from 20 to 120 (which is not even the full resolution of Z110) Also the interactive mode stalls after continuous memory devour if the state of SB "BB-Zoomed" is kept for some minutes. The view is ready in full resolution already after some seconds, but loading of invisible stuff into memory seems to continue in an uncontrolled manner thereafter. image

haraldsteinlechner commented 4 days ago

is related (if not identical) to https://github.com/pro3d-space/PRo3D/issues/384 and involves reworking the LoD decisions. Actually this one is the next on my list..