LuisaCompute icon indicating copy to clipboard operation
LuisaCompute copied to clipboard

Minimal cross platform example for blit to screen

Open trsh opened this issue 1 year ago • 2 comments

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

trsh avatar Dec 30 '23 08:12 trsh

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.

Mike-Leo-Smith avatar Dec 30 '23 09:12 Mike-Leo-Smith

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.

trsh avatar Dec 30 '23 10:12 trsh