CaffeineViking / vkhr

Real-Time Hybrid Hair Rendering using Vulkan™
MIT License
446 stars 34 forks source link

Implement GUI for Controlling Render Parameters #8

Closed CaffeineViking closed 5 years ago

CaffeineViking commented 6 years ago

Using IMGUI for simplicity as I've already done some tests, and it seems to work fine. Something so we are able to change the scene in the demo, switch between raytracing and rasterization, and controlling params of our technique. Of special interest is the ability to change the LoD of the scalable hair rendering scheme.

Anteru commented 6 years ago

👍 for IMGUI :)

CaffeineViking commented 6 years ago

IMGUI integrated into renderer now, press H to toggle visibility. Still need to add the knobs for our stuff. I'm keeping this issue open until we have added at least some custom IMGUI code for toggling shadows on/off. I expect this to be done later today, as I only need to solve a couple of issues with the raytracer to get it fully working.

CaffeineViking commented 5 years ago

Now that I've integrated a lot more knobs into the UI, I would classify this issue as solved. More knobs can be added later upon request. It's still not perfect, but it'll have to do for now. This is how it looks like now:

imgui