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

   2411   7   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]

User Avatar
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 :

-- 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

Attachments:
screenshotForForum.png (39.7 KB)

User Avatar
Member
39 posts
Joined: Jan. 2014
Offline
As an extra step I've done, which was suggested previously is comparing the headers and they both seem identical to me.
User Avatar
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).
  • Quick Links