BitmapDirectExpression

If there is something important you think is missing in the current version of ZGameEditor then you can post a feature request here!

Moderator: Moderators

Post Reply
darkhog
Posts: 58
Joined: Sun Sep 09, 2012 7:59 pm

BitmapDirectExpression

Post by darkhog » Wed Sep 12, 2012 12:29 pm

I'd like to have variant of BitmapExpression where I can access pixels directly and change their value, instead of having access to only current processed pixel's RGBA value.

So I can do it like this:

this.Pixel(0.2,0.5).R=0.5*this.Pixel(0.6,0.11).B+this.Pixel(0.2,0.5).G;

This way we could do much more with knowing each pixel RGBA values (fractals, anyone?) than we can do with knowing only current x/y and current pixel's RGBA values.

Of course BitmapExpression should remain, for compatibility reasons (old projects would break if it would be replaced by BitmapDirectExpression) and for things where BDE isn't needed.

Post Reply