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?
1954 4 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
-
- Quick Links