gply or any other way, can i export binary .ply files?

   1955   4   3
User Avatar
Member
3 posts
Joined: March 2018
Offline
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?
User Avatar
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:

[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!
User Avatar
Member
1 posts
Joined: Aug. 2023
Offline
Hi guys,

I would like to ask if you have found any way to export .ply file from houdini.
The goal is to take point clouds of a geometry and use them as Gaussian splats in UE5?
User Avatar
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]
Edited by vkucukemre - Dec. 20, 2023 10:08:57
User Avatar
Member
4 posts
Joined: Jan. 2018
Offline
I released GSOPs earlier this month: https://github.com/david-rhodes/GSOPs. [github.com]

  • Quick Links