sallz0r

10-05-2008, 10:19 AM

Hi!

A few things that I've found would be useful, that I can't figure out to do (except for manually).... unless anyone knows how to do them?

Basically, to complement the bitwise pasting options, it would be great to have a heap of arithmetic operations as well. for example, addition, subtraction, max, min, and the one I'm really after -- multiply. :-)

addition: pasted cell values are added to whatever's there, capped at the maximum, obviously.

subtraction: pasted cell values are subtracted from whatever's there.

max: highest of pasted and existing values (essentially, arithmetic version of bitwise OR).

min: lowest of pasted and existing values (essentially, arithmetic version of bitwise AND).

multiply: actually, maybe this should be called "scale", not multiply. Existing cells are multiplied by (the incoming value/MAX_INTENSITY). ie. if you multiply pasted a block of all full channels, it would stay the same, if you multiply pasted a block of value 128 (assuming 0-255), all values would halve.

Anyway, does anyone know how to do anything like that? I can't find anywhere in vixen that has that functionality. Is it possible to get it implemented? I'm happy to do the code for it, as it's not particularly involved, but I just need something to tie it into.

Anyway, thanks for your time and any thoughts or suggestions!

Cheers,

Michael

A few things that I've found would be useful, that I can't figure out to do (except for manually).... unless anyone knows how to do them?

Basically, to complement the bitwise pasting options, it would be great to have a heap of arithmetic operations as well. for example, addition, subtraction, max, min, and the one I'm really after -- multiply. :-)

addition: pasted cell values are added to whatever's there, capped at the maximum, obviously.

subtraction: pasted cell values are subtracted from whatever's there.

max: highest of pasted and existing values (essentially, arithmetic version of bitwise OR).

min: lowest of pasted and existing values (essentially, arithmetic version of bitwise AND).

multiply: actually, maybe this should be called "scale", not multiply. Existing cells are multiplied by (the incoming value/MAX_INTENSITY). ie. if you multiply pasted a block of all full channels, it would stay the same, if you multiply pasted a block of value 128 (assuming 0-255), all values would halve.

Anyway, does anyone know how to do anything like that? I can't find anywhere in vixen that has that functionality. Is it possible to get it implemented? I'm happy to do the code for it, as it's not particularly involved, but I just need something to tie it into.

Anyway, thanks for your time and any thoughts or suggestions!

Cheers,

Michael