﻿<?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.4%2FPy%2FScripts%2FTemp%2FBlenderToIndigo</id>
	<title>Extensions:2.4/Py/Scripts/Temp/BlenderToIndigo - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=Extensions%3A2.4%2FPy%2FScripts%2FTemp%2FBlenderToIndigo"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:2.4/Py/Scripts/Temp/BlenderToIndigo&amp;action=history"/>
	<updated>2026-07-25T08:11:45Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=Extensions:2.4/Py/Scripts/Temp/BlenderToIndigo&amp;diff=54772&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:2.4/Py/Scripts/Temp/BlenderToIndigo&amp;diff=54772&amp;oldid=prev"/>
		<updated>2018-06-28T17:51:34Z</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:51時点における版&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.4/Py/Scripts/Temp/BlenderToIndigo&amp;diff=54771&amp;oldid=prev</id>
		<title>wiki&gt;Mindrones: moved Extensions:2.4/Py/Scripts/temp/BlenderToIndigo to Extensions:2.4/Py/Scripts/Temp/BlenderToIndigo</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=Extensions:2.4/Py/Scripts/Temp/BlenderToIndigo&amp;diff=54771&amp;oldid=prev"/>
		<updated>2010-10-02T08:57:22Z</updated>

		<summary type="html">&lt;p&gt;moved &lt;a href=&quot;/Extensions:2.4/Py/Scripts/temp/BlenderToIndigo&quot; class=&quot;mw-redirect&quot; title=&quot;Extensions:2.4/Py/Scripts/temp/BlenderToIndigo&quot;&gt;Extensions:2.4/Py/Scripts/temp/BlenderToIndigo&lt;/a&gt; to &lt;a href=&quot;/Extensions:2.4/Py/Scripts/Temp/BlenderToIndigo&quot; title=&quot;Extensions:2.4/Py/Scripts/Temp/BlenderToIndigo&quot;&gt;Extensions:2.4/Py/Scripts/Temp/BlenderToIndigo&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The BlenderToIndigo exporter is an python script to export a Blender scene to a '.igs' file, the file format of [http://www.indigorenderer.com Indigo], a free unbiased ray tracer.&lt;br /&gt;
&lt;br /&gt;
This script is based on the Indigo08S_Export scripts published on [[Dev:2.4/Py/Scripts/Export/Indigo|BlenderDev/Indigo_exporter]] and  [http://www2.indigorenderer.com/joomla/forum/viewtopic.php?t=1817 this thread in the Indigo forums]. It is a complete rewrite, meant to be more easy to maintain and it should be possible to support different versions of Indigo with the same script.&lt;br /&gt;
&lt;br /&gt;
== Download ==&lt;br /&gt;
&lt;br /&gt;
; [[Media:BlenderToIndigo08S_r58.zip]]&lt;br /&gt;
: Exporter version 2.52 for Indigo 0.8 Stable. &lt;br /&gt;
: Changes:&lt;br /&gt;
: * added options to save/load the exporter settings to/from the blender file &lt;br /&gt;
: * added options to the GUI, rearranged the GUI&lt;br /&gt;
: * removed bug about exporting a mesh with uv data&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; [[Media:BlenderToIndigo08S_r52.zip]]&lt;br /&gt;
: Exporter version 2.52 for Indigo 0.8 Stable. &lt;br /&gt;
: Changes: &lt;br /&gt;
: * added support for mesh modifiers, DupliVerts, Duplifaces, DupliFrames, DupliGroups, Curve objecs, Surf Objects, MBall objects&lt;br /&gt;
: * changed spectrum handling&lt;br /&gt;
&lt;br /&gt;
;[[Media:BlenderToIndigo08S_r43.zip]]&lt;br /&gt;
: Exporter version 2.43 for Indigo 0.8 Stable.&lt;br /&gt;
: Initial release on this wiki.&lt;br /&gt;
&lt;br /&gt;
== GUI == &lt;br /&gt;
The GUI looks as follows. Most buttons (tooltips available on all) should be clear for the experienced Indigo user.&lt;br /&gt;
&lt;br /&gt;
[[Image:BlenderToIndigo_Overview.png]]&lt;br /&gt;
&lt;br /&gt;
=== Previewing and editing the materials in a Blender text buffer ===&lt;br /&gt;
This is probably a feature that could use some extra information.&lt;br /&gt;
With the button &amp;quot;Materials to buffer&amp;quot; all materials can be exported to a Blender text buffer. The material code can be reviewed and edited. When &amp;quot;Use material buffer&amp;quot; is enabled, the material code of this buffer will be used instead of the normal material code. Be carefull not to delete or change material names (unless you know what you are doing)&lt;br /&gt;
&lt;br /&gt;
== Blender object export ==&lt;br /&gt;
&lt;br /&gt;
How an object is exported is based on the mesh name.&lt;br /&gt;
The name is first split on &amp;lt;tt&amp;gt;&amp;quot;.&amp;quot;&amp;lt;/tt&amp;gt;.&lt;br /&gt;
If one of the name parts is &amp;lt;tt&amp;gt;&amp;quot;sphere&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;plane&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;rlight&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;meshlight&amp;quot;&amp;lt;/tt&amp;gt; the object will be exported to the appropriate Indigo object. (plane and sphere export are only available a if the button &amp;quot;Use Indigo primitives&amp;quot; is enabled)&lt;br /&gt;
&lt;br /&gt;
[[Image:BlenderToIndigo-Primitives.png|thumb|right|Example of Blender Objects mapped to Indigo primitives based on mesh name]]&lt;br /&gt;
&lt;br /&gt;
Examples:&lt;br /&gt;
* mesh with name &amp;lt;tt&amp;gt;&amp;quot;foo.sphere&amp;quot;&amp;lt;/tt&amp;gt; will be exported to an Indigo sphere (with position and radius from the blender object)&lt;br /&gt;
* mesh with name &amp;lt;tt&amp;gt;&amp;quot;bar.plane.001&amp;quot;&amp;lt;/tt&amp;gt; will be exported to an Indigo infinite plane (with position and orientation from the blender object)&lt;br /&gt;
* mesh with name &amp;lt;tt&amp;gt;&amp;quot;foobar.rlight.bla&amp;quot;&amp;lt;/tt&amp;gt; will be exported to an Indigo rectanglelight (with position, size and orientation from the blender object)&lt;br /&gt;
the mesh with name &amp;lt;tt&amp;gt;&amp;quot;bar.meshlight.002&amp;quot;&amp;lt;/tt&amp;gt; will be exported as a meshlight&lt;br /&gt;
&lt;br /&gt;
Other mesh objects will be exported as normal mesh models.&lt;br /&gt;
One small exception is if the first material of a mesh has emit&amp;gt;0, then it will be exported as a meshlight (to keep a bit compatible with the old exporter)&lt;br /&gt;
&lt;br /&gt;
See [[#Emitting_objects]] for more information how the emitting properties of the rectanglelights and meshlights can be defined.&lt;br /&gt;
&lt;br /&gt;
== Blender material export ==&lt;br /&gt;
There is no easy way to map the settings of a Blender material to a Indigo material/medium. This exporter does a large part of this mapping based on the name of the material and its textures. The type of the material (diffuse, phong, specular,...) is determined by the material name parts. These parts are obtained by splitting the name on &amp;lt;tt&amp;gt;&amp;quot;.&amp;quot;&amp;lt;/tt&amp;gt;. For example the name parts of &amp;lt;tt&amp;gt;&amp;quot;foo.bar.baz&amp;quot;&amp;lt;/tt&amp;gt; are &amp;lt;tt&amp;gt;&amp;quot;foo&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;bar&amp;quot;&amp;lt;/tt&amp;gt; and &amp;lt;tt&amp;gt;&amp;quot;baz&amp;quot;&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Diffuse material ===&lt;br /&gt;
One of the name parts should be &amp;lt;tt&amp;gt;&amp;quot;diff&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;quot;diffuse&amp;quot;&amp;lt;/tt&amp;gt;.&lt;br /&gt;
The settings of this material are defined as follows:&lt;br /&gt;
* &amp;lt;tt&amp;gt;colour&amp;lt;/tt&amp;gt;: the diffuse color of the Blender Material&lt;br /&gt;
&lt;br /&gt;
=== Phong material ===&lt;br /&gt;
One of the name parts should be &amp;lt;tt&amp;gt;&amp;quot;phong&amp;quot;&amp;lt;/tt&amp;gt;. &lt;br /&gt;
The settings of this material are defined as follows:&lt;br /&gt;
* &amp;lt;tt&amp;gt;diffuse&amp;lt;/tt&amp;gt;: the diffuse color of the Blender material&lt;br /&gt;
* &amp;lt;tt&amp;gt;ior&amp;lt;/tt&amp;gt;: the IOR of the Blender material&lt;br /&gt;
* &amp;lt;tt&amp;gt;exponent&amp;lt;/tt&amp;gt;: the hardness of the Blender material multiplied with 20 (the range 0 to 500 is rescaled to 0 to 10000 that way)&lt;br /&gt;
* &amp;lt;tt&amp;gt;fresnel_scale&amp;lt;/tt&amp;gt;: the reflection (ref) of diffuse shader of the Blender material&lt;br /&gt;
&lt;br /&gt;
==== Phong material with nk data (complex ior) ====&lt;br /&gt;
If the material name refers to nk-data (e.g. &amp;lt;tt&amp;gt;&amp;quot;Au.nk&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;Al.nk&amp;quot;&amp;lt;/tt&amp;gt;), this nk-data is used as the complex IOR data.&lt;br /&gt;
&lt;br /&gt;
=== Specular material ===&lt;br /&gt;
One of the name parts should be &amp;lt;tt&amp;gt;&amp;quot;spec&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;quot;specular&amp;quot;&amp;lt;/tt&amp;gt;. &lt;br /&gt;
The settings of this material are defined as follows:&lt;br /&gt;
* &amp;lt;tt&amp;gt;transparent&amp;lt;/tt&amp;gt;: if the alpha value of the Blender material is less than .9, the specular Indigo material will be transparent. &lt;br /&gt;
* &amp;lt;tt&amp;gt;internal_medium_name&amp;lt;/tt&amp;gt;: see [[#Medium]] for information on medium export&lt;br /&gt;
&lt;br /&gt;
=== Glossy transparent ===&lt;br /&gt;
One of the name parts should be &amp;lt;tt&amp;gt;&amp;quot;glossy&amp;quot;&amp;lt;/tt&amp;gt;.&lt;br /&gt;
The settings of this material are defined as follows:&lt;br /&gt;
* &amp;lt;tt&amp;gt;exponent&amp;lt;/tt&amp;gt;: the hardness of the Blender material multiplied with 20 (the range 0 to 500 is rescaled to 0 to 10000 that way)&lt;br /&gt;
* &amp;lt;tt&amp;gt;internal_medium_name&amp;lt;/tt&amp;gt;: see [[#Medium]] for information on medium export&lt;br /&gt;
&lt;br /&gt;
=== Diffuse transmitter ===&lt;br /&gt;
One of the name parts should be &amp;lt;tt&amp;gt;&amp;quot;diff&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;quot;diffuse&amp;quot;&amp;lt;/tt&amp;gt;.&lt;br /&gt;
The settings of this material are defined as follows:&lt;br /&gt;
* &amp;lt;tt&amp;gt;colour&amp;lt;/tt&amp;gt;: the diffuse color of the Blender Material&lt;br /&gt;
&lt;br /&gt;
=== Albedo texture ===&lt;br /&gt;
Uses the image of the first image texture with UV mapping to the color channel.&lt;br /&gt;
Untested, probably only supports images in the same directory of the .igs file.&lt;br /&gt;
&lt;br /&gt;
=== Bump map ===&lt;br /&gt;
Uses the image of the first image texture with UV mapping to the normal channel.&lt;br /&gt;
Untested, probably only supports images in the same directory of the .igs file.&lt;br /&gt;
&lt;br /&gt;
=== Medium ===&lt;br /&gt;
&lt;br /&gt;
The settings of a Indigo medium are defined by the names of the texture slots of the Blender material. These names are split on &amp;lt;tt&amp;gt;&amp;quot;,&amp;quot;&amp;lt;/tt&amp;gt; and then interpreted as &amp;lt;tt&amp;gt;&amp;quot;key=value&amp;quot;&amp;lt;/tt&amp;gt; pairs if possible. With these (key, value) pairs, the settings and options of a medium are determined. See the examples for more clarification.&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;tt&amp;gt;precedence&amp;lt;/tt&amp;gt;: &amp;lt;tt&amp;gt;&amp;quot;prec=15&amp;quot;&amp;lt;/tt&amp;gt;, the default is 10&lt;br /&gt;
* medium type is defined with &amp;lt;tt&amp;gt;&amp;quot;med=basic&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;med=epi&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;quot;med=der&amp;quot;&amp;lt;/tt&amp;gt;, the default it &amp;quot;basic&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==== Epidermis medium ====&lt;br /&gt;
[[Image:BlenderToIndigo-Specular_epidermis.png|thumb|right|Example of a setup with an epidermis medium in a specular material]]&lt;br /&gt;
* &amp;lt;tt&amp;gt;melanin_fraction&amp;lt;/tt&amp;gt;: &amp;lt;tt&amp;gt;&amp;quot;melfrac=0.5&amp;quot;&amp;lt;/tt&amp;gt;, the default is 0.5&lt;br /&gt;
* &amp;lt;tt&amp;gt;melanin_type_blend&amp;lt;/tt&amp;gt;: &amp;lt;tt&amp;gt;&amp;quot;melblend=0.5&amp;quot;&amp;lt;/tt&amp;gt;, the default is 0.5&lt;br /&gt;
&lt;br /&gt;
==== Dermis medium ====&lt;br /&gt;
* &amp;lt;tt&amp;gt;hemoglobin_fraction&amp;lt;/tt&amp;gt;: &amp;lt;tt&amp;gt;&amp;quot;hemo=0.5&amp;quot;&amp;lt;/tt&amp;gt;, the default is 0.5&lt;br /&gt;
&lt;br /&gt;
==== Basic medium ====&lt;br /&gt;
* &amp;lt;tt&amp;gt;ior&amp;lt;/tt&amp;gt;: the IOR of the Blender material&lt;br /&gt;
* &amp;lt;tt&amp;gt;cauchy_b_coeff&amp;lt;/tt&amp;gt;: &amp;lt;tt&amp;gt;&amp;quot;cauch=.1&amp;quot;&amp;lt;/tt&amp;gt;, the default is 0&lt;br /&gt;
* &amp;lt;tt&amp;gt;absorption_coefficient_spectrum&amp;lt;/tt&amp;gt;: can be set with &amp;lt;tt&amp;gt;&amp;quot;abs=rgb&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;abs=uniform&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;abs=blackbody&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;quot;abs=peak&amp;quot;&amp;lt;/tt&amp;gt;. The settings of the spectrum is set with the diffuse colour of the Blender material as described in [[#Spectrum]].&lt;br /&gt;
* subsurface scattering can be enabled by defining &amp;lt;tt&amp;gt;scattering_coefficient_spectrum&amp;lt;/tt&amp;gt; with &amp;lt;tt&amp;gt;&amp;quot;sss=rgb&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;sss=uniform&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;sss=blackbody&amp;quot;&amp;lt;/tt&amp;gt; or &amp;lt;tt&amp;gt;&amp;quot;sss=peak&amp;quot;&amp;lt;/tt&amp;gt;. The settings of the spectrum is set with the specular colour of the Blender material as described in [[#Spectrum]].&lt;br /&gt;
* &amp;lt;tt&amp;gt;phase_function&amp;lt;/tt&amp;gt;: &amp;lt;tt&amp;gt;&amp;quot;sssph=uniform&amp;quot;&amp;lt;/tt&amp;gt; for a uniform phase function or &amp;lt;tt&amp;gt;&amp;quot;sssph=henyey&amp;quot;&amp;lt;/tt&amp;gt; for Henyey-Greenstein phase function, uniform is the default. If Henyey-Greenstein is chosen, the &amp;lt;tt&amp;gt;g_spectrum&amp;lt;/tt&amp;gt; can be defined with &amp;lt;tt&amp;gt;&amp;quot;gspec=uniform&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;gspec=rgb&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;gspec=peak&amp;quot;&amp;lt;/tt&amp;gt;.The settings of the spectrum is set with the mirror colour of the Blender material as described in [[#Spectrum]].&lt;br /&gt;
[[Image:BlenderToIndigo-Glossy_basic.png|thumb|right|Example of a setup with an basic medium with subsurface scattering in a glossy transparent material]]&lt;br /&gt;
&lt;br /&gt;
=== Spectrum ===&lt;br /&gt;
It is possible to define the settings of each spectrum type with at most 3 parameters. The exporter uses therefor a Blender color for the setup of a spectrum:&lt;br /&gt;
* &amp;lt;tt&amp;gt;rgb&amp;lt;/tt&amp;gt;: the RGB values of the Blender color define the RGB components of this spectrum.&lt;br /&gt;
* &amp;lt;tt&amp;gt;uniform&amp;lt;/tt&amp;gt;: the R value of the Blender color is used as uniform value&lt;br /&gt;
* &amp;lt;tt&amp;gt;peak&amp;lt;/tt&amp;gt;: &amp;lt;tt&amp;gt;peak_min=1000*R&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;peak_width=1000*G&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;base_value=0&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;peak_value=100*B&amp;lt;/tt&amp;gt;&lt;br /&gt;
* &amp;lt;tt&amp;gt;blackbody&amp;lt;/tt&amp;gt;: &amp;lt;tt&amp;gt;temperature=10000*R&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;gain=G&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Emitting objects ===&lt;br /&gt;
[[Image:BlenderToIndigo-Meshlight.png|thumb|right|Example ot meshlight setup]]&lt;br /&gt;
&lt;br /&gt;
The emit properties of an object (rectanglelight or meshlight) are defined by its first material. As with the normal materials the spectrum type can be defined with a textureslot &amp;lt;tt&amp;gt;&amp;quot;spectrum=rgb&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;spectrum=blackbody&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;spectrum=peak&amp;quot;&amp;lt;/tt&amp;gt;, &amp;lt;tt&amp;gt;&amp;quot;spectrum=uniform&amp;quot;&amp;lt;/tt&amp;gt;. The settings of the spectrum is set with the diffuse colour of the Blender material as described in [[#Spectrum]].&lt;br /&gt;
&lt;br /&gt;
An additional &amp;lt;tt&amp;gt;efficacy_scale&amp;lt;/tt&amp;gt; can be enabled with the texture slot names &amp;lt;tt&amp;gt;&amp;quot;power=100&amp;quot;&amp;lt;/tt&amp;gt; and &lt;br /&gt;
&amp;lt;tt&amp;gt;&amp;quot;lumeff=20&amp;quot;&amp;lt;/tt&amp;gt;.&lt;/div&gt;</summary>
		<author><name>wiki&gt;Mindrones</name></author>
		
	</entry>
</feed>