Blender Freestyle



< Blender 3D: Noob to Pro‎ | Advanced Tutorials

Online CSS Menu Maker. Create No-Javascript, 100% CSS Dropdown Menu in seconds! Horizontal css menu & Vertical css menu. I needed a reliable way to render wireframes and came across freestyle rendering. I realized that freestyle was a lot of fun and had multiple uses. Everything from cartoons, to blueprints. Free Old Style Blender Intro Template – Only Blender. This is a free video template.

next module:
'Procedural Eyeball in Cycles'
• Table of Contents
• Glossary
Advanced Animation

New in Blender 2.67, the Freestyle renderer adds a whole range of non-photorealistic effects to the Blender Internal renderer. It seems in some ways like the decades-long quest for photorealism in computer graphics has come full circle, and people are now deliberately seeking how to achieve more cartoony or line-drawing-style effects!

A Simple Freestyle Example[edit | edit source]

Start with a new Blender document. Delete both the default cube and the default lamp. In the World context, check the Environment Lighting box and set its energy to 1.0. This will give your scene a flat, shadowless light that suits a cartoony effect.

Create a Circle mesh object. TAB into Edit mode; all the vertices should be selected, so you can add a face joining them all just by pressing F . Next, select just one vertex with RMB . Go to the Mesh → Snap menu and select “Cursor to Selected”. TAB out of Edit mode, and go to the Object → Transform menu and select “Origin to 3D Cursor”. Putting the geometry origin at one edge of the circle, rather than its centre, makes it easier to apply the upcoming transformation via an array modifier.

TAB back into Edit mode. Select two vertices equidistant from the one you used to position the geometry origin. Turn on proportional editing (Mesh → Proportional Editing → Connected). Now press S to scale the two selected vertices closer to each other, and use the mouse wheel to regulate the proportional-editing falloff to get a reasonable leaf or petal shape, as at right.

Once you’ve got a decent shape, select all the vertices and rotate them by a small angle, say, 5°, e.g. R Y 5KEY ENTER . This will keep the overlapping copies of the object from running into each other and producing some unpleasant rendering effects.

TAB back into Object mode. Now add an Empty at the current position of the 3D cursor. Rotate it about the Z-axis by 60°: R Z 6KEY 0KEY ENTER . Since this shares the same geometry origin as your circle, it can be used to apply a rotation to the latter without it turning into a spiral.

Select your circle again. Add an Array modifier: uncheck Relative Offset (and ensure Constant Offset is off as well), and turn on Object Offset. Click on the field for entering the object name, and in the popup menu that appears, select the name of your Empty (it should be called “Empty”). Set the Count to 6. You should now see a leaf-like or flower-like arrangement of 6 copies of your circle. While you’re at it, give it a suitably plant-like colour, like leaf green.

Now go to the Render Context . Look for the “Freestyle” checkbox near the bottom, and check it. Switch to the Render Layers Context , and you should see that a “Freestyle” panel has appeared. Click the “+” button next to the “Freestyle Line Set” list to create a new entry. You can leave all the settings for the new Line Set at their defaults.

Now hit F12 to render, and you should end up with something like this:

See Also[edit | edit source]

  • Video tour of just about every Freestyle setting.
Fireflies in Cycles, Continued• Table of Contents
• Glossary
Advanced Animation
Retrieved from 'https://en.wikibooks.org/w/index.php?title=Blender_3D:_Noob_to_Pro/Advanced_Tutorials/Introduction_to_Freestyle&oldid=2645234'

If you're looking for a good, open source renderer, look no further than Freestyle for Blender. Looking for a photoreal finish or a cartoon? Freestyle can do both.

Introduction

Every day, 3D artists spend hours working on their computers trying to get photorealistic images, but sometimes we need to have images styled more like a comic; luckily Blender can do them, using the Freestyle option! Freestyle is an edge and line based non-photorealistic render engine. It generates 2D line drawing from a set of objects; lines can be stylized in a lot of ways (different line colors and thickness or by adding random displacements) to produce artistic (hand drawn) or technical (blueprint) styles. Freestyle for Blender has two complementary modes for line stylization: the Parameter Editor and the Python Scripting mode. In this tutorial we'll use the first one.

