j00ey
12-31-2003, 09:57 AM
hi all
i once wrote a script in maxscript to take an image and calculate the average of all the pixels' rgb values, and now i need the same thing in maya and my mel is basic to say the least.
i dare say i could work it out but i wondered if anyone has any tips or knows perhaps if there is such a script floating around somewhere.
what i want it for is a scene where i have a character watching tv in a dark room and i want to use a single area light to light him, with its colour derived from an image sequence playing on the tv.
any ideas?
thanks
j00ey
-----------------------------------------
mods - sorry, posted this in wrong forum before
feel free to delete thread in maya forum
thanks
j
------------------------------------------
i once wrote a script in maxscript to take an image and calculate the average of all the pixels' rgb values, and now i need the same thing in maya and my mel is basic to say the least.
i dare say i could work it out but i wondered if anyone has any tips or knows perhaps if there is such a script floating around somewhere.
what i want it for is a scene where i have a character watching tv in a dark room and i want to use a single area light to light him, with its colour derived from an image sequence playing on the tv.
any ideas?
thanks
j00ey
-----------------------------------------
mods - sorry, posted this in wrong forum before
feel free to delete thread in maya forum
thanks
j
------------------------------------------
