﻿<?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%3ASource%2FPhysics%2FPoint_Cache</id>
	<title>Dev:Source/Physics/Point Cache - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3ASource%2FPhysics%2FPoint_Cache"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Source/Physics/Point_Cache&amp;action=history"/>
	<updated>2026-05-14T09:06:15Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:Source/Physics/Point_Cache&amp;diff=58560&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Source/Physics/Point_Cache&amp;diff=58560&amp;oldid=prev"/>
		<updated>2018-06-28T17:54:01Z</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日 (木) 17:54時点における版&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:Source/Physics/Point_Cache&amp;diff=58559&amp;oldid=prev</id>
		<title>2010年4月3日 (土) 12:58にwiki&gt;Terrywallworkによる</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:Source/Physics/Point_Cache&amp;diff=58559&amp;oldid=prev"/>
		<updated>2010-04-03T12:58:59Z</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;==Point Cache==&lt;br /&gt;
&lt;br /&gt;
Below is an attempt to define a clear set of rules to make working with baking and caching for physics systems usable. Everything is subject to change as this is implemented and tested to actually work or not.&lt;br /&gt;
&lt;br /&gt;
====User Interface====&lt;br /&gt;
* Bake + Free Cache / Free Bake&lt;br /&gt;
* First frame&lt;br /&gt;
* Last frame&lt;br /&gt;
&lt;br /&gt;
====Rules====&lt;br /&gt;
* The user should never see outdated simulation results without manually pressing a Bake.&lt;br /&gt;
* Any change to the object or it's data, direct or indirect will clear it's point cache unless it is protected.&lt;br /&gt;
* Before the start time, the modifier does nothing. After the end time, the modifier displays the last frame, if it is cached. Otherwise, it does nothing.&lt;br /&gt;
* Avoid settings flags to do some operation like clearing a point cache or resetting a simulation later. If something has to be done, it should be done immediately.&lt;br /&gt;
&lt;br /&gt;
====Logic====&lt;br /&gt;
&lt;br /&gt;
 sim frame is set to INVALID on creation, clear and file load&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
 if mesh structure changed compared to simulation data:&lt;br /&gt;
 	sim frame = INVALID&lt;br /&gt;
 else if current frame &amp;lt; first frame:&lt;br /&gt;
 	sim frame = INVALID&lt;br /&gt;
 else:&lt;br /&gt;
 	if current frame &amp;gt; last frame:&lt;br /&gt;
 		current frame = last frame&lt;br /&gt;
 &lt;br /&gt;
 	if simulation not initialized:&lt;br /&gt;
 		initialize simulation&lt;br /&gt;
 &lt;br /&gt;
 	if read current frame from cache:&lt;br /&gt;
 		sim frame = current frame&lt;br /&gt;
 	else if baked/protected:&lt;br /&gt;
 		sim frame = INVALID&lt;br /&gt;
 	else if current frame == first frame:&lt;br /&gt;
 		sim frame = current frame&lt;br /&gt;
 		write to cache&lt;br /&gt;
 	else if current frame - sim frame == 1:&lt;br /&gt;
 		sim frame = current frame&lt;br /&gt;
 		simulate 1 frame&lt;br /&gt;
 		write to cache&lt;br /&gt;
 	else:&lt;br /&gt;
 		sim frame = INVALID&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Script]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Terrywallwork</name></author>
		
	</entry>
</feed>