Reading bitmap pixels for tile rendering
Hi.
Background article: http://www.aliaswavefront.com/en/etc...dy_frame.shtml ...to the question of "Q. How do you use Maya?" the guy is talking of a MEl script. I understand it is a complex one - but i would like to find out - which MEL commands would let me read-in a bitmap file and and then parse it's pixels to generate objects/tiles/planes or such? Any Ideas, guys? |
well.. I guess no one here has that much eperience with MEL....
ah well.. |
maybe this will help
$files = `getFileList -fld ("c:\\yourDir\\")`; this will list all of the files and folders in the specfied directory I cant remember how to get the pixel info in, i know it has something to do with a thingy called iffinfo. This will allow you to read in data from .iff files. http://www.affine.org/bmppack.html that's some info on it there I think you can download it here http://www.arcturus.demon.co.uk/ftp/graphics.html it looks quite old though you may want to look for a better version I just did a searchon google for "iffinfo" and it came up with these and loads more. Good luck I'll check back and see how you go with this Alan |
All times are GMT. The time now is 05:22 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018