Einzelnen Beitrag anzeigen

ijcro

Registriert seit: 30. Mär 2006
37 Beiträge
 
Delphi XE Professional
 
#4

Re: unDelphiX 1.07f released now

  Alt 23. Jul 2007, 07:01
Hi igel457!

I made DIB32 with alphachannel for true support of texture in DirectX. I can write only that unit DIB.pas you can use without DirectX with GDI only and directly pait to form surface. DIB unit contain many function for drawing of blend, light, darkness and other effect.

PNG is not directly used, there is preffer DIB as basic format. DIB32 is image in RGBA scheme and there can be store alphachannel (when not, you can use simple DIB like RGB or other DIB like DIB-256 with 256 palette color only- for smaller source in dximagelist).

Idea is in thing: You has got one picture, the DIB32 and (un)DelphiX give you support for automatic convert DIB32 to texture with alphachannel and you do not work with DTX directly. Nohting more. Helps it?
ijcro
  Mit Zitat antworten Zitat