SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

SM Forums / Maya Questions / Programming / Reading bitmap pixels for tile rendering

Programming MEL Scripts, Expressions & Programming Related Topics

Join the conversation. Reply to post
Thread Tools
12-04-2003, 11:36 PM   #1
Registered User
Join Date: Apr 2003
Posts: 2
Reading bitmap pixels for tile rendering

Background article: 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?
  Reply with quote
16-04-2003, 02:18 AM   #2
Registered User
Join Date: Apr 2003
Posts: 2
well.. I guess no one here has that much eperience with MEL....

ah well..
  Reply with quote
03-05-2003, 01:23 AM   #3
Alan's Avatar
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. that's some info on it there I think

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

Technical Director - Framestore

Currently working on: Your Highness

  Reply with quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch Render not rendering... Miralina Maya Technical Issues 1 04-04-2014 12:25 AM
Extremely confused, Batch rendering issue! mouseyflash Lighting & Rendering 0 04-04-2013 11:06 PM
Why doesn't Mental Ray have .avi available for batch rendering? SilverFeather Maya Basics & Newbie Lounge 42 07-12-2011 08:47 PM
Why Maya? haka Maya Basics & Newbie Lounge 21 10-11-2007 11:14 PM
Batch rendering seems to repeat itself alienscience Maya Basics & Newbie Lounge 7 01-02-2005 08:19 PM