ruprecht Posted January 14, 2009 Posted January 14, 2009 I may have missed it, but is there a list of the data items available in the LUA export? And does anybody know if there's a tool to grab position data from the LUA export to feed to an external GPS/moving map? Cheers DCS Wishlist: | Navy F-14 | Navy F/A-18 | AH-6 | Navy A-6 | Official Navy A-4 | Carrier Ops | Dynamic Campaign | Marine AH-1 | Streaming DCS sometimes:
ruprecht Posted January 14, 2009 Author Posted January 14, 2009 Oh I think I answered my own question. It's in \Config\Export\Export.lua right? Is this the full list? Also I may be dreaming, but is this what I think it is? -- 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 ... so conceptually I could export the current ABRIS/Shkval view once per second as a BMP to another PC? DCS Wishlist: | Navy F-14 | Navy F/A-18 | AH-6 | Navy A-6 | Official Navy A-4 | Carrier Ops | Dynamic Campaign | Marine AH-1 | Streaming DCS sometimes:
basedow Posted December 3, 2009 Posted December 3, 2009 Hi all. Did anyone get the export render targets functions to work? That would be a great feature I guess. Greets basedow
morg Posted December 3, 2009 Posted December 3, 2009 basedow, unless you have a very nice computer it will probably stagger every time the picture is exported. You can try it by just enabling it in the export.lua file.
basedow Posted December 3, 2009 Posted December 3, 2009 hm - ok. I didnt expect that to be honest. shouldnt be such a problem to put the data into memory i guess. It has to be generated anyway and clipped onto the abris/skval surfaces in the cockpit. And rendering it to a second screen also does not really slow things down (multi-monitor setup i mean). So i thought its just a matter of getting the image out of the "shared memory" as it is told in the script and didnt know how one could do that. Do you know how to get it out of the memory to send it via socket? I dont care for low frame rates - i just want to test this you know. basedow
Recommended Posts