nvpro-samples / vk_raytrace

Ray tracing glTF scene with Vulkan
Apache License 2.0
551 stars 34 forks source link

Change settings panel #29

Closed tigrazone closed 7 months ago

tigrazone commented 7 months ago

Hello. I cant find in code

mklefrancois commented 7 months ago

This would require a refactoring of the code. Something I've been thinking about for a while, but haven't done yet. To see what it would look like, this project was reactor: vk_shaded_gltfscene .

And all samples in vk_mini_samples have the ability to have dock panels, and floating windows as well. One that show it well is the realtime_analysis.

Saving state of the docking window can be seen in the addSettingsHandler() function of the Element. See for example, this exemple.