Autodesk 3ds Max
Showing posts in "MEL" category:
I've modified the roman candle scene in my previous post to use lights positioned at particle locations for illumination, along with further refinements.
I have put together a talk on emergent phenomena in Maya for Siggraph that one can currently view on the area. here are some of the scene files and scripts mentioned in that talk.
Emergence is a fascinating phenomenon where complexity can emerge through iteration of simple rules or processes. One of the most dramatic illustrations of emergence is the Mandelbrot set where seemingly endless structure and detail arise when iterating on a very simple equation (zn+1 = zn2 + c). I had a little fun and implemented a Mandelbrot texture totally inside a MEL expression. **WARNING: LOTS of hires images ahead...
If paint effects is assigned to a 3d curve then it will follow the curve normal( which is based on the local curvature and is poorly defined... unless "useNormal" is on, in which case the normal is simply a constant direction ). It needs a curve on surface to understand a surface orientation.
Here is a script for sticking objects onto a deforming surface. This mel command allows one to attach selected objects to a selected mesh or nurbs surface. The objects will follow any deformation or transformation of the surface.
Here is a script that allows you to easily have one object follow the position of another, but with damping and a lag. I find it is very useful when you wish to have a camera follow an object automatically without following too closely or in too jerky a fashion. Note how in the example avi the camera follows the general motion of the sphere but not so closely as to bounce up and down with the sphere.