McMicha Posted August 28, 2018 Posted August 28, 2018 Привет, разработчик, в примере с файлами «Export.lua», который выходит через интерфейс общей памяти для целей рендеринга дисплеев и зеркал. Но я пока не смог заставить его работать. Являются ли функции сломанными или я должен обратить внимание на что-то особенное? Именно эта часть: ==================================== Hello developers, in the example Export.lua file, which you can access the render targets of the displays and mirrors via the shared memory interface. But I haven't been able to get it to work yet. Are the functions broken or do I have to pay special attention? It's that part: -- you can export render targets via shared memory interface -- using next functions -- LoSetSharedTexture(name) -- register texture with name "name" to export -- LoRemoveSharedTexture(name) -- copy texture with name "name" to named shared memory area "name" -- LoUpdateSharedTexture(name) -- unregister texture -- texture exported like Windows BMP file -- -------------------------------- -- |BITMAPFILEHEADER | -- |BITMAPINFOHEADER | -- |bits | -- -------------------------------- -- sample textures : "mfd0" - full SHKVAL screen -- "mfd1" - ABRIS map screen -- "mfd2" - not used -- "mfd3" - not used -- "mirrors" - mirrors Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION" DCS ExportScript D.A.C. DCS to Arcaze Communicator Ikarus a new Virtual Cockpit Software Deutscher Forums Thread English Forums Thread Hard/Software: AMD Ryzen 7 1800X, 32 GiB RAM, extra SSD for Windows 10 and DCS World, AMD Vega Frontier Edition with 16 GiB VRAM
McMicha Posted January 15, 2019 Author Posted January 15, 2019 толчок Или кто-нибудь еще знает об этом? Simpit Software by SDA "SIMPIT DEVELOPER ASSOCIATION" DCS ExportScript D.A.C. DCS to Arcaze Communicator Ikarus a new Virtual Cockpit Software Deutscher Forums Thread English Forums Thread Hard/Software: AMD Ryzen 7 1800X, 32 GiB RAM, extra SSD for Windows 10 and DCS World, AMD Vega Frontier Edition with 16 GiB VRAM
Recommended Posts