找回密码
 立即加入

QQ登录

只需一步,快速开始

查看: 2607|回复: 2

[讨论] LOFC 2.0的EXPORT.LUA文件里,请注意这句话

[复制链接]
发表于 2010-5-31 15:37:30 | 显示全部楼层 |阅读模式
在文件的最后:

-- 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


很有用啊,谁做个尝试看看。可以把仪表状态导出为BMP。不过不知道有哪些可以导
回复

使用道具 举报

发表于 2010-5-31 16:35:12 | 显示全部楼层
呵呵 工程师们来看看~~
回复 支持 反对

使用道具 举报

发表于 2011-3-2 16:26:39 | 显示全部楼层
发现还有两个屏没用 [s:11]
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即加入

本版积分规则

Archiver|手机版|小黑屋|(inSky)

GMT+8, 2025-6-12 17:45 , Processed in 0.598483 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回复 返回顶部 返回列表