Comments (17)
Hi:
I did the Three.JS component long time ago so I hadnt check it with the latest updates.
I will try to fix it this week and add a tutorial of how to use it soon.
Cheers
from webglstudio.js.
@jagenjo wow, great, thanks very much!
from webglstudio.js.
it seems that use old version of three.js can make it work, such as r73.
the newest version can not.
from webglstudio.js.
yes, I was trying to fix the error but the new Three.JS has deprecated the function that reset its render engine, and without it it is hard to integrate both render engines because they change states.
As you say it should work with an older version that still has the Renderer.resetGL function
from webglstudio.js.
@jagenjo hope you can fix it soon. and I have a question in here that the 3D objects created via script (both litegl.js and three.js) can be access via the scene graph? or can they interact with each other?
many thanks for your help to understand it better.
from webglstudio.js.
No, because the editor doesnt know about them. But if you create the 3d objects using the LiteScene API then yes.
from webglstudio.js.
@jagenjo thanks for your update, hope you can fix it ASAP.
from webglstudio.js.
ok, I fixed it, here is an example of scene:
from webglstudio.js.
@jagenjo cool! but I can not see anything from this scene, just a black screen, need the player do something else? I just use the load-scene example to load it.
from webglstudio.js.
Did you opened from the editor? you need to press play to see it.
from webglstudio.js.
@jagenjo I upload it into webglstudio but can not open it as a scene, editor shows error : "Insert not implemented for this resource type: Resource"
@jagenjo before that, I tried to use litescene (Player) directly to open it(have updated all of the current script)
from webglstudio.js.
go to webglstudio -> project -> load -> from URL
and paste the URL I gave you
from webglstudio.js.
@jagenjo sorry, too late to reply, but still not work, some error shows when I tried to run it:
three.min.js:539 Uncaught TypeError: Cannot assign to read only property 'getAttribute' of object '#'
Uncaught TypeError: THREE.Scene is not a constructor
seems that ThreeJS still not loaded normally.
from webglstudio.js.
Strange, I fixed that bug in LiteScene. Are you sure you are using the latest version from the repository?
from webglstudio.js.
I just used http://webglstudio.org/demo/, so you mean I need use litescene directly? oh...
from webglstudio.js.
Sorry, that version usually has the old version because is the stable one, if you want the new features always go to http://webglstudio.org/latest/
from webglstudio.js.
@jagenjo cool, I got it.
I downloaded the scene file and use load from file function and finally it works, I see the cube.
It's great!
from webglstudio.js.
Related Issues (20)
- Is annotation supported? HOT 2
- Issue while trying to load resources HOT 7
- behaviour vs component
- Can webglstudio import GLTF?
- Does WebGLStudio support installation on Windows? HOT 1
- Unable to import 3D model (gltf, glb, obj, fbx) files HOT 2
- Requesting support for gltf, glb HOT 7
- Consider making a video documentation of the editor (GUI) HOT 2
- How to trigger animations on click event using Graph (GUI editor)? HOT 2
- no_button_action in CameraController of root camera not working
- How to loop/auto-rotate a node? HOT 1
- How to animate a model to turn to a position such that it always shows a particular side of the model? HOT 1
- [QUESTION] How to understand your project? HOT 1
- Regular Expression DoS vulnerability
- would you use npm install to manage the system ?
- Enable Discussion HOT 4
- encouragement for development HOT 1
- How to set collision boxes? HOT 2
- Any document if want to make similar tool from start in nodejs HOT 3
- [File Storage System] Could we use OSS to take over the original file system ?
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 webglstudio.js.