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

[Feature request] generating html in CLI #343

Open
RickMaruyama opened this issue Dec 16, 2024 · 3 comments
Open

[Feature request] generating html in CLI #343

RickMaruyama opened this issue Dec 16, 2024 · 3 comments

Comments

@RickMaruyama
Copy link

Same function as you did in GUI, I'd like to request that Inputting any ply file into supersplat and output html file, done only in terminal command only done in CLI.

It is usable for confident data visualization for an organization. one machine is used for data transform (ply => html) that everybody else can visualize html on their local pc.

Thank you!

@slimbuck
Copy link
Member

Hi @RickMaruyama,

It might actually be easier for you to have a single HTML viewer application capable of loading any PLY file. Both the application and PLY files could live on the data transform machine.

Our model-viewer application works this way. A user can load the viewer and specify in the address bar URL which file to load like this:

https://playcanvas.com/model-viewer?load=https://raw.githubusercontent.com/willeastcott/assets/main/skull.ply

The model-viewer just looks for any load URL parameters at startup and loads them.

Your HTML viewer could do something similar, but load the files from the same machine, something like ?load=asset1.ply.

The advantage of doing it this is way, is that you can then manage the viewer application separately from your content/PLY files.

Anyway, even in this case you probably still need the ability to convert ply -> compressed.ply via CLI or something else. We will discuss internally the best way of providing this ability.

Thanks!

@RickMaruyama
Copy link
Author

RickMaruyama commented Dec 19, 2024

Hi, @slimbuck
Thank you for reply!

I don't have to change from gaussian ply to normal (or compressed) ply!
I only need the function in command line or python file of new function released in SuperSplat version 1.8.0.

Because as far as I know now, I need to upload gaussian ply to get html in the app. In case the data is SECRET, all user have to install the app via github on local. It is hard for non-IT people to operate to get HTML. (also sometimes machine power)
Therefore I'd like to make an easy app to convert from gaussian ply binary data to html, which friends don't have to choose machine and environment to visualize and enjoy gaussian ;)

for example, in linux command, type "python convert_gaussian_to_html --source_ply_path. Then I can get html.

I hope I make you understood :)

@slimbuck
Copy link
Member

I'm sorry @RickMaruyama, I still don't understand.

SuperSplat doesn't upload your PLY file anywhere. All the processing and conversion happens on your machine.

It's the same thing with our model viewer. The file isn't uploaded anywhere or sent anywhere for processing, it never leaves your machine.

If your user has a secret gaussian splat PLY file, they can load https://playcanvas.com/model-viewer in their browser and then drag and drop the PLY file onto the window to view it. The file isn't uploaded, the viewing happens locally.

The feature you are asking for is more difficult to implement and maintain for us and ultimately will be less flexible for you (as far as I can see).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants