Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 13-04-2003, 12:36 AM   #1
tellman
Registered User
 
Join Date: Apr 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Question 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 is offline   Reply With Quote
Old 16-04-2003, 03:18 AM   #2
tellman
Registered User
 
Join Date: Apr 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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

ah well..
tellman is offline   Reply With Quote
Old 03-05-2003, 02:23 AM   #3
Alan
Moderator
 
Alan's Avatar
 
Join Date: Oct 2002
Location: London, UK
Posts: 2,800
Thanks: 0
Thanked 5 Times in 5 Posts
Default

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
__________________
Technical Director - Framestore

Currently working on: Your Highness

IMDB
Alan is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.