Search the Community
Showing results for tags 'appwall'.
-
Hi, I'm trying to create two-windowed application by using AppWall Plugin in c++ side. Both windows contain only GUI elements (i implement my methods in System logic). 1 - I get GuiPtr for each monitor. Interpreter *interpreter = (Interpreter*)Engine::get()->getSystemInterpreter(); Reflection PLUGIN_reflection(interpreter, Variable("engine.wall")); //make sure that you have AppWall loaded here Variable res = PLUGIN_reflection.callExternFunction("getGui", Variable(0), Variable(0)); gui_lecture = res.getGui(interpreter); res = PLUGIN_reflection.callExternFunction("getGui", Variable(1), Variable(0)); gui_editor = res.getGui(interpreter); 2 - I place widgets in appropriate GUI This GUI overlaps standard GUI elements, such as ESC-menu, mouse cursor, console, etc, so i can't act with it. What i'm doing wrong? Thank you.
-
Hi Unigine Developers, I need to know how you created this video in 360 degrees. 360 degrees panorama video We have looked at the Unigine plugins for finding something to generate, but we do not see anything like this. How did you create it?
-
Hi, We have an AppWall 3x1 and when we are trying to insert a WidgetSprite in each wall application crashes with the following message: engine\render\direct3d11\framework\D3D11Gui.cpp:166: Assertion: 'src >= 0 && src < NUM_BLEND_FUNC && "D3D11Gui::set_blend_func(): bad blend src function"' You can reproduce this issue creating a new project from Ungine SDK browser with the following settings: - Launchers: Console script launchers (.bat) with predefined settings Renderer: DirectX11 Monitors: Wall 2x1 - Video Output Monitor wall (AppWall plugin) CHECKED After this step in the "my_project".cpp file, you have to change the init method to this: int init() { PlayerSpectator camera = new PlayerSpectator(); camera.setPosition(Vec3(2.0f,0.0f,1.5f)); camera.setDirection(Vec3(-1.0f,0.0f,-0.5f)); engine.game.setPlayer(camera); forloop(int y = 0; engine.wall.getHeight()) { forloop(int x = 0; engine.wall.getWidth()) { Gui gui = engine.wall.getGui(x,y); WidgetSprite logo = new WidgetSprite(engine.getGui(), "unigine.png"); gui.addChild(logo,GUI_ALIGN_OVERLAP); } } return 1; } What's wrong? Thanks in advance, David García