Step 1: Model setup

For this tutorial we will use a Vespa Special model (the file is here).
Open Blender and load the .blend file. Change the render engine from Cycles Render to Blender Render, then select emission planes on the top of the scene and delete them. Add a Sun Lamp (Shift+A > Lamp > Sun) and rotate it about 60 degrees along the y axis and 45 along the z axis. Select the camera and turn off depth of field in the camera options tab.

Blender

Model setup

Step 2: Materials setup

Now we'll change all the materials (created with nodes) from photorealist Cycles materials to Blender internal Toon shader. Select the body of the Vespa, go into the material tab and uncheck Use Shader Nodes. Select Toon shader, set smooth as 0,9, enable ramp (change white color to red) and set specular intensity to 0. Change all the others materials to Toon shader, (smooth = 0,8–0,9 and specular intensity = 0) and make a render test (see image). Now we're ready to play with freestyle.

Render test of toon material

Step 3: Freestyle line set options

Enable Freestyle in the render tab and select relative line thickness. Open the Layer tab and let's see the main options: you can control the amount of crease lines; culling enables you to mesh out of 3D view (improve performance); face smoothness makes smoother silhouette lines of objects (more render time).
For Visibility there are three choices: Visible (only visible lines are rendered); Hidden (lines occluded by at least one surface are rendered) and QI Range (Quantitative Invisibility); lines occluded by a number of surfaces in the given range (start/end) are rendered.
In the Edge type tab we have to choose one or more edge to render: Silhouette draws silhouettes around objects ¬– very good for organic models (it works only with a close mesh). Border is for open edge meshes (Suzanne's eye socket is an open edge). Contour draws the outer edges and inner open border. External Contour draws only on the outer contour edges. Material Boundary draws a line where 2 materials meet on the same object. Crease draws only edges whose adjacent faces form an angle greater than crease angle. Edge Marks renders marked edges (jump into edit mode, select the edges you want to be marked then Ctrl+E > mark freestyle edge).

Freestyle lines setting

Step 4: Freestyle line style options

Line style settings define the appearance of lines; we have 5 main menu choices: stroke, color, alpha, thickness and geometry.
In the Geometry tab control, there are thirteen modifiers available that add some 2-dimensional offsets, displacement or noise at lines (geometry image). The Thickness tab has five modifiers available, we can simulate broad and flat pens for calligraphy or change line thickness using the distance to the active camera or mesh material (thickness image). Alpha and Color tabs control the transparency and color of the strokes (alpha-color image). In the Stroke tab we can tweaks lines: remove the ones longer/shorter than the threshold; change types of line caps or enable dashed lines (stroke image).

Geometry

Thickness

Alpha color

Freestyle

Stroke

Step 5: Render setup

For our render, we'll use 2 sets of lines; the first one will be a black line with a calligraphy (orientation 60 degree, min thickness=1, max thickness=2) along with the stroke modifier (curve mapped, min value=1, max value=4). The second set of lines will be white with a calligraphy modifier (60 degree, min thickness=1, max thickness=3) and a spatial noise (amplitude 2, scale 20) and perlin noise (frequency 30 and amplitude 15). Set camera and hit F12 to render.

Render setup

Blender Freestyle Pass

Top tip 1: Postproduction with Gimp

Autocad software free. I usually use material index before I start the render; in this way, when I work in Gimp, I can easily select the different materials of my models and the post-production workflow becomes quicker and more efficient.

Material index pass

Fetching comments..

Newest

Blender Freestyle Tutorial

Post a comment

Blender Freestyle Not Working

Related

  • Tutorial: Maya

    Linear Color Management
  • News: Video General

    UV Packer for Blender