Simply Maya User Community

Simply Maya User Community (https://simplymaya.com/forum/index.php)
-   Programming (https://simplymaya.com/forum/forumdisplay.php?f=32)
-   -   Reading bitmap pixels for tile rendering (https://simplymaya.com/forum/showthread.php?t=5137)

tellman 12-04-2003 11:36 PM

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?

tellman 16-04-2003 02:18 AM

well.. I guess no one here has that much eperience with MEL....

ah well..

Alan 03-05-2003 01:23 AM

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 10:11 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Simply Maya 2018