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

ThreeJS with LightScene #7

Open
Blueheronjets opened this issue Sep 19, 2017 · 2 comments
Open

ThreeJS with LightScene #7

Blueheronjets opened this issue Sep 19, 2017 · 2 comments

Comments

@Blueheronjets
Copy link

Hello,

I have a SceneTree but i'd like to render it to a canvas using ThreeJS.

There appears to be a ThreeJS component, but from the example code, i am unsure how to make this work.

Regards,

Daniel

@jagenjo
Copy link
Owner

jagenjo commented Sep 19, 2017

The ThreeJS component is no longer working due to some changes in ThreeJS.

But the original purpose of the component wasnt to render a LiteScene SceneTree inside Three.JS, but to do ThreeJS calls inside LiteScene.

It is impossible to use one scene tree in the other engine because every engine has different properties and rendering pipelines, so the only thing you can do is to render your scene with your engine and the other scene with the other engine and hope they mix well in the final buffer.

@jagenjo jagenjo closed this as completed Sep 19, 2017
@jagenjo
Copy link
Owner

jagenjo commented Sep 19, 2017

Ok, I just uploaded a new version that works, But as I said, the component is not for total interaction, just to combine both engines.

Here is a link to an example scene: http://www.tamats.com/projects/webglstudio/editor/fileserver/files//guest/projects/features/threeJS.scene.json

@jagenjo jagenjo reopened this Sep 19, 2017
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

2 participants