1 Uso de MEL (Maya Embedded Language) Para: Números aleatorios Fractales.

Slides:



Advertisements
Similar presentations
la ecología y la gente (ecology and people)
Advertisements

C OMMON C ORE EN E SPAÑOL E STÁNDARES E STATALES C OMUNES EN E SPAÑOL Dual Language Parent Meeting January 27, 2014.
CPU: (Central Processing Unit) The brain of the computer. CPU: (Unidad Central de Proceso) El cerebro de la computadora.
1/03/09 De 89 à 98. 1/03/09 De 89 à 98 1/03/09 De 89 à 98.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE 1 Chapter 6 1 Explicar el enrutamiento entre VLANs  Describir las opciones de enrutamiento.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Abdoul Mohamed Albert Mason.  A preposition is a term or phrase used to show how one object relates to another object in space.  Did you know the word.

CIS682 MEL Scripting Overview. CIS682 MEL commands Maya help -> MEL command reference MEL command line Script editor –Icon –Window->General Editors->Script.
02/02/20101 ¡Los libros son de la profesora Butcher! Capítulo 3 – Segundo Paso UN REPASO: How to show that something belongs to someone Página 81.

No abandones - R. Kipling
。 33 投资环境 3 开阔视野 提升竞争力 。 3 嘉峪关市概况 。 3 。 3 嘉峪关是一座新兴的工业旅游城市,因关得名,因企设市,是长城文化与丝路文化交 汇点,是全国唯一一座以长城关隘命名的城市。嘉峪关关城位于祁连山、黑山之间。 1965 年建市,下辖雄关区、镜铁区、长城区, 全市总面积 2935.
Utilería para el Mantenimiento de Discos Duros
CAPACIDADES DE LAS EMPRESAS DEL SECTOR MINAS - METALURGICO EN LO CORRESPONDIENTE A CALDERERIA Y ESTRUCTURAS METALICAS CALDERERIA CAPACIDAD PRODUCCION TM/AÑO/TURNO.
Design responsivo.
Teachers use the IRLA to determine the reading behaviors that should be expected at each color level. These reading behaviors are in line with national.
¿Cómo son las casas en el mundo hispano?
La Boutique Del PowerPoint.net
Macros. OBJETIVOS Aprender a automatizar la hoja de cálculo. Instructor: MCAS - Jorge Antonio Luque Chambi2.
HERRAMIENTAS DE MICOSOFT WORD LOS HIPERVINCULOS Rogelio mariscal Solis 1*G T/M.
Herramientas de Microsoft Word Los Hipervínculos Natalia Moreno de Alba 1G T/M.
Alumna: Lucia Elizabeth Ruiz Castillo profesora: Adriana Ubiarco Limón 1-G (T/M) TECNOLOGIAS DE LA INFOMACION 1.
HERRAMIENTAS DE MICOSOFT WORD LOS HIPERVINCULOS Fátima Montserrat Nuño Cabrera 1°G T/M MTRA: Adriana Ubiarco.
HERRAMIENTAS DE MICOSOFT WORD LOS HIPERVINCULOS. Aguirre Martinez Leonardo Santiago. 1°E T/V.
HERRAMIENTAS DE Microsoft WORD LOS HIPERVINCULOS.
HERRAMIENTAS DE Microsoft WORD LOS HIPERVINCULOS.
MICROSOFT NOMBRE: Ana Isabel Castillo Sierra GRADO Y GRUPO: 1° “A” ESCUELA: Preparatoria No 10 TURNO: Matutino MTRA: Adriana Ubiarco.
HERRAMIENTAS DE MICOSOFT WORD LOS HIPERVINCULOS Atziri Rubí Varela Mendoza 1°G T/M Mtra: Adriana Ubiarco Actividad 3.
LOS HIPERVINCULOS María Fernanda Flores Martínez 1°A T/M.
LOS HIPERVICULOS. QUE SON ? O Los hipervínculos son enlaces o rutas de acceso a otro archivo pagina web o una dirección de correo electrónico,es una herramienta.
LOS HIPERVICULOS. QUE SON ? O Los hipervínculos son enlaces o rutas de acceso a otro archivo pagina web o una dirección de correo electrónico,es una herramienta.
C HIPERVINCULOS característica, funciones, tipos y ejemplos de los hipervínculos.
UNIDAD 4 ACTIVIDAD 3. HIPERVINCULOS COMO INSERTAR UN VINCULO.
LOS HIPERVINCULOS 1.ARCHIVO O PÁGINA WEB EXISTENTE. Seleccione un elemento con el que vincular de la lista de archivos y carpetas. 1. Haga clic.
Isis Marai Guzmán Ayala 1-A T/M BGC Los hipervínculos son enlaces o rutas de acceso a otro archivo, pagina Web o una dirección de correo electrónico,
“HERRAMIENTAS DE MICROSOFT WORD LOS HIPERVINCULOS” ERICK ANDRES GOMEZ GONZALEZ 1°F BGC T/V MATERIA:TECNOLOGIA.
 Los Hipervínculos Noemi Cortés González.  Qué es un hipervínculo  Los hipervínculos son enlaces o rutas de acceso a otro archivo, pagina Web o una.
Arantxa Nicole Gutiérrez Gutiérrez 1°A T/M Mtra. Adriana Ubiarco «Preparatoria No.10»
HIPERVINCULOS Osvaldo Emmanuel Plascencia Galvan 1F VESPERTINO.
HIMPERVINCULOS Cinthia campos Ibáñez 1°F T/V QUE SON LOS HIMPERVIUNCULOS Los hipervínculos son enlaces o rutas de acceso a otro archivo, pagina Web o.
HIPERVÍNCULOS Emilly Michelle Suárez Cortés Activivad 3 Unidad 4 1A.
HERRAMIENTAS DE MICOSOFT WORD LOS HIPERVINCULOS TECNOLOGIAS DE LA INFORMACION 1 MAESTRA: ADRIANA UBIARCO LIMON PALOMA MICHELLE CHAVARRIA SUÀREZ 1ª TM PREPARATORIA.
HIPERVÍNCULOS Javier Alejandro Pelayo Hernández. 1-A T/M.
TECNOLOGIA 1 ACTIVIDAD 3 BARRAGAN HERNANDEZ MELANIE 1-G T/M N.L-7 MAESTRA: ADRIANA UBIARCO UNIVERSIDA DE GUADALAJARA.
ACTIVIDAD 3 HERRAMIENTAS DE MICOSOFT WORD LOS HIPERVINCULOS.
LOS HIPERVÍNCULOS Demian Enrique Proa Mosqueda Mtra. Adriana Ubiarco Tecnologías de la información l 1/F T/M.
 Los hipervínculos son enlaces o rutas de acceso a otro archivo, pagina Web o una dirección de correo electrónico, es una herramienta sencilla y de mucha.
HIPERVÍNCULO MARISOL CAMPOS GUTIÉRREZ 1ºF T/M TECNOLOGIAS DE LA INFORMACION I.
Hipervínculos María Fernanda Cornejo Gonzalez ¿Qué son?  Los hipervínculos son enlaces o rutas de acceso a otro archivo, pagina Web o una dirección.
HERRAMIENTAS DE MICOSOFT WORD LOS HIPERVINCULOS. LOS HIPERVINCULOS Los hipervínculos son enlaces o rutas de acceso a otro archivo, pagina Web o una dirección.
Family Engagement Calendar
Real sitio de El Escorial La Boutique Del PowerPoint.net
La Boutique Del PowerPoint.net
La Boutique Del PowerPoint.net
La Boutique Del PowerPoint.net
●5 días ●5 expresiones del tiempo diferentes en el futuro ●La temperatura ●Una actividad en tu ciudad para el tiempo ●fotos Requisitos.
La Boutique Del PowerPoint.net
La Boutique Del PowerPoint.net
La Boutique Del PowerPoint.net
Objectivo:propósito de esta actividad es para practicar el uso del pretérito y el imperfecto en el pasado Esta actividad se llama speed dating –¿en español?-
LANGUAGE EDUCATION.
LINEAMIENTOS PARA LA FORMACION DE EQUIPOS CARACTERISTICAS.
PASEANDO POR SORIA EL PRIMER FIN DE SEMANA DE FEBRERO
RECORRIDO POR LA PLAZA. EL PLANO DEL LUGAR.
RECORRIDO POR LA PLAZA. EL PLANO DEL LUGAR.
 Escribir el nombre del archivo que queremos utilizar archivo que queremos utilizararchivo que queremos utilizar  Sombrearlo  Menú – insertar – hipervínculo.
