Replies: 6 comments 21 replies
|
I don't have experience with Qt, but I think there should be no problems making it work with Diligent. |
|
It works fine while not opengl is not activated on your Qt App. I want to combine two qwidgets in same layout, one is QOpenGLWidget and other use diligent engine, and diligent engine doesn't work, I get error Diligent::GLContextState::BindSampler(). |
|
Thanks, I have changed my code without sucessfull, sorry, but I think I am close to find the solution. now I use if yes, what happens with m_pSwapChain how to generate it ? I see on Unity sample : auto &DefaultAllocator = DefaultRawMemoryAllocator::GetAllocator(); and I undestand this sample use rendertotexture and share the image between diligine and unity Do I have to do the same because I am working with external opengl ? or I only have to generate a correct m_pSwapChain ? unity sample uses m_pSwapChainGL. Sorry, I am confused about this step. Thanks |
|
Very interesting. I'll also explore the land to hook up diligent to qt.
It's enough with Diligent Core if I want to do basic polygon rendering with
textures and so. Right?
…On Thu, Mar 6, 2025, 20:32 promero ***@***.***> wrote:
Error solved after define correctly SetRenderTargets with apropiate
ITextureView.
—
Reply to this email directly, view it on GitHub
<#625 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AF2XO3ENT6SWO63SDHFKWMT2TCPDPAVCNFSM6AAAAABPAZZKDKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTENBRHAYTCMY>
.
You are receiving this because you authored the thread.Message ID:
<DiligentGraphics/DiligentCore/repo-discussions/625/comments/12418113@
github.com>
|
|
Any idea why I get this error in the |
|
Sorry for bugging you, but abandoned the Opengl integration into Qt for now and have looked at using Vulkan instead. I got the clear color to show up in my Qt window, but I have these warning (in debug build) which suggest something is wrong: I know it can be difficult to answer since you don't have all the code, but I have used the handle from the QWindow to create a Win32NativeWindow before calling CreateSwapChainVk. Also, the |


Uh oh!
There was an error while loading. Please reload this page.
I'm looking into using DiligentEngine as backend for graphics in Qt. Does anyone around here have experience in that? would it work?
All reactions