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 - Maya Tutorial
From the course: Maya: Natural Environments
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
Procedural modeling with 3D Paint Effects6m 15s
-
(Locked)
Drawing Paint Effects strokes5m 37s
-
(Locked)
Customizing Paint Effects strokes4m 21s
-
(Locked)
Customizing a Paint Effects brush3m 24s
-
(Locked)
Converting Paint Effects to polygons4m 57s
-
(Locked)
Controlling Paint Effects level of detail5m 14s
-
(Locked)
Preparing a scene for XGen3m 5s
-
Binding an XGen preset description to polygons4m 34s
-
(Locked)
Managing XGen file assets3m 43s
-
(Locked)
Adjusting XGen primitive attributes5m 27s
-
(Locked)
Understanding XGen attribute expressions4m
-
(Locked)
Using the XGen Expression Editor5m 28s
-
(Locked)
Introducing SeExpr syntax3m 13s
-
(Locked)
Editing a random expression in SeExpr6m 58s
-
(Locked)
Loading SeExpr scripts from disk4m 3s
-
(Locked)
Binding XGen to a camera-based polygon selection4m 33s
-
(Locked)
Painting XGen attribute maps with Ptex5m 28s
-
-
-
-