Re: [AD] Per-bitmap transform in D3D

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2010-06-28, Trent Gamblin <trent@xxxxxxxxxx> wrote:
> As I said, I went and implemented per-bitmaps transforms
> in D3D on top of Peter's patch. It was really, really easy.
> So easy, I may have done something wrong.

Takk!  I had the same thought with the OpenGL change - this is
almost too easy.  It could also mean we did something right :)

> Here a screenshot
> anyway, and I tested a bunch of other examples and they all
> seemed to work fine:
> 
> http://trent.gamblin.ca/temp/ex_transform.png
> 
> Patch is attached. Does the example test the sub bitmap
> special case? Anyway it looks the same as when using OpenGL
> on windows.

Yes, the "hello!" message is rendered to a sub-bitmap of the backbuffer
and isn't affected by transforms that we set during the main loop.

Peter




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/