andy-thomason / Vookoo

A set of utilities for taking the pain out of Vulkan in header only modern C++
MIT License
522 stars 52 forks source link

Multisampling option #14

Closed Carandiru0 closed 4 years ago

Carandiru0 commented 5 years ago

I was wondering if vku could support multisampling as an option to enable. I was thinking of modifying the vku frame work and following the vulkan tutorial for multisampling. However, it is proving to be rather difficult finding all the necessary interfaces in vku / framework. Perhaps there is a simpler way?

andy-thomason commented 5 years ago

Hi Jason,

I've been trying to migrate the mechanics of the framework into their own "maker" classes so you can do more complex things such as multisampling or rendering to PNG with only a few lines of code.

From what I remember, multisampling requires a larger buffer which is then resolved into the final image.

The framework was originally intended as a quick and dirty "get you started" thing, but has become something in its own rights.

I'll try to accelerate the unbundling of the framework into makers and queue getters.

Andy.

On Tue, Jan 8, 2019 at 12:31 AM Jason Tully notifications@github.com wrote:

I was wondering if vku could support multisampling as an option to enable. I was thinking of modifying the vku frame work and following the vulkan tutorial for multisampling. However, it is proving to be rather difficult finding all the necessary interfaces in vku / framework. Perhaps there is a simpler way?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/andy-thomason/Vookoo/issues/14, or mute the thread https://github.com/notifications/unsubscribe-auth/ABe_XM2_9O4ETecuNncynaPuMG6kaLiuks5vA-bcgaJpZM4Z0jaC .

isaboll1 commented 5 years ago

Will the unbundling of the framework also apply to some things within the window class? it would be useful if, for example, a person could recreate the swapchain through the window class to handle resizing, or if swapchain was it's own method that you could call, where you can pass an existing swapchain to recreate.