a Distort/Displace Method for the BitmapCombine component,..
Moderator: Moderators
- jph_wacheski
- Posts: 1005
- Joined: Sat Feb 16, 2008 8:10 pm
- Location: Canada
- Contact:
a Distort/Displace Method for the BitmapCombine component,..
How about a Distort/Displace method on the combine component that takes the value of the second input and displaces the position of the first input by that value,. perhaps each color channel value could distort in differing directions, or some such,. just so we can use one function to displace another. This would be a very usefull addition. or is there some way to do this in the current setup with expresions?
iterationGAMES.com
Actually there's a way, but is something quite complicated...
First: set up 3x 2-D array and store the values of the pixel R, G and B.
Second: Set up another 3x 2-D array and use some discrete math function for doing warp and such thing. This is the worst part I think, because you will have to work with "discrete" and not continuous functions. The functions can use some stuff like another 3x 2-D array derived from a bitmap as parameter, for doing super-fancy stuff. Ask for some kind of warp and I'll TRY to provide you a working example.
Third: from Array to Bitmap... The easiest part.
First: set up 3x 2-D array and store the values of the pixel R, G and B.
Second: Set up another 3x 2-D array and use some discrete math function for doing warp and such thing. This is the worst part I think, because you will have to work with "discrete" and not continuous functions. The functions can use some stuff like another 3x 2-D array derived from a bitmap as parameter, for doing super-fancy stuff. Ask for some kind of warp and I'll TRY to provide you a working example.

Third: from Array to Bitmap... The easiest part.
In the fall of 1972 President Nixon announced that the rate of increase of inflation was decreasing. This was the first time a sitting president used the third derivative to advance his case for reelection.
-=Hugo Rossi=-
-=Hugo Rossi=-
- jph_wacheski
- Posts: 1005
- Joined: Sat Feb 16, 2008 8:10 pm
- Location: Canada
- Contact: