Digital humans the art of the digital double
Ever wanted to know how digital doubles are created in the movie industry? This course will give you an insight into how it's done.
# 1 12-04-2003 , 11:36 PM
Registered User
Join Date: Apr 2003
Posts: 2

Reading bitmap pixels for tile rendering

Hi.

Background article: https://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?

# 2 16-04-2003 , 02:18 AM
Registered User
Join Date: Apr 2003
Posts: 2
well.. I guess no one here has that much eperience with MEL....

ah well..

# 3 03-05-2003 , 01:23 AM
Alan's Avatar
Moderator
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
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.

https://www.affine.org/bmppack.html that's some info on it there I think

you can download it here
https://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


Technical Director - Framestore

Currently working on: Your Highness

IMDB
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads