Forum: Poser Python Scripting


Subject: ockham .....hmm.......not quite a poser script but......

anxcon opened this issue on Feb 10, 2005 ยท 5 posts


anxcon posted Thu, 10 February 2005 at 1:14 PM

ockham, that anaglyph script you made, wondered if you can either add to it, or create a new script has a window that comes up, and it has a pic window and below is a number box, and a check box that says "ignore black" and then a button saying "balance" it takes the "out" pic and edits it with the following (this isnt correct code lol just showin what i want) round valuebox up to full number //7.5 becomes 8 load pixel (R, G, B) if R < valuebox then ...R = valuebox if (G+B) < valuebox then ...(no time today to think, add to B and G so it keeps same ratio, ie 0B/10G = 0B/20G if valuebox = 0 or 10B/10G becomes 15B/15G, just so B and G stay same ratio and the total of B+G=valuebox in end) loop to top until all pixels finished save done