View Full Version : MEL Scripting : Particle Displacement

08 August 2009, 09:41 PM
hi everyone,
here is a shot i did in maya using a script i wrote recently... well what it basically does is, it creates particle grid according to the scale of a selected plane, then it takes the color from the image texture applied onto the plane and gets displaced according to the greyscale value of the image texture applied, creating a 3d look..

here are the links
sorry for the video quality.. i tried all the settings but nothing worked.. but have also put up a download link below for the original quality

vimeo (

for original video quality pls download
MP4 file - 49MB, 00:00:13 (

and here are some snap shots

and here are the images used to create the displacement

Planning to put this in my demo reel.. so crits and comments are most welcomed..cheers

08 August 2009, 11:41 AM
cool! one question, this works with the translateY or use normals to get the direction? I mean, you can use a sphere or just planes.

08 August 2009, 05:58 PM
thanks a lot.. right now it works only with the plane .. but in another 2 or 3 days i think i should be done with it taking other shapes too.. actually just figured it out day before yesterday how to achieve it.. cheers

08 August 2009, 08:45 PM
good, keep rockin dude.

CGTalk Moderation
08 August 2009, 08:45 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.