Search the Community
Showing results for tags 'integration'.
-
Hello. I’m trying to integrate Unigine in my QML application and found some problems with it. I don`t understand how to add more than one Unigine Item in QML, although I have a close look at QT integration examples from UNIGINE SDK. The solution should be like in Viewport Qt from your samples in terms of several Unigine frames. Is it possible to implement this? If yes, how can I achieve this, if not, what would you suggest? I`m using your QML sample as a base for UNIGINE-QML integration. Examples of QML pseudocode how I would like to use Unigine in my application: 1. More preferable ApplicationWindow { id: mainWindow UnigineItem { id: unigineItem1 source: model1.node x: 5 y: 5 width: 200 height: 200 } UnigineItem { id: unigineItem2 source: model2.node x: 220 y: 5 width: 200 height: 200 } Text{ text: "Some text!" x: 5 y: 230 } } 2. Less preferable, but acceptable ApplicationWindow { id: mainWindow Window { id: unigineWindow1 UnigineItem { id: unigineItem1 source: model1.node x: 5 y: 5 width: 200 height: 200 } } Window { id: unigineWindow2 UnigineItem { id: unigineItem2 source: model2.node x: 220 y: 5 width: 200 height: 200 } } Text{ text: "Some text!" x: 5 y: 230 } }
-
[NoesisGui] Integration of GuiObject-like feature
bertrand.remondin posted a topic in C++ Programming
Hi everyone, I'm having quite a problem with the integration of Noesis Gui, a UI framework. Here is how it works in a DirectX11 application (it's very similar in OpenGL): Initialize the NoesisGui object and update it each frame (no problem with that) At render time:Set the RenderTargetView Pass a draw call to the NoesisGui object The NoesisGui framework will then render on top of the RenderTargetView, which can be the backbuffer (for HUD elements) or another texture. It is especially usefull to draw UI in 3D scene (in a Unigine::ObjectGui fashion): the texture can be used as ShaderResourceView to texture a mesh. My problem is that I cannot find a correct way to pass that ShaderResourceView to Unigine in order to use it in a 3D scene. I've found this post, showing the integration of Coherent UI but what it does is copying the UI element texture twice so that it can be used as Unigine::Image2D by the engine. That seems dramatically sub-optimal to me and I was hoping I overlooked some part of the documentation that would prevent such manipulation. Is there a better way to perform what I'm trying to achieve? Thanks,- 48 replies
-
I'm curious as to what the longterm roadmap looks like for the GUI system in Unigine. With the advent of some competitors (Unity) integrating a UI editor directly into the engine, it raises questions about the feasibility of doing the something similar with Unigine. Especially since dropping support for Qt but retaining the UI file format. Is this something that's been discussed internally?
-
Hi all, My intent is to integrate Unigine engine into existing multimedia framework. I hope this is the right place for this question. To make proof of concept application I need to find a way to load image/texture into engine. There is a Image class mentioned in script reference and in C++ API reference. I am guessing that Image object needs to be initialized with pixel data somehow. Only exposed methods are: int load(const char * name) int load(const char * name, int offset) The question is how to create image from pixel-data produced from external c++ code ? Is there some API function like `glTexImage2D` or `glTexSubImage2D` ?
- 2 replies
-
- image manipulation
- c++ api
-
(and 1 more)
Tagged with: