﻿<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ARef%2FRelease_Notes%2F2.71%2FFreestyle</id>
	<title>Dev:Ref/Release Notes/2.71/Freestyle - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ARef%2FRelease_Notes%2F2.71%2FFreestyle"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Ref/Release_Notes/2.71/Freestyle&amp;action=history"/>
	<updated>2026-07-09T12:05:26Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Ref/Release_Notes/2.71/Freestyle&amp;diff=146505&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Ref/Release_Notes/2.71/Freestyle&amp;diff=146505&amp;oldid=prev"/>
		<updated>2018-06-28T21:07:45Z</updated>

		<summary type="html">&lt;p&gt;1版 をインポートしました&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;2018年6月28日 (木) 21:07時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ja&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(相違点なし)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Yamyam</name></author>
		
	</entry>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Ref/Release_Notes/2.71/Freestyle&amp;diff=146504&amp;oldid=prev</id>
		<title>wiki&gt;LightBWK: /* New feature #1: Textured strokes */</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Ref/Release_Notes/2.71/Freestyle&amp;diff=146504&amp;oldid=prev"/>
		<updated>2014-05-28T08:29:53Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;New feature #1: Textured strokes&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Blender 2.71: Freestyle NPR Rendering=&lt;br /&gt;
&lt;br /&gt;
==New feature #1: Textured strokes==&lt;br /&gt;
&lt;br /&gt;
A proper support for textured strokes was one of long-awaited missing features that were available in the original stand-alone [http://freestyle.sourceforge.net/ Freestyle] program.  Paolo Acampora has contributed [https://developer.blender.org/D246 Patch D246] to implement this feature back in Freestyle for Blender.&lt;br /&gt;
&lt;br /&gt;
{|align=center&lt;br /&gt;
| [[File:Rim_sketch.jpg|thumb|360px|An example of Freestyle textured strokes (right) generated from a 3D model (left), by Paolo Acampora.]]&lt;br /&gt;
| [[File:Teapot_pencil.jpg|thumb|320px|Another example using textured pencil marks in Freestyle ([[File:Teapot_pencil.blend]]).]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Like Blender's classic shading system, textures applied to Freestyle line drawing can be stacked one on top of another, mapped onto different coordinates (e.g., global, view, and along stroke), and mapped to diffuse color and/or alpha transparency through different blending options. Each texture mapped along stroke can be either a Freestyle-specific brush texture consisting of a head, body and tail, or just a plain left-to-right texture.&lt;br /&gt;
&lt;br /&gt;
{{clr}}&lt;br /&gt;
&lt;br /&gt;
===Using textures through the Freestyle GUI===&lt;br /&gt;
&lt;br /&gt;
[[File:Linestyle_texture_panel.jpg|thumb|360px|Texture options in the Render Layers properties context.]]&lt;br /&gt;
&lt;br /&gt;
In the Freestyle GUI (namely, in the [[Doc:2.6/Manual/Render/Freestyle/Parameter Editor|Parameter Editor]] mode), textures can be enabled from a new Textures tab in the Freestyle Line Style panel of the Render Layers context. The Spacing Along Stroke parameter allows to set the &amp;quot;pace&amp;quot; of textures mapped along the length of strokes. Texture options can be found in a new Line Style tab in the Texture properties context. The &amp;quot;Go to LineStyle Textures&amp;quot; button is a shortcut to texture settings in the other context.&lt;br /&gt;
&lt;br /&gt;
{{clr}}&lt;br /&gt;
&lt;br /&gt;
[[File:Linestyle_texture_options.jpg|thumb|200px|Line style texture slot options in the Textures context.]]&lt;br /&gt;
&lt;br /&gt;
Textures can be assigned to texture slots of a line style in [[Doc:2.6/Manual/Textures/Assigning_a_Texture|the usual way]] within the Line Style tab of the Texture properties context.&lt;br /&gt;
&lt;br /&gt;
[[Doc:2.6/Manual/Textures/Mapping|Coordinates]] available for line style textures are three common mappings {{Literal|Generated}}, {{Literal|Global}} and {{Literal|Window}} available in other types of texture slots, as well as {{Literal|Along Stroke}} dedicated to Freestyle stroke marks.&lt;br /&gt;
&lt;br /&gt;
The Along Stroke option maps textures along the stroke length, making it possible to mimic pencil, paintbrush, and other art medium marks.&lt;br /&gt;
When this mapping is enabled, the {{Literal|Use Tips}} option allows to use lower quarters of a texture image for the head and tail tips of a stroke, while the upper half for the stroke body.&lt;br /&gt;
&lt;br /&gt;
[[File:Linestyle_tex_alongStroke.jpg|thumb|center|400px|An example render using the Along Stroke mapping]]&lt;br /&gt;
&lt;br /&gt;
The {{Literal|Influence}} section allows to specify how textures affect diffuse color and/or alpha transparency of strokes.  The {{Literal|Blend Type}} option sets a [[Doc:2.6/Manual/Textures/Influence/Material/Blending_Modes|blending mode]] for line style textures.&lt;br /&gt;
&lt;br /&gt;
{{clr}}&lt;br /&gt;
&lt;br /&gt;
[[Doc:2.6/Manual/Textures/Types/Nodes|Node-based textures]] can be used for line styles as well.&lt;br /&gt;
&lt;br /&gt;
[[File:Linestyle_texture_node_screenshot.jpg|thumb|center|500px|Node textures over Freestyle strokes.]]&lt;br /&gt;
&lt;br /&gt;
{{clr}}&lt;br /&gt;
&lt;br /&gt;
[[File:Mouse_Sketch.jpg|thumb|center|500px|Jean textured strokes mouse sketch by Light BWK (CC0) ([[File:Mouse.Blend]]).]]&lt;br /&gt;
&lt;br /&gt;
{{clr}}&lt;br /&gt;
&lt;br /&gt;
===Using textures in Python scripting===&lt;br /&gt;
&lt;br /&gt;
Style modules based on the Freestyle Python API can also make use of textures.  To this end, two shaders have been added to the API:&lt;br /&gt;
&lt;br /&gt;
* {{Literal|BlenderTextureShader(mtex)}}, to assign a line style texture slot {{Literal|mtex}} to strokes.&lt;br /&gt;
* {{Literal|StrokeTextureStepShader(step)}}, to specify the spacing {{Literal|step}} of texture coordinates along stroke.&lt;br /&gt;
&lt;br /&gt;
Line style texture slots are only available as part of line style ID datablocks.  Hence a line style needs to be created to allocate texture slots on the fly for the use of textured strokes from within Python style modules.&lt;br /&gt;
&lt;br /&gt;
[[File:Texture_scripting_test_screenshot.png|thumb|center|500px|Freestyle textured strokes in Python scripting ([[File:Texture_scripting_test.blend|Texture_scripting_test.blend]]).]]&lt;br /&gt;
&lt;br /&gt;
==New feature #2: Sorting==&lt;br /&gt;
&lt;br /&gt;
[[File:Blender-2.71-Freestyle-sorting-UI.png‎|thumb|240px|Sort options.]]&lt;br /&gt;
&lt;br /&gt;
Line styles now have a set of new options for sorting to rearrange the stacking order of lines.  This gives artists more control to determine which lines should be drawn on top of others.&lt;br /&gt;
&lt;br /&gt;
===Sort options===&lt;br /&gt;
&lt;br /&gt;
; Sort key&lt;br /&gt;
A sort key is used to determine the stacking order of lines.  There are two sort keys available:&lt;br /&gt;
* ''Distance from camera.'' Lines closer to the camera lie on top of further lines.&lt;br /&gt;
* ''2D length.'' Longer lines lie on top of shorter lines.&lt;br /&gt;
&lt;br /&gt;
; Integration type&lt;br /&gt;
Since the distance of a line from the camera may vary over vertices, another option called&lt;br /&gt;
integration type is used to compute the sort key for a line from the values computed at&lt;br /&gt;
individual vertices.  Five integration types are available:&lt;br /&gt;
* ''Mean''. The value computed for the line is the mean of the values obtained for the vertices.&lt;br /&gt;
* ''Min''. The value computed for the line is the minimum of the values obtained for the vertices.&lt;br /&gt;
* ''Max''. The value computed for the line is the maximum of the values obtained for the vertices.&lt;br /&gt;
* ''First''. The value computed for the line is the value obtained for the first vertex.&lt;br /&gt;
* ''Last''. The value computed for the line is the value obtained for the last vertex.&lt;br /&gt;
&lt;br /&gt;
; Sort order&lt;br /&gt;
The stacking order can be either the ''Default'' order of the sort key (described above) or the ''Reverse'' order.&lt;br /&gt;
&lt;br /&gt;
{{clr}}&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
&lt;br /&gt;
The following two images show Freestyle renders of cubes in different colors. Sorting was disabled for the first image. Note that this render presents a visual artifact that blue lines partly lie on top of yellow lines, which is against the expectation that blue boxes should be occluded by yellow boxes in front.  The second render shows the correct stacking order of lines by means of sorting, where the distance from camera was used as sort key with the integration type set to Mean. &lt;br /&gt;
&lt;br /&gt;
[[File:Sorting_example_box_1.png‎|300px]]&lt;br /&gt;
[[File:Sorting_example_box_2.png‎|300px]]&lt;br /&gt;
&lt;br /&gt;
The images below show another set of Freestyle line rendering results.  The scene consists of a torus and a cylinder.  The first image was created without sorting, and again the render indicates a wrong stacking order of lines.  In the second image, lines were sorted by the mean distance from camera.  It is observed that the stacking order has been improved but still not perfect.  The inner silhouette line of the torus has to be in front of yellow lines on the near side and under the yellow lines on the far side, that is impossible when the inner silhouette is one long line.  This result demonstrates a limitation of sorting. &lt;br /&gt;
&lt;br /&gt;
[[File:Sorting_example_torus_1.png‎|300px]]&lt;br /&gt;
[[File:Sorting_example_torus_2.png‎|300px]]&lt;br /&gt;
&lt;br /&gt;
A practical solution for the limited applicability of sorting is to use it in combination with splitting.  In the third image below, lines were split by 2D length of 100 pixels (see the screen capture above showing line style options) and sorted by the distance from camera.  Now the visual outcome looks fine in terms of line ordering.&lt;br /&gt;
&lt;br /&gt;
[[File:Sorting_example_torus_3.png‎|300px]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;LightBWK</name></author>
		
	</entry>
</feed>