|
rotScale bug Displaying 1-8 of 8 total.
1
RageCage
|
rotScale blits with transparency until you try to blit with lucency.
ex:
setLucent(50)
rotScale()
Posted on 2005-02-13 12:05:11
|
Omni
|
Wow. I think that happened in the old Winv2.
Try rotscaling into a buffer, and then blitting that buffer with lucency.
Posted on 2005-02-13 12:09:11
|
RageCage
|
yeah but in my situation that causes about -50 fps
Posted on 2005-02-13 12:51:36
|
RageCage
|
I might as well also mention here that I would love a
void tGrabRegionRotScaleLucent(x1,y1,x2,y2,destx,desty,angle,scale,lucency,source,dest);
not only is the name extremely long but it would be extremely powerful!
Posted on 2005-02-13 12:54:57
|
Omni
|
I don't understand. What would it do?
...Rip...one rectangle x1, y1, x2, y2 from source, ...and blit it at destx, desty in dest, with angle, scale, and lucency?
We can certainly program that in VC. Also, why would 'rotscaling into a buffer, and then blitting the buffer' take such a speed hit? I've done stuff like that (for the line/image distortion program) and it works fine.
Posted on 2005-02-13 15:55:06
|
Toen
|
Quote:Originally posted by Omni
I don't understand. What would it do?
...Rip...one rectangle x1, y1, x2, y2 from source, ...and blit it at destx, desty in dest, with angle, scale, and lucency?
We can certainly program that in VC. Also, why would 'rotscaling into a buffer, and then blitting the buffer' take such a speed hit? I've done stuff like that (for the line/image distortion program) and it works fine.
I don't think there's anything uniquely slow about rotscaling into a buffer. I think it's just that all of the lucent blitting is crazy slow anyway.
Posted on 2005-02-13 18:53:51
|
Omni
|
Ah, well. No fixing that.
Posted on 2005-02-13 19:32:14
|
RageCage
|
Quote:Originally posted by Omni
I don't understand. What would it do?
...Rip...one rectangle x1, y1, x2, y2 from source, ...and blit it at destx, desty in dest, with angle, scale, and lucency?
We can certainly program that in VC. Also, why would 'rotscaling into a buffer, and then blitting the buffer' take such a speed hit? I've done stuff like that (for the line/image distortion program) and it works fine.
sure you can do that in vc, hell I already have. The point is though that it's slow and could be much faster if it were added as a native function
as for why it gets such a speed hit, I realized the way I was doing it could be easily optimized... so nevermind. I still wish for the fix though, I hate having to use work arounds.
Posted on 2005-02-13 22:59:16
|
Displaying 1-8 of 8 total.
1
|
|