﻿<?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%3A2.4%2FSource%2FBlender_File_Format</id>
	<title>Dev:2.4/Source/Blender File Format - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Dev%3A2.4%2FSource%2FBlender_File_Format"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:2.4/Source/Blender_File_Format&amp;action=history"/>
	<updated>2026-05-11T14:38:16Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Dev:2.4/Source/Blender_File_Format&amp;diff=42346&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:2.4/Source/Blender_File_Format&amp;diff=42346&amp;oldid=prev"/>
		<updated>2018-06-28T17:45:30Z</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:45時点における版&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:2.4/Source/Blender_File_Format&amp;diff=42345&amp;oldid=prev</id>
		<title>wiki&gt;Mindrones bot: Bot: Fixing redirects; cosmetic changes</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Dev:2.4/Source/Blender_File_Format&amp;diff=42345&amp;oldid=prev"/>
		<updated>2011-06-19T17:14:05Z</updated>

		<summary type="html">&lt;p&gt;Bot: Fixing redirects; cosmetic changes&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Intro=&lt;br /&gt;
&lt;br /&gt;
This document tries to give some insight in how a .blend is written and read.&lt;br /&gt;
&lt;br /&gt;
= outline =&lt;br /&gt;
&lt;br /&gt;
* important files?&lt;br /&gt;
* general write / read scheme&lt;br /&gt;
* example write step by step&lt;br /&gt;
* example read step by step&lt;br /&gt;
* Additional Resources&lt;br /&gt;
&lt;br /&gt;
== important files ==&lt;br /&gt;
&lt;br /&gt;
Everything in [http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenloader/?root=bf-blender blenloader]&lt;br /&gt;
&lt;br /&gt;
== read/write scheme ==&lt;br /&gt;
&lt;br /&gt;
* write. Convert below code in a more readable state. Obviously, include subsections where needed.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;c&amp;quot;&amp;gt;&lt;br /&gt;
wd= bgnwrite(handle, compare, current, write_flags);&lt;br /&gt;
&lt;br /&gt;
sprintf(buf, &amp;quot;BLENDER%c%c%.3d&amp;quot;, (sizeof(void*)==8)?'-':'_', (G.order==B_ENDIAN)?'V':'v', G.version);&lt;br /&gt;
mywrite(wd, buf, 12);&lt;br /&gt;
&lt;br /&gt;
write_renderinfo(wd);&lt;br /&gt;
&lt;br /&gt;
if(current==NULL)&lt;br /&gt;
write_screens (wd, &amp;amp;G.main-&amp;gt;screen);	// no UI save&lt;br /&gt;
write_scenes	(wd, &amp;amp;G.main-&amp;gt;scene);&lt;br /&gt;
write_curves	(wd, &amp;amp;G.main-&amp;gt;curve);&lt;br /&gt;
write_mballs	(wd, &amp;amp;G.main-&amp;gt;mball);&lt;br /&gt;
write_images	(wd, &amp;amp;G.main-&amp;gt;image);&lt;br /&gt;
write_cameras (wd, &amp;amp;G.main-&amp;gt;camera);&lt;br /&gt;
write_lamps	 (wd, &amp;amp;G.main-&amp;gt;lamp);&lt;br /&gt;
write_lattices (wd, &amp;amp;G.main-&amp;gt;latt);&lt;br /&gt;
write_ikas	 (wd, &amp;amp;G.main-&amp;gt;ika);&lt;br /&gt;
write_vfonts	(wd, &amp;amp;G.main-&amp;gt;vfont);&lt;br /&gt;
write_ipos	 (wd, &amp;amp;G.main-&amp;gt;ipo);&lt;br /&gt;
write_keys	 (wd, &amp;amp;G.main-&amp;gt;key);&lt;br /&gt;
write_worlds	(wd, &amp;amp;G.main-&amp;gt;world);&lt;br /&gt;
write_texts	 (wd, &amp;amp;G.main-&amp;gt;text);&lt;br /&gt;
write_sounds	(wd, &amp;amp;G.main-&amp;gt;sound);&lt;br /&gt;
write_groups	(wd, &amp;amp;G.main-&amp;gt;group);&lt;br /&gt;
write_armatures(wd, &amp;amp;G.main-&amp;gt;armature);&lt;br /&gt;
write_actions (wd, &amp;amp;G.main-&amp;gt;action);&lt;br /&gt;
write_objects (wd, &amp;amp;G.main-&amp;gt;object);&lt;br /&gt;
write_materials(wd, &amp;amp;G.main-&amp;gt;mat);&lt;br /&gt;
write_textures (wd, &amp;amp;G.main-&amp;gt;tex);&lt;br /&gt;
write_meshs	 (wd, &amp;amp;G.main-&amp;gt;mesh);&lt;br /&gt;
write_libraries(wd, G.main-&amp;gt;next);&lt;br /&gt;
&lt;br /&gt;
write_global(wd);&lt;br /&gt;
if (write_user_block) {&lt;br /&gt;
write_userdef(wd);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
/* dna as last, because (to be implemented) test for which structs are written */&lt;br /&gt;
writedata(wd, DNA1, wd-&amp;gt;sdna-&amp;gt;datalen, wd-&amp;gt;sdna-&amp;gt;data);&lt;br /&gt;
&lt;br /&gt;
/* end of file */&lt;br /&gt;
memset(&amp;amp;bhead, 0, sizeof(BHead));&lt;br /&gt;
bhead.code= ENDB;&lt;br /&gt;
mywrite(wd, &amp;amp;bhead, sizeof(BHead));&lt;br /&gt;
&lt;br /&gt;
blo_join_main(&amp;amp;mainlist);&lt;br /&gt;
G.main= mainlist.first;&lt;br /&gt;
&lt;br /&gt;
return endwrite(wd);&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
== Example Write Step by Step (in progress) -- [[DeveloperWikiJeremyWall#25Sep104|JW]] ==&lt;br /&gt;
''' The file write all starts in the int BLO_write_file(char '''dir, int write_flags, char ''''''error_r) function. The function is found in writefile.c and declared in BLO_writefile.h. This is the entry point for the file writing code.&lt;br /&gt;
&lt;br /&gt;
* Here is the call tree for a sample file write. (in progress) -- [[DeveloperWikiJeremyWall#25Sep104|JW]]&lt;br /&gt;
** WriteFileCallGraph&lt;br /&gt;
&lt;br /&gt;
== Additional Resources ==&lt;br /&gt;
&lt;br /&gt;
* [[Dev:2.4/Source/Blender File Format/Gzip|Gzipped .blend files]]&lt;br /&gt;
* [[Dev:Source/Development/Projects/Blender File Format/XML|BlenderXML proposal]]&lt;br /&gt;
* [[Dev:Doc|Blender Struct Documentation]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Script]]&lt;/div&gt;</summary>
		<author><name>wiki&gt;Mindrones bot</name></author>
		
	</entry>
</feed>