playing with gausian splatting. I can import the point clouds with their custom attributes and edit them. But houdini exports .ply files as ASCII.
gply also converts them as ASCII. It has a parameter for ASCII export but not for binary? Is there any other way?
gply or any other way, can i export binary .ply files?
2411 7 3- vkucukemre
- Member
- 3 posts
- Joined: March 2018
- Offline
- DavidRhodes
- Member
- 4 posts
- Joined: Jan. 2018
- Offline
I am also trying to work with Gaussian Splats in Houdini, encountering the same issue. What I'm trying now is to convert the ASCII ply (from Houdini) to binary using pyply [python-plyfile.readthedocs.io].
This seems to correctly encode the data as binary, but the SIBR Viewer cannot open it. It appears Houdini adds some invalid header data which causes the following error:
If you delete the bad header data, the viewer will launch, but then crashes with a new error:
.
What's interesting to note is that if you load the original ply into a file sop, save it back out with a file sop, then convert to binary, the file size is the same (according to windows explorer).
If you find a solution, please share!
This seems to correctly encode the data as binary, but the SIBR Viewer cannot open it. It appears Houdini adds some invalid header data which causes the following error:
[SIBR] ## ERROR ##: FILE C:\projects\gauss2\SIBR_viewers\src\core\graphics\Shader.cpp
LINE 116, FUNC sibr::GLShader::init
OpenGL error 0x0501 (1281) GL_INVALID_VALUE at C:\projects\gauss2\SIBR_viewers\src\core\graphics\Shader.cpp:116
If you delete the bad header data, the viewer will launch, but then crashes with a new error:
[SIBR] ## ERROR ##: FILE C:\projects\gauss2\SIBR_viewers\src\projects\gaussianviewer\renderer\GaussianView.cpp
LINE 541, FUNC sibr::GaussianView::onRenderIBR
A CUDA error occurred during rendering:an illegal memory access was encountered. Please rerun in Debug to find the exact line!
What's interesting to note is that if you load the original ply into a file sop, save it back out with a file sop, then convert to binary, the file size is the same (according to windows explorer).
If you find a solution, please share!
- dobromirpetushev
- Member
- 1 posts
- Joined: Aug. 2023
- Offline
- vkucukemre
- Member
- 3 posts
- Joined: March 2018
- Offline
Only solution i've found so far is using the Unity Plug-in by Aras-p...
https://www.youtube.com/watch?v=YtjvfRAEJE0 [www.youtube.com]
https://github.com/aras-p/UnityGaussianSplatting [github.com]
https://www.youtube.com/watch?v=YtjvfRAEJE0 [www.youtube.com]
https://github.com/aras-p/UnityGaussianSplatting [github.com]
Edited by vkucukemre - Dec. 20, 2023 10:08:57
- DavidRhodes
- Member
- 4 posts
- Joined: Jan. 2018
- Offline
- maxbel
- Member
- 39 posts
- Joined: Jan. 2014
- Offline
Hi everyone,
Resurrecting this topic given we're having some issues exporting a .ply sequence from Houdini to be read into SIBR.
Dragging this .ply into the open SIBR viewer with a camera.json file in the same folder also crashes the program with this error message :
I'm currently using the GSOPs v2.0.0 package and exporting as seen in the screenshot below. Has anyone found out how to solve this?
Thanks!
Resurrecting this topic given we're having some issues exporting a .ply sequence from Houdini to be read into SIBR.
Dragging this .ply into the open SIBR viewer with a camera.json file in the same folder also crashes the program with this error message :
-- INFOS --: Initialization of GLFW -- INFOS --: OpenGL Version: 4.6.0 NVIDIA 560.70 Test (view create) took 134 -- INFOS --: Interactive camera using (0.009,1100) near/far planes. -- INFOS --: Loading lookat path. -- INFOS --: - Playing ## ERROR ##: FILE D:\Projects\InfiniteRealities\GaussianSplatting\sibr_core\src\projects\gaussianviewer\renderer\GaussianView.cpp LINE 636, FUNC sibr::GaussianView::onRenderIBR A CUDA error occurred during rendering:invalid configuration argument. Please rerun in Debug to find the exact line
I'm currently using the GSOPs v2.0.0 package and exporting as seen in the screenshot below. Has anyone found out how to solve this?
Thanks!
Edited by maxbel - Dec. 10, 2024 08:58:12
- maxbel
- Member
- 39 posts
- Joined: Jan. 2014
- Offline
- DaRhodester
- Member
- 1 posts
- Joined: Nov. 2023
- Offline
Hard to debug without data, but does the exported .ply load into other applications successfully (e.g, SuperSplat, Postshot, Unity, etc.)?
One thing that concerns me about your setup is a missing gaussian_splats_import node. The export SOP expects attributes generated from the import SOP (which file SOP does not provide).
One thing that concerns me about your setup is a missing gaussian_splats_import node. The export SOP expects attributes generated from the import SOP (which file SOP does not provide).
-
- Quick Links