From the course: Maya: Natural Environments

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Loading SeExpr scripts from disk

Loading SeExpr scripts from disk - Maya Tutorial

From the course: Maya: Natural Environments

Start my 1-month free trial

Loading SeExpr scripts from disk

- [Narrator] We've created a random expression for the length of the grass, but I actually really want this to be a bit more of a subtle artistic effect where patches of grass are going to be of different lengths. Currently, every piece of grass, every single blade, is a different length of its neighbor. So there's no real pattern there. It's just purely random. Well, I've authored some scripts using the function called fractal brownie in motion that will give us a bit more control, and I've saved those within the exercise files. So we can just go ahead and load those into the various parameters. So in the XGen editor in the Primitives tab, in the Primitive Attributes, we have the length. Let's go ahead and load in one of those scripts, and we can do it from this down facing arrow here. We can click on that and choose Load Expression, Load Other, and then browse. It's going to be in the current user's home directory in…

Contents