Comments (3)
THe problem is that the system wasnt designed with that purpose in mind so it would imply to rework lots of parts to work that way.
But you can always develop a X3D component that inside has all the X3D features and co-live with my own system. Then when my system sends a message to the component it could redirect it to wherever.
from litescene.js.
Ok, I think I can see the idea. Manage the X3D scene inside a component but still use things like primitives or materials or Transforms or renderers from litescene. Can these be used outside of a SceneNode ? Or can a SceneNode be used outside of a Scene ?
How would one set up another scene type ? I guess I should look at
https://github.com/jagenjo/litescene.js/blob/master/src/scene.js
from litescene.js.
https://github.com/jagenjo/litescene.js/blob/master/src/scene.js#L1770 looks like prefabs instances are references to the same prefab.
https://github.com/jagenjo/litescene.js/blob/master/guides/prefabs.md
So this is pretty close but I guess prefabs are supposed to be static, eg. should not/can not be modified during playing ?
from litescene.js.
Related Issues (12)
- Create an NPM package
- Simple scene does not load locally HOT 2
- Missing/Desired Sponza example
- Go to frame and pause HOT 1
- Create a Bower package
- README's link to Litegl.js is broken HOT 1
- DebugRenderer.prototype.render - is_selected_callback is not a callback HOT 1
- Can you help me to understand some properties on Camera? thanks. HOT 7
- ThreeJS with LightScene HOT 2
- How to load DAE format object via LiteScene/SceneNode? HOT 2
- DAE Loader does not work in the new version.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from litescene.js.