Blender Cycles: Using a Python Script in a Material Node
 
Hi. Today I'm going to show you how to execute a python script in a node.   Hola. Hoy voy a mostrar como ejecutar un script hecho en python y dentro de un nodo.   These are the steps to get it:   Create the python script  Register the python script to be used  Add a driver to a node  Reload the blend file   Estos son los pasos para conseguirlo:   Crear el script en lenguaje python  Registrar el script que se desea usar  Añadir un driver al nodo  Volver a carga el archivo blend     1. Create the python script / Crea el script en python   First of all you need to open a Text Editor  in any window of your blend file.   Primero de todo necesitas abrir el Editor de Texto en cualquier ventana de tu archivo blend.            Press on the New button to create a new script.   Pulsa el botón New para crear un script nuevo.         Type the name of you script. IMPORTANT: It must be ended with ".py" extension. So Blender can execute the code.   Teclea el nombre de tu script. IMPORTAN...
 
 
 
