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

Demos no longer functioning? #17

Open
gantproductions opened this issue Jan 29, 2020 · 11 comments
Open

Demos no longer functioning? #17

gantproductions opened this issue Jan 29, 2020 · 11 comments

Comments

@gantproductions
Copy link

Hello all! I've been very interested in exploring Depthkit + Vimeo for my projects but it seems none of the demos are functioning (volumetric playback and volumetric live-streaming). Is there a way to fix these? I've tried them on Safari, Firefox, and Chrome.

@tangbao
Copy link

tangbao commented Mar 2, 2020

Vimeo just deleted these two videos so the player can no longer request the video from their server successfully. Also, some APIs in WebVR are not available in Chrome 80, I tried 73 and that could work.

By the way, I am interested in what kind of project you are working on, could you please share something about it?

@tangbao
Copy link

tangbao commented Mar 4, 2020

Hello all! I've been very interested in exploring Depthkit + Vimeo for my projects but it seems none of the demos are functioning (volumetric playback and volumetric live-streaming). Is there a way to fix these? I've tried them on Safari, Firefox, and Chrome.

Hi, I found that vimeo recovered the video. For now I can test the demo successfully on Chrome 74.

@oliverellmers
Copy link

Has anybody managed to get the demos working locally yet?

I have cloned the repository, installed all dependencies, added a VIMEO_TOKEN, and updated the link to my uploaded depth video recording on Vimeo.

The node server reports no errors, that the Environment variables are successfully loaded from the .env file, running on port 53... and that a GET request was made to /

Is there anything else I am missing to be able to run the examples? Has anybody had any success?

@tangbao
Copy link

tangbao commented May 5, 2020

Has anybody managed to get the demos working locally yet?

I have cloned the repository, installed all dependencies, added a VIMEO_TOKEN, and updated the link to my uploaded depth video recording on Vimeo.

The node server reports no errors, that the Environment variables are successfully loaded from the .env file, running on port 53... and that a GET request was made to /

Is there anything else I am missing to be able to run the examples? Has anybody had any success?

Yes mine works locally. Please use Chrome 73 or 74 (the only two versions I tested).

@oliverellmers
Copy link

@tangbao thanks for the quick reply

Unfortunately, this still does not resolve the issue and it is still just sitting loading.

Have I missed any important steps or is there anything you can think of I may not be doing correctly?

I have followed the instructions according to the readme and am receiving no errors

@tangbao
Copy link

tangbao commented May 5, 2020

@oliverellmers Have you opened the debug tool (in Chrome, press F12, then jump to Console) and see if there is any error?

@oliverellmers
Copy link

Okay I have found the problem (I won't say error as unsure this is an error) at line 76 in demo.html

if (WEBVR.hasWebVR()) { renderer.vr.enabled = true; document.body.appendChild(WEBVR.createButton(renderer)); } else { controls = new THREE.OrbitControls(camera); controls.target.set(0, 0.9, -1.0); controls.update(); }
It seems as though the browser is assuming a device is attached, and then hangs while trying to execute document.body.appendChild(WEBVR.createButton(renderer));

I resolved it by bypassing this all together and simply setting the controls to use the THREE.OrbitControls() and it is now working

@tangbao
Copy link

tangbao commented May 5, 2020

Congrats!

@oliverellmers
Copy link

oliverellmers commented May 5, 2020

Haha thanks!

I think this is still potentially a bug though - not sure what the expected behaviour is meant to be at that point...

I am also interested in what @gantproductions mentioned at the beginning of this thread about volumetric live-streaming - is this implying you can live stream from an azure at home via this toolset? If so, is there an example or demo?

thanks in advance!!

@tangbao
Copy link

tangbao commented May 5, 2020

@oliverellmers That's almost the same thing as the local one. Just deploy your depth player on the cloud, then visit the player using http://cloud_ip:port_number. Make sure you configure your firewall correctly.

@gantproductions
Copy link
Author

Hello @tangbao and @oliverellmers . I began a project awhile back where I was researching volumetric live streaming solutions. Due to many factors including the pandemic, cancellations, time frame, and of course budget, this project was abandoned. However, I did become quite knowledgeable on what similar solutions already exist, and then began exploring other realtime vfx programs that incorporate sensors and streaming. Feel free to reach out to me if you want to geek out and chat. In the meantime, I still very much stay extremely interesting in anything related to Depthkit and a live streaming solution, so fingers crossed!

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

3 participants