gopro / forgejs Goto Github PK
View Code? Open in Web Editor NEWForgeJS is a javascript framework that unleashes immersive WebVR experiences.
Home Page: https://forgejs.org/
License: Apache License 2.0
ForgeJS is a javascript framework that unleashes immersive WebVR experiences.
Home Page: https://forgejs.org/
License: Apache License 2.0
On ubuntu forgejs play movies correctly but on windows dont play and has problem.
How can i fix it?
When trying to initialize a FORGE.Viewer
after messing with window.history, it fails at this line:
Line 144 in b3b33cd
and throws the following error:
forge.js:40047 Uncaught TypeError: Cannot read property 'uid' of undefined
at FORGE.History._addState (forge.js:40047)
at FORGE.History._sceneLoadStartHandler (forge.js:40003)
at FORGE.Listener._execute (forge.js:2998)
at FORGE.Listener.execute (forge.js:3030)
at FORGE.EventDispatcher.dispatch (forge.js:2765)
at FORGE.Story._sceneLoadStartHandler (forge.js:3557)
at FORGE.Listener._execute (forge.js:2998)
at FORGE.Listener.execute (forge.js:3030)
at FORGE.EventDispatcher.dispatch (forge.js:2765)
at FORGE.Scene.loadStart (forge.js:5319)
Can be fixed by checking if currentState.scene
is defined before trying to read from it:
else if (!currentState.scene || currentState.scene.uid !== newState.scene.uid)
When setting the playlist volume through the API: For example when requesting viewer.playlists.playlist.volume = 1
only the volume of the audio track currently played is executed.
Note: It is weird but cool in a way because there is no track volume supported in the JSON reference.
0.9.5
"playlists": {
"volume": {
"default": 0.1,
"max": 1.0
},
"lists": [
{
"uid": "playlist-1",
"name": "Playlist #1",
"default": "audiotrack-1",
"tracks": ["audiotrack-1","audiotrack-2"],
"autoPlay": false,
"volume": {
"default": 0.3,
"max": 1
}
}
],
"tracks": [
{
"uid": "audiotrack-1",
"author": "Olive",
"name": "Cat",
"url": "assets/sounds/cat.mp3"
},
{
"uid": "audiotrack-2",
"author": "Olive",
"name": "Bird",
"url": "assets/sounds/bird.mp3"
}
]
}
viewer.playlists.playlist.volume = 1
I have a playlist assigned on a scene but when i leave this scene to another (with no playlist assigned), the playlist continues to play whereas it should not.
0.9.5
To really work around and stop the playlist on scene 2, i need to assign a invalid playlist id to the scene 2
When hitting the WebVR button as detailed in http://forgejs.org/tutorials/basics/how-to-webvr, instead of showing cardboard instructions then a stereo view of the scene, the cardboard instructions are shown but followed by a black screen
0.9.2
budo --live --verbose --port 3000 --ssl --cors -wg '**/*.{html,css,json}'
I was trying to use "WebVR" functionality to enable higher immesrion using VR Headset like Oculus Go, Google Daydream.
I see WebVR button, but when I click it, I enter black emptiness and see just never ending "loading" sign
0.9.5
Sorry this is probably not the appropriate channel to ask this question but the forum I don't think is maintained any more and I'm not sure if the slack channel is going on either. I did request to be added to the forum but still waiting on approval.
Anyway, how are people generating the keyframes for the director's cut?
Thanks,
Mike
Thanks for this amazing framework.
Is there a way to get npm package for forgejs ?
Thanks
Hi,
when switching between scenes the DOM from Hotspot dom is not removed:
https://releases.forgejs.org/latest/doc/jsdoc/hotspots_HotspotDOM.js.html#line380
whereas it is removed in the HotspotDOM.hide() function:
https://releases.forgejs.org/latest/doc/jsdoc/hotspots_HotspotDOM.js.html#line348
This creates the problem, that the DOM remains stay on the screen when scenes are switched.
best regards,
Heinrich
Here is the current state of the decoding of video streams with ForgeJS
Hello, I couldn't find any information on the future of this project. Is it still alive?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.