Index_G


G

Gamagroup Web resources, 455
Game Developers Conferences, 71, 456
Geosphere project
conditional statements based on user input, 156-157
count and position vertices, 160-161
declaration of procedure, 154-155
definition and design, 152-153
determining radius and vertices, 158-159, 161
flowchart, 153
implementation, 154-162
number of edges and faces, 157-159
overview, 152
research and development, 153-154
script review, 163-170
softening edges, 162
subdividing edges, 157
triangulate faces, 158-159
Geometry
geosphere project, 152-170
grass generator project, 107-151
icosahedron project, 86-106
GIF file format, 412. See also Files
Global procedures
calling local procedure, 125
in cubic reflections map project, 237
described, 61-62
turning into local, 125
using, 66-67, 75
Global variables
described, 46-47, 64
for Maya menu modes, 351
userSetup.mel, 353, 396
using, 175-176, 81, 180
Golden Mean, 89-90
Golden Ratio, 88
Graph Editor, 184-185, 222, 223
Graphical user interface (GUI), 270. See also User Interface (UI)
Grass generator
adding default value, 122-123
area to be filled, 130-133, 139-141
bend deformers, 110-111, 116-117
cleaning transformations, 128
declaration of procedure, 114
definition and design, 107
density and distribution of grass, 125-140
detail argument, 141-145
floating point vs. integer calculations, 139
flowchart, 108, 113
global and local procedures, 125-126
harden edges, 111, 115-116
implementation, 113-146
looping, 126, 145-146
optimizing memory usage, 145-146
passing values for positioning of grass, 130
polygonal cones as blades, 109, 114-115
project overview, 107
randomizing, 113, 118-120, 128-130, 134-135
rendering speed, 145
research and development, 107-113
return values, 126-127
rotation control, 134-136
script for single blade , 123-125
script review, 146-151
style options and switch command, 120-122
using variables in place of explicit values, 117-118
Grass generator UI
adding layout, 325
attaching buttons to form layout, 331-332
creating initial window, 323-324
Density slider, 326-327
design, 322-323
float fields for grass dimensions, 327-328
Generate Grass button, 330-331, 334-335
Grass Style and Detail pull-down controls, 325-326
implementation, 323-337
labels, 329-330
option variables, 336-337
script review, 337-344
text control and user feedback, 332-334
window size , 333-334
Greater than (>) operator, 55
Greater than or equal to (>=) operator, 55
Grid layout, 277-278
Grouping
to change order of operations, 11
commands, 46, 60-61, 64
GUI. See UI (User Interface)



The MEL Companion
The MEL Companion: Maya Scripting for 3D Artists (Charles River Media Graphics)
ISBN: 1584502754
EAN: 2147483647
Year: 2003
Pages: 101

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net