Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

godot-lib Feature requests #4

Closed
2 tasks
GeorgeS2019 opened this issue Feb 20, 2023 · 5 comments
Closed
2 tasks

godot-lib Feature requests #4

GeorgeS2019 opened this issue Feb 20, 2023 · 5 comments

Comments

@GeorgeS2019
Copy link

GeorgeS2019 commented Feb 20, 2023

28thMarch2023 Update

LibGodot with GDExtension

=======================================
Since it will be a while before godot-lib would be merged, this issue is to feedback and track feature requests related to godot-lib.

@Airyzz
Copy link

Airyzz commented Apr 5, 2023

As I mentioned on the godot pull request, it would be great to be able to pass a custom opengl context to render to, or provide some other way of rendering to a texture, such that the godot display can be embedded inside other applications.

I think this would also benefit from a way to inject mouse/keyboard/touch inputs via code, so that for example, if I am creating a widget in flutter which displays the rendered texture, if I touch a point on that widget I can transfer that input back to godot.

@Faolan-Rad
Copy link
Member

You can inject mouse/keyboard/touch input into a view port for example this is done in rhubarb Ref

Now for render context I do want to do that because I plan to integrate lib VLC into rhubarb

@GeorgeS2019
Copy link
Author

GeorgeS2019 commented May 20, 2023

@Faolan-Rad

Iphone version
https://github.com/migueldeicaza/SwiftGodot

232163186-dc7c0290-71db-49f2-b812-c775c55b8b77.1.mov

@mikejohnstn
Copy link

I'm also very interested in using libgodot with an offscreen rendering context. After spending some time researching the state of things, I thought I'd share what I found in case it helps (or in case I got some things wrong).

In the meantime, I found one example of someone using a workaround for offscreen rendering where they continuously render the viewport to a JPG buffer and send it elsewhere manually, but this still seems to require a window rendering in the background.

If anyone has any other updates / corrections / suggestions to move this forward, I'd love to hear!

@GeorgeS2019
Copy link
Author

@mikejohnstn

We need to give @Faolan-Rad more Love

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants