﻿<?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=Extensions%3A2.6%2FPy%2FScripts%2FImport-Export%2FGIMPImageToScene</id>
	<title>Extensions:2.6/Py/Scripts/Import-Export/GIMPImageToScene - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Extensions%3A2.6%2FPy%2FScripts%2FImport-Export%2FGIMPImageToScene"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:2.6/Py/Scripts/Import-Export/GIMPImageToScene&amp;action=history"/>
	<updated>2026-06-03T03:01:39Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Extensions:2.6/Py/Scripts/Import-Export/GIMPImageToScene&amp;diff=101321&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:2.6/Py/Scripts/Import-Export/GIMPImageToScene&amp;diff=101321&amp;oldid=prev"/>
		<updated>2018-06-28T19:40:11Z</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:40時点における版&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=Extensions:2.6/Py/Scripts/Import-Export/GIMPImageToScene&amp;diff=101320&amp;oldid=prev</id>
		<title>wiki&gt;ZanQdo: /* Examples */</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:2.6/Py/Scripts/Import-Export/GIMPImageToScene&amp;diff=101320&amp;oldid=prev"/>
		<updated>2012-07-05T21:53:44Z</updated>

		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Examples&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{ScriptInfo&lt;br /&gt;
|name=Import GIMP Image to Scene (.xcf, .xjt)&lt;br /&gt;
|tooltip=Imports GIMP images and creates planes for each layer, mantaining the original layout and appearance of the 2D composition in 3D space. (help is needed to port xcftools to windows/mac)&lt;br /&gt;
|menu=Group: Import/Export&lt;br /&gt;
|version=2.0&lt;br /&gt;
|blender=2.5 Rev:#33420&lt;br /&gt;
|author=Daniel 'ZanQdo' Salazar&lt;br /&gt;
|license=GPL&lt;br /&gt;
|link=&lt;br /&gt;
|exe=io_import_gimp_image_to_scene.py&lt;br /&gt;
|modules=&lt;br /&gt;
|data=&lt;br /&gt;
|deps='''Requires [http://henning.makholm.net/software xcftools] installed to import the .xcf format'''&lt;br /&gt;
|download=https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons/io_import_gimp_image_to_scene.py&lt;br /&gt;
|bugtracker=http://projects.blender.org/tracker/?func=detail&amp;amp;aid=25136&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
This script imports GIMP .xcf or .xjt files and converts each layer into planes, mantaining their size, location and z-stacking sequence in order to reproduce the layout and appearance of the original 2D file in Blender's 3D view.&lt;br /&gt;
The script also places the objects in blender layers and allows to define arbitrary layer grouping using naming conventions.&lt;br /&gt;
Another important feature of this script is the possibility of reproducing the original layer compositing in Blender's compositor. Using this feature, the script will read each XCF layer's blending mode and will attempt to re-create the compositing using mix nodes, creating the complete nodetree automatically.&lt;br /&gt;
Most of GIMP's original blending modes are supported, although some of them may have a slight different behavior in Blender's compositor.&lt;br /&gt;
&lt;br /&gt;
This script doesn't support GIMP layer masks and will import text layers as images.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
This script gets called through the File-&amp;gt;Import Menu.&lt;br /&gt;
&lt;br /&gt;
[[File:Xcflayers-options.png |right|thumb|250px|]]&lt;br /&gt;
&lt;br /&gt;
==== 3D Layers options ====&lt;br /&gt;
&lt;br /&gt;
; '''Set Camera'''&lt;br /&gt;
: Creates an ortographic camera aligned to the planes reproducing the 2D file appearance&lt;br /&gt;
; '''Opacity Mode'''&lt;br /&gt;
: Controls how original opacity setting will be reproduced in Blender. Options are: ''texture alpha factor, mixer node factor, material alpha value, texture alpha factor''.&lt;br /&gt;
; '''Premultiply Alpha'''&lt;br /&gt;
: The script uses transparent PNG as intermediate format to store the layers as textures, so created images have unassociated (straight) alpha channel. This option allows to premultiply alpha channel on those textures.&lt;br /&gt;
; '''Shadeless Material'''&lt;br /&gt;
: Sets shadeless option to the planes' material&lt;br /&gt;
: '''Layer Separation'''&lt;br /&gt;
: Defines the z-separation between each layer.&lt;br /&gt;
; '''Layer Scale'''&lt;br /&gt;
: Controls how original image size is translated into Blender units.&lt;br /&gt;
: Use this value as a multiplier to modify the relationship 1px=1bu. Default value: ''0,01 (100px=1bu)''&lt;br /&gt;
&lt;br /&gt;
==== Compositing options ====&lt;br /&gt;
&lt;br /&gt;
; '''Setup Node Compositing'''&lt;br /&gt;
: Activates the re-creation of GIMP layers compositing in Blender's compositor and displays related options&lt;br /&gt;
; '''Group Untagged'''&lt;br /&gt;
: Puts every untagged layer in a common renderlayer. &lt;br /&gt;
; '''Layer Viewers'''&lt;br /&gt;
: Adds a viewer to each RenderLayer&lt;br /&gt;
; '''Mixer Viewers'''&lt;br /&gt;
: Adds a viewer to each mixer node, allowing to visualize each layer blending operation.&lt;br /&gt;
&lt;br /&gt;
Layer grouping is performed reading common tags in .xcf layer names.&lt;br /&gt;
&lt;br /&gt;
'''Example:''' ''layer1[background]'', ''layer2[background]'' as layer names in GIMP will result in ''layer1'' and ''layer2'' placed in RenderLayer ''background'' when imported.&lt;br /&gt;
&lt;br /&gt;
XCF or XJT Layers are converted to PNG or JPG images respectively and stored in a directory named ''images[xcf-file-name]''.&lt;br /&gt;
If the .blend file is already saved, this directory is created in the same directory and the paths are set to relative.&lt;br /&gt;
If the .blend file isn't saved, the directory will be created inside the directory that contains the .xcf or .xjt file and image links will be absolute.&lt;br /&gt;
&lt;br /&gt;
=== Installation ===&lt;br /&gt;
&lt;br /&gt;
* Enable in Blender 2.5 Add-Ons panel.&lt;br /&gt;
&lt;br /&gt;
=== Examples ===&lt;br /&gt;
&lt;br /&gt;
Basic Tutorial&lt;br /&gt;
&lt;br /&gt;
&amp;lt;youtube width=&amp;quot;640&amp;quot; height=&amp;quot;480&amp;quot;&amp;gt;fpi9gNjxWzM&amp;lt;/youtube&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TV Commercial created with the script&lt;br /&gt;
&amp;lt;vimeo width=&amp;quot;640&amp;quot; height=&amp;quot;480&amp;quot;&amp;gt;17483237&amp;lt;/vimeo&amp;gt;&lt;/div&gt;</summary>
		<author><name>wiki&gt;ZanQdo</name></author>
		
	</entry>
</feed>