PDA

View Full Version : Can I do this with mel????


nelsonteixeira
08-25-2003, 06:38 PM
I would like to use mel to get how many pixels a Black & White bitmap has (X and Y) and use the color information to rebuild this image using cubes. White means there´s a cube, Black there´s not!.
Can I do this with mel???

galactor
08-25-2003, 07:06 PM
I've scripted something simular. I wanted to be able te rebuild a greyscale/color image to a set of cubes that matched the amount of pixels and took the value of the pixelcolor to determine the height of that cube that would represent the pixel. It was intended to do the same as the effect that can be seen in X-MEN 1.
Like where the whole city was build out of needles that came up trough the floor.

To do this i used the plugins " iffPixelCmd.mll " to extract the pixelvalues. And " iffInfoCmd.mll " to retain the amount of pixels in x and y.

I know it can also be done without plugins, this you can find back in this script that is downloadable from highend3d " particleImage2.mel "

:: Galactor ::

CGTalk Moderation
01-15-2006, 11:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.