<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ja">
	<id>https://monobook.org/w/index.php?action=history&amp;feed=atom&amp;title=%E9%9D%A2%E6%B3%95%E7%B7%9A%E3%81%8B%E3%82%89%E3%82%B9%E3%83%A0%E3%83%BC%E3%82%BA%E3%82%B7%E3%82%A7%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0%E7%94%A8%E3%81%AE%E9%A0%82%E7%82%B9%E6%B3%95%E7%B7%9A%E3%82%92%E7%AE%97%E5%87%BA%E3%81%99%E3%82%8B</id>
	<title>面法線からスムーズシェーディング用の頂点法線を算出する - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://monobook.org/w/index.php?action=history&amp;feed=atom&amp;title=%E9%9D%A2%E6%B3%95%E7%B7%9A%E3%81%8B%E3%82%89%E3%82%B9%E3%83%A0%E3%83%BC%E3%82%BA%E3%82%B7%E3%82%A7%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0%E7%94%A8%E3%81%AE%E9%A0%82%E7%82%B9%E6%B3%95%E7%B7%9A%E3%82%92%E7%AE%97%E5%87%BA%E3%81%99%E3%82%8B"/>
	<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=%E9%9D%A2%E6%B3%95%E7%B7%9A%E3%81%8B%E3%82%89%E3%82%B9%E3%83%A0%E3%83%BC%E3%82%BA%E3%82%B7%E3%82%A7%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0%E7%94%A8%E3%81%AE%E9%A0%82%E7%82%B9%E6%B3%95%E7%B7%9A%E3%82%92%E7%AE%97%E5%87%BA%E3%81%99%E3%82%8B&amp;action=history"/>
	<updated>2026-06-07T01:20:00Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://monobook.org/w/index.php?title=%E9%9D%A2%E6%B3%95%E7%B7%9A%E3%81%8B%E3%82%89%E3%82%B9%E3%83%A0%E3%83%BC%E3%82%BA%E3%82%B7%E3%82%A7%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0%E7%94%A8%E3%81%AE%E9%A0%82%E7%82%B9%E6%B3%95%E7%B7%9A%E3%82%92%E7%AE%97%E5%87%BA%E3%81%99%E3%82%8B&amp;diff=14233&amp;oldid=prev</id>
		<title>2021年3月1日 (月) 02:04にAdministratorによる</title>
		<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=%E9%9D%A2%E6%B3%95%E7%B7%9A%E3%81%8B%E3%82%89%E3%82%B9%E3%83%A0%E3%83%BC%E3%82%BA%E3%82%B7%E3%82%A7%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0%E7%94%A8%E3%81%AE%E9%A0%82%E7%82%B9%E6%B3%95%E7%B7%9A%E3%82%92%E7%AE%97%E5%87%BA%E3%81%99%E3%82%8B&amp;diff=14233&amp;oldid=prev"/>
		<updated>2021-03-01T02:04:39Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ja&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 古い版&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2021年3月1日 (月) 02:04時点における版&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;3行目:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;3行目:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// 面法線を全部足す&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// 面法線を全部足す&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;var sum = new vector3(0);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;var sum = new vector3(0);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;foreach (plane in vertex.planes) {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;foreach (&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;var &lt;/ins&gt;plane in vertex.planes) {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     sum += plane.normal;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     sum += plane.normal;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
	<entry>
		<id>https://monobook.org/w/index.php?title=%E9%9D%A2%E6%B3%95%E7%B7%9A%E3%81%8B%E3%82%89%E3%82%B9%E3%83%A0%E3%83%BC%E3%82%BA%E3%82%B7%E3%82%A7%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0%E7%94%A8%E3%81%AE%E9%A0%82%E7%82%B9%E6%B3%95%E7%B7%9A%E3%82%92%E7%AE%97%E5%87%BA%E3%81%99%E3%82%8B&amp;diff=14232&amp;oldid=prev</id>
		<title>Administrator: ページの作成:「「頂点を共有する面たち」の面法線を全部足して最後に正規化するとスムーズシェーディング用の頂点法線となる…」</title>
		<link rel="alternate" type="text/html" href="https://monobook.org/w/index.php?title=%E9%9D%A2%E6%B3%95%E7%B7%9A%E3%81%8B%E3%82%89%E3%82%B9%E3%83%A0%E3%83%BC%E3%82%BA%E3%82%B7%E3%82%A7%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0%E7%94%A8%E3%81%AE%E9%A0%82%E7%82%B9%E6%B3%95%E7%B7%9A%E3%82%92%E7%AE%97%E5%87%BA%E3%81%99%E3%82%8B&amp;diff=14232&amp;oldid=prev"/>
		<updated>2021-03-01T02:04:10Z</updated>

		<summary type="html">&lt;p&gt;ページの作成:「「頂点を共有する面たち」の&lt;a href=&quot;/w/index.php?title=%E9%9D%A2%E6%B3%95%E7%B7%9A&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;「面法線」 (存在しないページ)&quot;&gt;面法線&lt;/a&gt;を全部足して最後に&lt;a href=&quot;/w/index.php?title=%E6%AD%A3%E8%A6%8F%E5%8C%96&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;「正規化」 (存在しないページ)&quot;&gt;正規化&lt;/a&gt;すると&lt;a href=&quot;/w/index.php?title=%E3%82%B9%E3%83%A0%E3%83%BC%E3%82%BA%E3%82%B7%E3%82%A7%E3%83%BC%E3%83%87%E3%82%A3%E3%83%B3%E3%82%B0&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;「スムーズシェーディング」 (存在しないページ)&quot;&gt;スムーズシェーディング&lt;/a&gt;用の&lt;a href=&quot;/w/index.php?title=%E9%A0%82%E7%82%B9%E6%B3%95%E7%B7%9A&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;「頂点法線」 (存在しないページ)&quot;&gt;頂点法線&lt;/a&gt;となる…」&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;「頂点を共有する面たち」の[[面法線]]を全部足して最後に[[正規化]]すると[[スムーズシェーディング]]用の[[頂点法線]]となる。&lt;br /&gt;
&amp;lt;source lang=&amp;quot;csharp&amp;quot;&amp;gt;&lt;br /&gt;
// 面法線を全部足す&lt;br /&gt;
var sum = new vector3(0);&lt;br /&gt;
foreach (plane in vertex.planes) {&lt;br /&gt;
    sum += plane.normal;&lt;br /&gt;
}&lt;br /&gt;
// 正規化する&lt;br /&gt;
vertex.normal = sum.normalize();&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== 関連項目 ==&lt;br /&gt;
* [[頂点位置から面法線を算出する]]&lt;br /&gt;
* [[面法線からフラットシェーディング用の頂点法線を算出する]]&lt;br /&gt;
* [[面法線からスムーズシェーディング用の頂点法線を算出する]]&lt;br /&gt;
&lt;br /&gt;
[[category: CG]]&lt;br /&gt;
[[category: 法線]]&lt;/div&gt;</summary>
		<author><name>Administrator</name></author>
	</entry>
</feed>