Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

How to embed glium canvas? #204

Closed
Boscop opened this issue Apr 13, 2018 · 3 comments
Closed

How to embed glium canvas? #204

Boscop opened this issue Apr 13, 2018 · 3 comments
Labels

Comments

@Boscop
Copy link

Boscop commented Apr 13, 2018

How to embed a canvas that is rendered onto using glium with webgl backend?
E.g. I want to make a 3D VR scene editor, where my GUI controls need to share state with the code that renders the glium canvas...

@vitiral
Copy link
Contributor

vitiral commented Apr 13, 2018

I'm not sure, but have you checked out VRef? Could you insert an html node and then somehow send messages to it through javascript?

(I'm totally just spit-balling here to see what you've tried, I have no idea)

@Boscop
Copy link
Author

Boscop commented Apr 13, 2018

I mean, is there a way I can have the glium renderer as part of the same crate as the web UI, both rendering as part of the yew app, where the glium canvas will be one component of the app?

@samuelvanderwaal
Copy link
Contributor

Missing label:

  • question

@yewstack yewstack locked and limited conversation to collaborators Nov 21, 2021
@ranile ranile closed this as completed Nov 21, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

5 participants