高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】bitmap with 1.13
bitmap with 1.13
bitmap with 1.13
a/ with directx.gs device, when i open a dwg file with an acdbrasterimage in odamfcapp, the bitmap file is drawing only when the entity is selected ....
it work fine with winopengl.gs .....
b/ how to export the dwg file to a bmp file .. the sample in 1.12 doesn't exist in 1.13 .... ...
thierry
the directx device is still a beta at this point, and not all functionality is fully implemented. please try again with the next release.
bmp export is now implemented as a command. in odamfcapp you can choose edit/registered commands/oda example commands/bmpout to save the current drawing as bmp. source for this command is in examples/excustobjs/cmd_bmpout.cpp.
quote:
originally posted by thierry
with directx.gs device, when i open a dwg file with an acdbrasterimage in odamfcapp, the bitmap file is drawing only when the entity is selected ....
rendering of bitmaps in directx will be available in next 1.13 update (or in 1.14). it isn't implemented in version you are researching.
rendering of highlighted (selected) entities is implemented in odamfcapp using wingdi.gs. that's why you can see raster image in directx when it is highlighted.
sincerely yours,
george udov
|