Deshabilitar la autodefensa. Después debe reiniciar la PC.
Poster WALK Congreso SLIPE 2019 INSTRUCCIONES PARA HACER Y CARGAR POSTERS EN POWER POINT Y JPG.
Presentation transcript:

1 Uso de MEL (Maya Embedded Language) Para: Números aleatorios Fractales

2 Abrir MEL

3

MEL (Maya Embedded Language) En el Script Editor. File -> Open (O copiar y pegar el script en la parte de abajo del Script Editor). Seleccionar la parte del texto a ejecutar y oprimir el botón: Practicar con el script: “Aleatorios.mel” 4

5 sphere; rename nurbsSphere1 a1; select a1; duplicate -rr; for($i=1; $i<=9; ++$i) duplicate -rr -st; for($i=1; $i<=10; ++$i) { select("a"+$i); $x=rand(-5,5); print $x; print " "; $y=rand(1,10); print $y; print " "; $z=rand(-5,5); print $z; print "\r"; move $x $y $z; select -d; }; for($i=1;$i<=10;$i++) { $x = rand(1,1000); select ("a"+$i); rotate $x $x $x; select -d; }; Aleatorios.mel

6

7

8

9 Mandelbrot.mel parte 1/3 //All the COLOURS used within the Mandelbrot set. createAndAssignShader lambert ""; setAttr "lambert2.color" -type double ; //blue createAndAssignShader lambert ""; setAttr "lambert3.color" -type double ; //black createAndAssignShader lambert ""; setAttr "lambert4.color" -type double ; //pink createAndAssignShader lambert ""; setAttr "lambert5.color" -type double ; //white createAndAssignShader lambert ""; setAttr "lambert6.color" -type double ; //yellow createAndAssignShader lambert ""; setAttr "lambert7.color" -type double ; //green createAndAssignShader lambert ""; setAttr "lambert8.color" -type double ; //light blue

10 int $iter; int $SIZE = 100; //number of spheres to be generated in x and y float $LEFT = -2.0; //constant determining the left most co-ordinate float $RIGHT = 1.0; //constant determining the right most co-ordinate float $TOP = 1.0; //constant determining the upper most co-ordinate float $BOTTOM = -1.0; //constant determining the lower most co-ordinate float $x, $y, $count; float $zr, $zi, $cr, $ci; float $rsquared, $isquared; Mandelbrot.mel parte 2/3

for ($y = 0; $y < $SIZE; $y++) { for ($x = 0; $x < $SIZE; $x++) { $zr = 0.0; $zi = 0.0; $cr = $LEFT + $x * ($RIGHT - $LEFT) / $SIZE; $ci = $TOP + $y * ($BOTTOM - $TOP) / $SIZE; $rsquared = $zr * $zr; $isquared = $zi * $zi; for ($count = 0; $rsquared + $isquared <= 4.0 && $count < 200; $count++) { $zi = $zr * $zi * 2 + $ci; $zr = $rsquared - $isquared + $cr; $rsquared = $zr * $zr; $isquared = $zi * $zi; if ($rsquared + $isquared >= 4.0){ $iter = $count; break; } COLOREA CADA ESFERA } Mandelbrot.mel parte 3/3 11 if ($iter >= 0 && $iter <= 1){ sphere -p $x 0 $y -r 0.4; sets -e -forceElement lambert8SG; } if ($iter > 1 && $iter <= 2){ sphere -p $x 0 $y -r 0.5; sets -e -forceElement lambert7SG; } if ($iter > 2 && $iter <= 3){ sphere -p $x 0 $y -r 0.6; sets -e -forceElement lambert6SG; } if ($iter > 3 && $iter <= 5){ sphere -p $x 0 $y -r 0.7; sets -e -forceElement lambert5SG; } if ($iter > 5 && $iter <= 10){ sphere -p $x 0 $y -r 0.8; sets -e -forceElement lambert4SG; } if ($iter > 10 && $iter < 200){ sphere -p $x 0 $y -r 0.8; sets -e -forceElement lambert2SG; } if ($rsquared + $isquared <= 4.0 && $iter = 200){ sphere -p $x 0 $y -r 0.8; sets -e -forceElement lambert3SG; } Cálculos con cada esfera Variable $iter guarda el número de iteración en que x2 + y2 >= 4

12

13 Planos alternos para el Conjunto de Mandelbrot Plano 1/  Se itera esta función: