centreborelli / pypotree

22 stars 6 forks source link

pypotree shows nothing #7

Open TikaToka opened 5 months ago

TikaToka commented 5 months ago

image

Thank you for deploying potree to python!

What I want to ask you is that as you can see in a image, everthing looks fine, but I cannot see the potree visualizer. How can i solve it?

gfacciol commented 5 months ago

Hi! Are you running the code in a jupyter notebook right? The display command shows tries to show web page that must be served by the notebook, however I think that due to recent changes in the way notebooks work the display command just fails.

As a reference in colab it still works: https://colab.research.google.com/drive/1It3EbWy9W8Xf65ikP-_tpkVdJRmvwTQT

Yet, the point cloud is stored in the directory point_clouds/$cloudpath and is and you can visualize it running:

in a console> python3 -m http.server

in a browser> http://localhost:8000/point_clouds/$cloudpath

On Thu, Apr 25, 2024 at 10:51 AM Joochan Joseph Kim < @.***> wrote:

image.png (view on web) https://github.com/centreborelli/pypotree/assets/49054667/6b5600b3-2e23-413f-8bea-8fef3ea64ad0

Thank you for deploying potree to python!

What I want to ask you is that as you can see in a image, everthing looks fine, but I cannot see the potree visualizer. How can i solve it?

— Reply to this email directly, view it on GitHub https://github.com/centreborelli/pypotree/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGFI2THXCXXU74F6JOKSVLY7C7X7AVCNFSM6AAAAABGYNWJXSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI3DGMBUGI4DGMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

TikaToka commented 5 months ago

@gfacciol Yes, I am using jupyter notebook opened via vscode. With the method you mentioned, I could see the viewer.

image

Looks like there is a data and is stored but nothing is rendered...

image

gfacciol commented 5 months ago

I guess that needs some debugging.

One clarification first, you vscode is connected to a jupyter instance in your local computer right?

In the terminal where you ran "python3 -m http.server", can you see the requests for the webpages, are there some missing ones?

Also in the browser you should open the console and see what kind of errors you are getting.

On Fri, Apr 26, 2024 at 4:21 AM Joochan Joseph Kim @.***> wrote:

@gfacciol https://github.com/gfacciol Yes, I am using jupyter notebook opened via vscode. With the method you mentioned, I could see the viewer.

image.png (view on web) https://github.com/centreborelli/pypotree/assets/49054667/ac7bcd99-1fed-45fd-8fcd-0f1ad2c8a8be

Looks like there is a data and is stored but nothing is rendered...

image.png (view on web) https://github.com/centreborelli/pypotree/assets/49054667/1f0b8346-ae37-402d-ba67-3669e5b9a6ea

— Reply to this email directly, view it on GitHub https://github.com/centreborelli/pypotree/issues/7#issuecomment-2078512718, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABGFI2WIFIEDABMTSCRXYZDY7G2ZNAVCNFSM6AAAAABGYNWJXSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZYGUYTENZRHA . You are receiving this because you were mentioned.Message ID: @.***>

TikaToka commented 5 months ago
  1. I did ssh into my gpu server, so i am working on remote, not local.

  2. image image I'm not used to http.server, so I am not sure what you mean, but I don't think there is a problem

  3. (using edge browser) image

Hope this helps.. Thank you for your help

TikaToka commented 5 months ago

I have changed to local environment, but still does not work, and also does not appear in html.

image image

while it shows something on o3d.visualize

image