From the course: Maya: Natural Environments
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Editing a random expression in SeExpr - Maya Tutorial
From the course: Maya: Natural Environments
Editing a random expression in SeExpr
- [Instructor] Now that we have a basic understanding of the syntax of se expression, we can be script kitties. We can make an adjustment to an existing script and give it more bells and whistles and give us more artistic control. In order to see this a little bit more clearly, in the XGen editor, in the primitives tab, in the generator attributes I'm just going to reduce the density down to 20. It'll be easier for us to see what we're doing now. In the primitive attributes, under length, click to launch the expression editor and we can make the text larger with a keyboard shortcut Control and turn the mouse wheel. This expression uses the built-in rand function to generate random numbers. And in the expression editor here, built-in functions are displayed in this cyan color. Rand is currently using a fixed range of random values between 0.7 and 1 that's being multiplied by the slider value. We see here, there's a slider…
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 32s
-
(Locked)
Painting XGen attribute maps with Ptex5m 28s
-
-
-
-