﻿<?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%3ANicholasbishop%2FPtex_OLD</id>
	<title>利用者:Nicholasbishop/Ptex OLD - 版の履歴</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%3ANicholasbishop%2FPtex_OLD"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Nicholasbishop/Ptex_OLD&amp;action=history"/>
	<updated>2026-12-04T22:34:59Z</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:Nicholasbishop/Ptex_OLD&amp;diff=103165&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:Nicholasbishop/Ptex_OLD&amp;diff=103165&amp;oldid=prev"/>
		<updated>2018-06-28T19:41:28Z</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日 (木) 19:41時点における版&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:Nicholasbishop/Ptex_OLD&amp;diff=103164&amp;oldid=prev</id>
		<title>wiki&gt;Nicholasbishop: moved User:Nicholasbishop/Ptex to User:Nicholasbishop/Ptex OLD</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Nicholasbishop/Ptex_OLD&amp;diff=103164&amp;oldid=prev"/>
		<updated>2015-01-27T11:41:25Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/%E5%88%A9%E7%94%A8%E8%80%85:Nicholasbishop/Ptex&quot; title=&quot;利用者:Nicholasbishop/Ptex&quot;&gt;User:Nicholasbishop/Ptex&lt;/a&gt; to &lt;a href=&quot;/%E5%88%A9%E7%94%A8%E8%80%85:Nicholasbishop/Ptex_OLD&quot; title=&quot;利用者:Nicholasbishop/Ptex OLD&quot;&gt;User:Nicholasbishop/Ptex OLD&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Ptex Design =&lt;br /&gt;
Work in progress!&lt;br /&gt;
&lt;br /&gt;
Details the changes I&amp;#039;ve been working on to integrate Ptex into Blender. This work was started as part of GSOC2010 within the soc-2010-nicolasbishop SVN branch, but more recently I have continued development as a patch against trunk. The new patch will have only Ptex changes, the other changes from soc-2010-nicolasbishop such as paint masks are not part of this project.&lt;br /&gt;
&lt;br /&gt;
== Ptex library ==&lt;br /&gt;
The [http://ptex.us/index.html Ptex] library is currently used for loading and saving Ptex files; in the future it will probably be needed for integration in the internal renderer as well.&lt;br /&gt;
&lt;br /&gt;
Licensing note: the Ptex license is BSD-new, which is [http://en.wikipedia.org/wiki/BSD_licenses#3-clause_license_.28.22New_BSD_License.22_or_.22Modified_BSD_License.22.29 GPL-compatible].&lt;br /&gt;
&lt;br /&gt;
I have imported Ptex into the extern/ directory. Since the library is C++, I&amp;#039;ve also added a small C wrapper which attempts to mirror the Ptex API very closely. (I&amp;#039;ve only wrapped the parts of the library currently in use, but it should be very quick to extend if we need additional functionality.) The header and source files are extern/ptex/ptex.h and extern/ptex/ptex_C_api.c.&lt;br /&gt;
&lt;br /&gt;
== DNA ==&lt;br /&gt;
Ptex data is stored primarily as CustomData, but has some limited integration into textures as well.&lt;br /&gt;
&lt;br /&gt;
=== Brush ===&lt;br /&gt;
The only change needed for brushes is to add a field for the current Ptex paint tool (same as for all the other paint modes.)&lt;br /&gt;
&lt;br /&gt;
=== CustomData ===&lt;br /&gt;
Added a new CustomData type, CD_MPTEX.&lt;br /&gt;
&lt;br /&gt;
=== Mesh ===&lt;br /&gt;
Added a field to store the active subface, similar to the active face.&lt;br /&gt;
&lt;br /&gt;
=== MeshData ===&lt;br /&gt;
 typedef struct MPtexSubface {&lt;br /&gt;
 	void *data;&lt;br /&gt;
 	/* resolution in U and V directions, always a power of two */&lt;br /&gt;
 	int res[2];&lt;br /&gt;
 	int flag, pad;&lt;br /&gt;
 } MPtexSubface;&lt;br /&gt;
 &lt;br /&gt;
 typedef struct MPtex {&lt;br /&gt;
 	struct MPtexSubface subfaces[4];&lt;br /&gt;
 	/* equal to face&amp;#039;s number of vertices */&lt;br /&gt;
 	int totsubface;&lt;br /&gt;
 	/* enum PtexDataType */&lt;br /&gt;
 	char type;&lt;br /&gt;
 	char channels;&lt;br /&gt;
 	char pad[2];&lt;br /&gt;
 } MPtex;&lt;br /&gt;
&lt;br /&gt;
=== Texture ===&lt;br /&gt;
Added a new field to store the name of a Ptex layer, and added a new texture type, TEX_PTEX.&lt;br /&gt;
&lt;br /&gt;
= Patch =&lt;br /&gt;
Again, work in progress!&lt;br /&gt;
&lt;br /&gt;
http://www.pasteall.org/19244/diff&lt;/div&gt;</summary>
		<author><name>wiki&gt;Nicholasbishop</name></author>
		
	</entry>
</feed>