Book Image

Blender 2.5 Materials and Textures Cookbook

Book Image

Blender 2.5 Materials and Textures Cookbook

Overview of this book

Blender 2.5 is one of the most usable 3D suites available. Its material and texture functions offer spectacular surface creation possibilities. It can take you hours just to create basic textures and materials in Blender and when you think of creating complex materials and textures you are petrified. Imagine how you will feel when you overcome these obstacles. This book wastes no time on boring theory and bombards you with examples of ready-created materials and textures from the start, with clear instructions on how they were created, and what you can learn from them for making your own. It covers all core Blender functions you will ever need to easily create perfect simulation of objects from the simplest to the most complex ones. The book begins with recipes that show you how to create natural surface materials, including a variety of pebbles, rocks, wood, and water, as well as man-made metals, complete with rust. By utilizing some of the easiest-to-use animation tools available, you will be able to produce accurate movement in mesh objects. Familiarize yourself with a plethora of tools that will help you to effectively organize your textures and materials. You will learn how to emulate the reflective properties of natural materials and how to simulate materials such as rusted iron, which is difficult to make believable. Transparency and reflection are both tricky natural surface properties to simulate but these recipes will make it easy. Explore ways to speed up animations by using special painting techniques to significantly lower render times. By the end of the book, you will be able to simulate some of the most difficult effects to recreate in any 3D suite, such as smoke, fire, and explosions.
Table of Contents (16 chapters)
Blender 2.5 Materials and Textures Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating a realistic pebble material using procedural textures


For this first recipe we will create a realistic-looking pebble based on one that could found on many beaches across the world.

The previous screenshot shows three pebbles, one that mostly comprises hard gray sandstone, another consisting of quartz, and a third that has both types of rock fused in layers. The pen is shown to provide a sense of scale for these pebbles.

Although all three recipes are designed to simulate a surface when dry, it can be useful to know what it looks like when wet. For instance, the gray sandstone will look much darker when wet because light will be spread less across its surface. In contrast, quartzrock will hardly alter at all when wet because its surface is much more reflective anyway. Knowing these surface properties will aid you in your simulation.

Getting ready

To start off this exercise we are going to create a simple pebble-like mesh on a white plane background and then apply a pebble material, based on our observations of the reference photo, to the pebble mesh. We are not going to create the exact pebble as shown in the reference photo, but the essence of such a surface that could be applied to any shaped pebble mesh.

The easiest way to create a simple pebble shape is to use the default cube and:

  • subdivide, in edit mode by three to four subdivisions, to give you a few more vertices to play with

  • make the mesh smooth from the tool shelf

  • add a Subdivision Surface modifier at about level 3

  • then move vertices around in proportional edit mode until you get a reasonable pebble like shape. I scaled my cube by about 150 percent during this process

You could also use the Multiresolution modifier, and the Sculpt tool to achieve a similar effect.

Also create a simple plane below the pebble mesh and scale this until it is larger than the camera view. This will give a surface on which to display our pebble.

Save your work as pebble-00.blend.