Entradas

Mostrando las entradas etiquetadas como cycles

Blender Cycles: Using a Python Script in a Material Node

Imagen
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...

Blender Cycles: Map Range Node for Materials

Imagen
Hi. Today I'm going to show you how to make a Map Range node for Cycles materials. I have used this node a lot in my materials. This node takes a value in a range (between a maximum and a minimum) and translates it into a value for another range. In CG this is called mapping. Hola. Hoy os voy a mostrar como hacer un nodo Map Range (mapeo de rango) para materiales en Cycles. Yo he usado mucho este nodo en mis materiales. Este nodo toma un valor dentro de un rango (entre un máximo y un mínimo) y lo traduce en un valor para otro rango. Esto se conoce com mapeo en graficos por ordenador. The Map Range node exists in Blender, but only for compositing. El nodo Map Range ya existe in Blender, pero solo para postproducción. You can make a node group for Cycles materials which works exactly the same as the compositing one. This is its setup: Tú puedes hacer un grupo de nodos para materiales de Cycles que funcione exactamente igual que el de postproducción. Esta es su conf...

SSS Plastic Material

Imagen
Hi everybody. Today I'm going to show you how to make a realistic plastic material like this: Firstly, I recommend you to see this video tutorial about how to setup a SSS node in Cycles made by @pauljs75. The overall setup of the yellow plastic is as follows: I have used two SSS nodes to get my base SSS material. I have used the method explained in the video tutorial. The color of the SSS node is the base color of the shader. The color of the RGB node is the scattered color. (I should have created a node group with this setup) Also I have added a diffuse node to reduce the noise of my material. Finally I have added some basic glossiness to my material The red plastic is slightly different. Here you can see the node detail: As the SSS materials are very noise, I strongly recommend you to use compositing and bilateral blur nodes to get a good render. You can find some video tutorials explaining this on CGCoockie: Using Blender’s B...

Blender Cycles: Rendering Tips (WIP)

Imagen
Hi everybody. In this article I'm going to write brief tips that I use in my cycles renders. I hope they will be useful for you. This article is in process. Hola a todos. En este artículo voy a ir poniendo breves consejos que yo mismo utilizo en mis renders. Espero que os sean útiles. Este artículo está en elaboración. For creating a plastic or ceramic material use a mixture between a Diffuse node and a Glossy node.   Para crear un material de tipo plástico o cerámico usa una mezcla entre un nodo difuso (Diffuse) y un nodo de brillo (Glossy) For creating a metal material use a mixture between two Glossy nodes. Para crear un material de tipo metal usa una mezcla (Mix) de dos nodos de brillo (Glossy) In the real world there are not completely diffuse materials. A lmost all materials reflect light at gracing angles at least (for example, paper). So use always some kind of reflection. En el mundo real no hay materiales completamente difusos. Casi todos los...

Red Eroded Coral Material

Imagen
Hi everybody! Today I'm going to show you how to make a red eroded coral material in blender / cycles: ¡Hola a todos! Hoy voy a mostraros como hacer un material de tipo coral rojo erosionado con blender y cycles: This is the overview of the material: Esta es la visión general del material: This is the zoom on the left hand side in the material: Este es el zoom de la parte izquierda del material: I have mixed three Voronoi Textures to get the bumping of the material (see turquoise frame). I have used a Value node and two Math node with the Multiply option to centralize the scaling my textures. If the value of the Value node is changed, all the textures changes in the same proportion. By plugging these textures in Bump nodes and chaining them I get a kind of eroded surface. Regarding the purple frame, I have used two of the Voronoi textures to find the holes on the surface and set a different color for them. They are the white spots of the coral. He...

Scratched Metal Material

Imagen
Hi every body. Today I'm going to show you a scratched metal material: (1) Preview of the node setup explained in this article  (2) Preview of the node setup with parameters modified for the last render below This is the basic node setup of the material: As you can see, the material is a simple Glossy node wich is added a scratched bumping. You can change the Glossy node by another metal or a material of you own. The main element of the Scratched Pattern node group is a tweaked Voronoi texture, which produces a streaky pattern: This is the Map Range node group included: This tweaked Voronoi texture produces some spots painted on your texture. The number of spots depends on the Threshold parameter (1.0 for all spots, Mapping Vector node scaling the texture in this way: The Scratched Pattern node group contains eight groups of  Mapping-Tweaked Voronoi nodes. This is the comparison of one Tweaked Voronoi or eight of them with differ...