adrian.rzezniczak Posted October 23, 2018 Share Posted October 23, 2018 Hello again, I have application with one window written in pure WinApi. I want to embedd Unigine window into this WinApi window. I see in documentation that in my SDK should be some embedding samples but I haven't got any of them there. I tried using SetParent in my WinApi application on Unigine HWND but looks like it have no effect on Unigine window. How can I embedd Unigine window into WinApi window? Link to comment
silent Posted October 24, 2018 Share Posted October 24, 2018 Hi Adrian, There is indeed no sample on embedding Unigine into raw WinApi window. However, you can take a look at the sample integrations into SDL2 / Qt / WPF and probably use one of them instead (or write your own WinApi integration based on these samples). These apps (C++) are located inside <SDK>/source/apps: main_qt main_sdl For C# integrations you can check in <SDK>/source/csharp/apps: main_winform main_wpf Path to <SDK> you can find in SDK Browser -> Options -> Storage Path (the SDK itself will be located inside sdks dir in Storage Path) Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
adrian.rzezniczak Posted October 24, 2018 Author Share Posted October 24, 2018 To be clear - in my <SDK>source/apps I don't have main_qt nor main_sdl app folder. There is only main folder, inside there is project but code is just a boilerplate (empty system, editor and world logic) - nothing more. Link to comment
silent Posted October 24, 2018 Share Posted October 24, 2018 Hi Adrian, This is limitation of Entertainment version, integration samples available only in Engineering SDK version. Please, contact our sales team to get a valid license. Thanks! 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
adrian.rzezniczak Posted October 24, 2018 Author Share Posted October 24, 2018 Oh, OK. To clarify - will we have ability to embedd Unigine into our application if we buy Entertainment version? I've downloaded Engineering SDK and I can confirm - I have this samples now. Looking at SDL sample I've embedded Unigine into my WinApi application without major issues - great! Link to comment
adrian.rzezniczak Posted November 5, 2018 Author Share Posted November 5, 2018 Now I see what happend... When I was starting trial version on this page https://unigine.com/en/get-unigine in Entertainment features list was "Embedding into Proprietary Apps" but probably after seeing this topic you changed it and now it's Engineering and Sim feature only. Does it mean that now on Entertainment version I will not be able to embedd Unigine engine into my WinApi application? Link to comment
silent Posted November 6, 2018 Share Posted November 6, 2018 Hi Adrian, There is no strict restrictions on embedding. If you will be able to write a wrapper on your side - you can use it. Engineering version containing built-in samples to save some development time. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
adrian.rzezniczak Posted November 6, 2018 Author Share Posted November 6, 2018 To make it 100% clear - if we will go with Entertainment Edition will we have ability to use Unigine::App class? Link to comment
silent Posted November 6, 2018 Share Posted November 6, 2018 Hi Adrian, Yes, Unigine::App is still available. Import API is not available, though (https://developer.unigine.com/en/docs/2.7.2/principles/import_system/). 1 How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts