﻿<?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=%E5%88%A9%E7%94%A8%E8%80%85%3AStuntman%2FExtensions%3A2.6%2FPy%2FScripts%2FMesh%2Fweightloss</id>
	<title>利用者:Stuntman/Extensions:2.6/Py/Scripts/Mesh/weightloss - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3AStuntman%2FExtensions%3A2.6%2FPy%2FScripts%2FMesh%2Fweightloss"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Stuntman/Extensions:2.6/Py/Scripts/Mesh/weightloss&amp;action=history"/>
	<updated>2026-09-28T14:24:56Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Stuntman/Extensions:2.6/Py/Scripts/Mesh/weightloss&amp;diff=136479&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Stuntman/Extensions:2.6/Py/Scripts/Mesh/weightloss&amp;diff=136479&amp;oldid=prev"/>
		<updated>2018-06-28T20:49:16Z</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日 (木) 20:49時点における版&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=%E5%88%A9%E7%94%A8%E8%80%85:Stuntman/Extensions:2.6/Py/Scripts/Mesh/weightloss&amp;diff=136478&amp;oldid=prev</id>
		<title>2012年5月17日 (木) 19:30にwiki&gt;Stuntmanによる</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Stuntman/Extensions:2.6/Py/Scripts/Mesh/weightloss&amp;diff=136478&amp;oldid=prev"/>
		<updated>2012-05-17T19:30:51Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ScriptInfo&lt;br /&gt;
|name= Weight Loss&lt;br /&gt;
|tooltip= Prunes the count of non-zero weight bone influences&lt;br /&gt;
|menu= View3D &amp;gt; Tool Shelf &amp;gt; Weight Loss&lt;br /&gt;
|version= 1.1&lt;br /&gt;
|author= Stuntman, (acknowledgement to GorkaMendieta for idea)&lt;br /&gt;
|blender= 2.63&lt;br /&gt;
|license= GPL&lt;br /&gt;
|exe= mesh_weightloss.py&lt;br /&gt;
|download= http://projects.blender.org/tracker/download.php/153/467/31436/20738/mesh_weightloss.py&lt;br /&gt;
|modules= sys&lt;br /&gt;
|deps= &lt;br /&gt;
|data= &lt;br /&gt;
|bugtracker= http://projects.blender.org/tracker/index.php?func=detail&amp;amp;aid=31436&lt;br /&gt;
|warning= &lt;br /&gt;
|link= &lt;br /&gt;
|releaselog= &lt;br /&gt;
|issues= &lt;br /&gt;
}}&lt;br /&gt;
=== Installation ===&lt;br /&gt;
* Download the script and copy to the Blender scripts/addons directory.&lt;br /&gt;
* In User Preferences select the Add-Ons tab.&lt;br /&gt;
* You can activate the script there.&lt;br /&gt;
* The script will now show up in the Object Tool Shelf (press {{Shortcut|T}} in object mode)&lt;br /&gt;
=== Description ===&lt;br /&gt;
Most real time game engines have restrictions on the number of bone influences, typically 4, allowed on a single vertex. When importing a Blender file excess influences beyond this limit are not imported. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This difference could be ignored as trivial, and many skilled Blender users will not worry about or generally produce models that have significant numbers of bone influences. However, for completeness sake the Weight Loss add-on provides the user with the option to zero the weights of any influences above a user specified count. &lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The default Blender UI provides a number of different weight tools, of particular relevance to Weight Loss is the Clean function. Clean removes all influences (removes a vertex from a vertex group) where the weight value is below a user specifiable value.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Without examining every vertex, and every vertex group we don't know how many influences a Clean will retain for each vertex. Without knowing what a suitable threshold value is to clean below it is not possible to clean and guarantee that you will have below a required number of influences on every vertex.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
This is where Weight Loss coupled with Clean comes in. &lt;br /&gt;
== Example ==&lt;br /&gt;
&amp;lt;div class=&amp;quot;tableNormal&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:mesh_weightloss_image1_grouplist.png|right]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The detail to the right is for a single vertex with 6 non-zero weight bone influences.  We may set the clean threshold to be 0.001 but for this vertex, that would still leave 5 influences (ok so 0.001 is small, but for illustration purposes it hopefully demonstrates the principle).&lt;br /&gt;
{{clr}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tableNormal&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:mesh_weightloss_image2_toolbar.png|left]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
After installing the Weight Loss add on, in 3D View select your mesh in Object Mode, the Weight Loss panel appears in the Object Tools.&lt;br /&gt;
{{clr}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tableNormal&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Set your Maximum Count of influences (e.g. 4) and then press the button to Prune Weights. This will reduce the number of non-zero weights on all vertices to less than or equal to the maximum count set.&lt;br /&gt;
You will be informed of how many influences have been set in the mesh in the information panel.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:mesh_weightloss_image3_infobar.png|center]]&lt;br /&gt;
{{clr}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tableNormal&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
[[File:mesh_weightloss_image4_grouplist.png|left]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Back to our example, we have only 4 non-zero infleunces now for this vertex, and likewise for every vertex in the mesh we will have 4 or less non-zero influences.&lt;br /&gt;
{{clr}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;tableNormal&amp;quot;&amp;gt;&lt;br /&gt;
Next perform a Clean, with a very small threshold value, and when applied all of the zero weight influences (previously existing and new as a result of the Weight Loss calculation) will be removed.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
For subsequent animations on the model using Blender imported in to the target games engine the user will at least be confident that any difference or deformation between animations on the two software tools will not be as a result of different numbers of bone influences.&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
== Known Issues ==&lt;br /&gt;
----&lt;br /&gt;
=== Additional Information ===&lt;br /&gt;
----&lt;br /&gt;
=== Support ===&lt;br /&gt;
----&lt;br /&gt;
=== Links ===&lt;br /&gt;
* Back to [[Extensions:2.6/Py/Scripts]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Stuntman</name></author>
		
	</entry>
</feed>