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

Skip rendering loop when there's no view changes #25

Open
linhanwang opened this issue Apr 4, 2024 · 4 comments
Open

Skip rendering loop when there's no view changes #25

linhanwang opened this issue Apr 4, 2024 · 4 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@linhanwang
Copy link

I built the viewer and tried to use it to load output of original 3DGS and got this error message:

(base) linhanwang@MacBook-Air:~/softwares/3DGS.cpp ⚡ ./build/apps/viewer/3dgs_viewer -v ~/Documents/sep_road/
^[[O[13:06:26] [D] Initializing Vulkan
[13:06:26] [D] Vulkan instance created
[13:06:26] [I] Available physical devices:
[13:06:26] [I] [0] Apple M3
[13:06:26] [I] Selected physical device (automatically): Apple M3
[13:06:26] [D] Logical device created
[13:06:26] [D] Surface format: VK_FORMAT_B8G8R8A8_UNORM
[13:06:26] [D] Present mode: VK_PRESENT_MODE_FIFO_KHR
[13:06:26] [D] Swapchain extent range: 1x1 - 16384x16384
[13:06:26] [D] Swapchain extent: 2560x1440. Preferred extent: 2560x1440
[13:06:26] [D] Swapchain created
[13:06:26] [D] Creating GUI
[13:06:26] [D] Loading scene to GPU
[13:06:26] [C] Could not find end of header
Could not find end of header
@linhanwang
Copy link
Author

This error is located in the LoadPlyHeader. The original 3DGS generated the ply file. Does incompatibility cause it?

@shg8
Copy link
Owner

shg8 commented Apr 4, 2024

Could you try supplying the full path to the .ply file? Reading the dataset folder is planned but not supported yet.

@linhanwang
Copy link
Author

Could you try supplying the full path to the .ply file? Reading the dataset folder is planned but not supported yet.

Thanks. It workes now. However, I noticed that the % gpu is always 95+ though I didn't change view angle. This behavior makes my mac heat up quickly. Do you have plan to optimize it?

@shg8 shg8 changed the title Could't load output of 3DGS Skip rendering loop when there's no view changes Apr 5, 2024
@shg8 shg8 added enhancement New feature or request help wanted Extra attention is needed labels Apr 5, 2024
@shg8
Copy link
Owner

shg8 commented Apr 5, 2024

Will get to this eventually - should be an easy fix. Feel free to submit a PR in the meantime.

Could you try supplying the full path to the .ply file? Reading the dataset folder is planned but not supported yet.

Thanks. It workes now. However, I noticed that the % gpu is always 95+ though I didn't change view angle. This behavior makes my mac heat up quickly. Do you have plan to optimize it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants