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

Minimal cross platform example for blit to screen #112

Open
trsh opened this issue Dec 30, 2023 · 2 comments
Open

Minimal cross platform example for blit to screen #112

trsh opened this issue Dec 30, 2023 · 2 comments

Comments

@trsh
Copy link

trsh commented Dec 30, 2023

Is your feature request related to a problem? Please describe.
I would like to make an interactive app that computes things on GPU and can blit the results to screen.

Describe the solution you'd like
Probably a opengl interop minimalist example.

Describe alternatives you've considered
Looking at the other Luisa render project, but it's rather huge.

Additional context
Nope

@Mike-Leo-Smith
Copy link
Contributor

Hi, @trsh

We have built-in support for Swapchains and ImGUI (with pure LuisaCompute-based rendering backends) for displaying results. src/tests/test_path_tracing, src/tests/test_imgui, and other GUI-enabled tests might be good starting points for you to figure out how to write GUI applications.

@trsh
Copy link
Author

trsh commented Dec 30, 2023

Thx. I am not thinking in terms of gui yet, rather rendering for interactive application. Something game-a-like. But I guess the examples will help anyways.

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