<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mitsuba Development Blog &#187; Announcements</title>
	<atom:link href="http://www.mitsuba-renderer.org/devblog/category/announcements/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mitsuba-renderer.org/devblog</link>
	<description></description>
	<lastBuildDate>Sat, 26 Jul 2014 10:26:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=329</generator>
	<item>
		<title>Mitsuba 0.5.0 released</title>
		<link>http://www.mitsuba-renderer.org/devblog/2014/02/mitsuba-0-5-0-released/</link>
		<comments>http://www.mitsuba-renderer.org/devblog/2014/02/mitsuba-0-5-0-released/#comments</comments>
		<pubDate>Wed, 26 Feb 2014 23:26:55 +0000</pubDate>
		<dc:creator><![CDATA[Wenzel Jakob]]></dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.mitsuba-renderer.org/devblog/?p=1042</guid>
		<description><![CDATA[Hello all, much has happened since the last version of Mitsuba, so I figured it&#8217;s time for a new official release! I&#8217;m happy that were quite a few external contributions this time. The new features of version 0.5.0 are: Multichannel renderings: Mitsuba can now perform renderings of images with multiple channels&#8212;these can contain the result [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Hello all,</p>
<p>much has happened since the last version of Mitsuba, so I figured it&#8217;s time for a new official release! I&#8217;m happy that were quite a few external contributions this time.</p>
<p>The new features of version 0.5.0 are:</p>
<ul>
<li>
<p><strong>Multichannel renderings:</strong></p>
<p><center><a href="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2014/02/multichannel.jpg"><img src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2014/02/multichannel-1024x576.jpg" alt="multichannel" width="512" height="288" class="aligncenter size-large wp-image-1046" /></a></center></p>
<p> Mitsuba can now perform renderings of images with multiple channels&mdash;these can contain the result of traditional rendering algorithms or extracted information of visible surfaces (e.g. surface normals or depth). All computation happens in one pass, and the output is written to a dense or tiled multi-channel EXR file. This feature should be quite useful to computer vision researchers who often need synthetic ground truth data to test their algorithms. Refer to the <tt>multichannel</tt> plugin in the documentation for an example.</p>
</li>
<li>
<p><strong>Python integration:</strong> Following in the footsteps of previous versions, this release contains many improvements to the Python language bindings. They are now suitable for building quite complex Python-based applications on top of Mitsuba, ranging from advanced scripted rendering workflows to full-blown visual material editors. The Python chapter of the documentation has been updated with many new recipes that show how to harness this functionality. The new features include</p>
<ul>
<li>
<p><b>PyQt/PySide integration</b>: It is now possible to fully control a rendering process and display partial results using an user interface written in Python. I&#8217;m really excited about this feature myself because it will free me from having to write project-specific user interfaces using C++ in the future. With the help of Python, it&#8217;s simple and fast to whip up custom GUIs to control certain aspects of a rendering (e.g. material parameters). </p>
<p>The documentation includes a short example that instantiates and renders a scene while visually showing the progress and partial blocks being rendered. Due to a very helpful feature of Python called <em>buffer objects</em>, it was possible to implement communication between Mitsuba and Qt in such a way that the user interface directly accesses the image data in Mitsuba&#8217;s internal memory without the overhead of costly copy operations.</p>
<p><center><a href="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2014/02/python_demo.jpg"><img src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2014/02/python_demo-150x150.jpg" alt="python_demo" width="150" height="150" class="aligncenter size-thumbnail wp-image-1053" /></a></center>
<li>
<p><strong>Scripted triangle mesh construction:</strong> The internal representation of triangle shapes can now be accessed and modified via the Python API&mdash;the documentation contains a recipe that shows how to instantiate a simple mesh. Note that this is potentially quite slow when creating big meshes due to the interpreted nature of Python.</p>
</li>
<li>
<p><b>Blender Python integration</b>: An unfortunate aspect of Python-based rendering plugins for Blender is the poor performance when exporting geometry (this is related to the last point). It&#8217;s simply not a good idea to run interpreted code that might have to iterate over millions of vertices and triangles. Mitsuba 0.5.0 also lays the groundwork for future rendering plugin improvements using two new features: after loading the Mitsuba Python bindings into the Blender process, Mitsuba can directly access Blender&#8217;s internal geometry data structures without having to go through the interpreter. Secondly, a rendered image can be passed straight to Blender without having to write an intermediate image file to disk. I look forward to see these features integrated into the <tt>MtsBlend</tt> plugin, where I expect that they will improve the performance noticeably.</p>
</p>
</li>
<li>
<p><b>NumPy integration</b>: Nowadays, many people use NumPy and SciPy to process their scientific data. I&#8217;ve added initial support to facilitate NumPy computations involving image data. In particular, Mitsuba bitmaps can now be accessed as if they were NumPy arrays when the Mitsuba Python bindings are loaded into the interpreter.</p>
<p>For those who prefer to run Mitsuba as an external process but still want to use NumPy for data processing, <a href="http://www.graphics.cornell.edu/~kiderj/">Joe Kider</a> contributed a new feature for the <tt>mfilm</tt> plugin to write out binary NumPy files. These are much more compact and faster to load compared to the standard ASCII output of <tt>mfilm</tt>.</p>
</li>
<li>
<p>Python 3.3 is now consistently supported on all platforms</p>
</li>
<li>
<p>On OSX, the Mitsuba Python bindings can now also be used with <em>non-Apple</em> Python binaries (previously, doing so would result in segmentation faults).</p>
</li>
</ul>
</li>
<li><strong>GUI Improvements:</strong><br/><br/>
<ul>
<li>
<p><strong>Termination of rendering jobs:</strong> This has probably happened to every seasoned user of Mitsuba at some point: an accidental click/drag into the window stops a long-running rendering job, destroying all progress made so far. The renderer now asks for confirmation if the job has been running for more than a few seconds.</p>
<p><center><a href="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2014/02/motion.png"><img src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2014/02/motion.png" alt="motion" width="420" height="173" class="aligncenter size-full wp-image-1050" /></a></center><br/>
<li>
<p><strong>Switching between tabs:</strong> The Alt-Left and Alt-Right have been set up to cycle through the open tabs for convenient visual comparisons between images.</p>
</li>
<li>
<p><strong>Fewer clicks in the render settings:</strong> <a href="http://cg.ibds.kit.edu/kaplanyan/">Anton Kaplanyan</a> contributed a patch that makes all render settings fields directly editable without having to double click on them, saving a lot of unnecessary clicks.</li>
</ul>
</li>
<li>
<p><strong>New <tt>default</tt> tag:</strong> One feature that has been available in Mitsuba since the early days was the ability to leave some scene parameters unspecified in the XML description and supply them via the command line (e.g. the <tt>albedo</tt> parameter in the following snippet). This is convenient but has always had the critical drawback that loading fails with an error message when the parameter is not explicitly specified. Mitsuba 0.5.0 adds a new XML tag named <tt>default</tt> that denotes a fallback value when the parameter is not given on the command line. The following example illustrates how to use it:<br />
<center><a href="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2014/02/default.png"><img src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2014/02/default.png" alt="default" width="431" height="106" class="aligncenter size-full wp-image-1097" /></a></center>
</p>
</li>
<li>
<p><strong>Windows 8.x compatibility:</strong> In a prior blog post, I complained about running into serious OpenGL problems on Windows 8. I have to apologize since it looks like I was the one to blame: Microsoft&#8217;s implementation is fine, and it was in fact a bug in my own code that was causing the issues. With that addressed in version 0.5.0, Mitsuba now also works on Windows 8.
</p>
</li>
<li>
<p><strong>CMake build system:</strong> The last release shipped with an all-new set of dependency libraries, and since then the CMake build system was broken to the point of being completely unusable. <a href="http://www.cs.cornell.edu/~eva5/">Edgar Velázquez-Armendáriz</a> tracked down all issues and submitted a big set of patches that make CMake builds functional again.</p>
</li>
<li>
<p><strong>Other bugfixes and improvements: </strong> <a href="http://www.cs.cornell.edu/~eva5/">Edgar Velázquez-Armendáriz</a> fixed an issue in the initialization code that could lead to crashes when starting Mitsuba on Windows</p>
<p>The command line server executable <tt>mtssrv</tt> was inconvenient to use on Mac OS X because it terminated after any kind of error instead of handling it gracefully. The behavior was changed to match the other platforms.</p>
<p>A previous release contained a fix for an issue in the thin dielectric material model. Unfortunately, I did not apply the correction to all affected parts of the plugin back then. I&#8217;ve since then fixed this and also compared the model against explicitly path traced layers to ensure a correct implementation.</p>
<p><a href="http://cg.ibds.kit.edu/kaplanyan/">Anton Kaplanyan</a> contributed several MLT-related robustness improvements.
</p>
<p>Anton also contributed a patch that resets all statistics counters before starting a new rendering, which is useful when batch processing several scenes or when using the user interface.</p>
<p>Jens Olsson reported some pitfalls in the XML scene description language that could lead to inconsistencies between renderings done in RGB and spectral mode. To address this, the behavior of the <tt>intent</tt> attribute and <tt>spectrum</tt> tag (for constant spectra) was slightly adapted. This only affects users doing spectral renderings, in which case, you may want to take a look at Section 6.1.3 of the new documentation and the associated <a href="https://www.mitsuba-renderer.org/tracker/issues/240">entry on the bug tracker.</a></p>
</li>
</ul>
<p>I&#8217;d also like to announce two new efforts to develop plugins that integrate Mitsuba into modeling applications:</p>
<ul>
<li>
<p><strong>Rhino plugin:</strong> <a href="http://www.tdmsolutions.com/">TDM Solutions SL</a> published the first version of an open source Mitsuba plugin for Rhino 3D and Rhino Gold. The repository of this new plugin can be found <a href="https://github.com/tdmsolutions">on GitHub</a>, and there is also a Rhino 3D <a href="http://v5.rhino3d.com/group/mitsuba-renderer">group page</a> with binaries and documentation. It is based on an <a href="http://www.mitsuba-renderer.org/devblog/2012/10/experimental-rhino-5-exporter/">exporter</a> I wrote a long time ago but adds a complete user interface with preliminary material support. I&#8217;m excited to see where this will go!</li>
<li>
<p><strong>Maya plugin:</strong> Jens Olsson from the Volvo Car Corporation contributed the beginnings of a new Mitsuba integration plugin for Maya. Currently, the plugin exports geometry to Mitsuba&#8217;s <tt>.serialized</tt> format but still requires manual XML input to specify materials. Nonetheless, this should be quite helpful for Mitsuba users who model using Maya. The source code is located in the <a href="https://www.mitsuba-renderer.org/repos/exporters/mitsuba-maya"><tt>mitsuba-maya</tt></a> repository and prebuilt binaries are <a href="https://www.mitsuba-renderer.org/tracker/attachments/download/327/mitsubamaya-0.1.1-win64.zip">here</a>.</p>
</li>
</ul>
<h4>Getting the new version</h4>
<p>Precompiled binaries for many different operating systems are available on the <a href="http://www.mitsuba-renderer.org/download.html">download page</a>. The updated documentation file (249 pages) with coverage of all new features is <a href="http://www.mitsuba-renderer.org/releases/current/documentation.pdf">here</a> (~36 MB), and a lower resolution version is also available  <a href="http://www.mitsuba-renderer.org/releases/current/documentation_lowres.pdf">here</a> (~6MB).</p>
<p>By the way: a little birdie told me that Mitsuba has been used in a bunch SIGGRAPH submissions this year. If all goes well, you can look forward to some truly exciting new features!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mitsuba-renderer.org/devblog/2014/02/mitsuba-0-5-0-released/feed/</wfw:commentRss>
		<slash:comments>55</slash:comments>
		</item>
		<item>
		<title>&#8216;Tis the Season</title>
		<link>http://www.mitsuba-renderer.org/devblog/2013/12/tis-the-season/</link>
		<comments>http://www.mitsuba-renderer.org/devblog/2013/12/tis-the-season/#comments</comments>
		<pubDate>Mon, 16 Dec 2013 09:00:40 +0000</pubDate>
		<dc:creator><![CDATA[Wenzel Jakob]]></dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.mitsuba-renderer.org/devblog/?p=1021</guid>
		<description><![CDATA[My fiancée baked some Mitsuba leaf-shaped Christmas cookies.To cut them out of the dough, she 3D-printed the logo into wax and cast it into silver. Awesome!]]></description>
				<content:encoded><![CDATA[<p>My fiancée baked some Mitsuba leaf-shaped Christmas cookies.<center><a href="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/12/IMG_1148.jpg"><img src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/12/IMG_1148-150x150.jpg" alt="IMG_1148" width="150" height="150" class="aligncenter size-thumbnail wp-image-1022" /></a></center>To cut them out of the dough, she 3D-printed the logo into wax and cast it into silver.</p>
<p><center><a href="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/12/IMG_1149.jpg"><img src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/12/IMG_1149-150x150.jpg" alt="IMG_1149" width="150" height="150" class="aligncenter size-thumbnail wp-image-1023" /></a></center><br />
Awesome! <img src="http://www.mitsuba-renderer.org/devblog/wp-includes/images/smilies/simple-smile.png" alt=":)" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mitsuba-renderer.org/devblog/2013/12/tis-the-season/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Mitsuba 0.4.5 released</title>
		<link>http://www.mitsuba-renderer.org/devblog/2013/11/mitsuba-0-4-5-released/</link>
		<comments>http://www.mitsuba-renderer.org/devblog/2013/11/mitsuba-0-4-5-released/#comments</comments>
		<pubDate>Tue, 12 Nov 2013 12:36:13 +0000</pubDate>
		<dc:creator><![CDATA[Wenzel Jakob]]></dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.mitsuba-renderer.org/devblog/?p=929</guid>
		<description><![CDATA[Hello all, I&#8217;m happy to release a new version of Mitsuba containing many bugfixes and a couple of new features. They are as follows: Height field intersection shape: The heightfield primitive represents a quad that is vertically displaced by an arbitrary texture. All storage and ray intersection computations are done in image space (i.e. without [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Hello all,</p>
<p>I&#8217;m happy to release a new version of Mitsuba containing many bugfixes and a couple of new features. They are as follows:</p>
<ul>
<li><strong>Height field intersection shape</strong>:
<p>
<center style="margin-top: -25pt; margin-bottom:-50px"><br />
<a href="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2012/05/shape_heightfield.jpg"><img src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2012/05/shape_heightfield.jpg" alt="shape_heightfield" width="540"  class="aligncenter size-full" /></a><br />
</center><br />
The <tt>heightfield</tt> primitive represents a quad that is vertically displaced by an arbitrary texture. All storage and ray intersection computations are done in image space (i.e. without creating explicit dense triangle geometry), which leads to significantly better performance. This new plugin was contributed by Miloš Hašan and adapted by Wenzel Jakob. Internally, it relies on the Min-Max MIP Map acceleration data structure.
</p>
</li>
<li><strong>Perspective camera model with radial distortion</strong>:
<p> When rendering images that are supposed to look just like an image taken by a real-world camera, it is important to take lens distortions into account. Mitsuba now has a new <tt>perspective_rdist</tt> plugin that accepts fitted radial distortion parameters from standard camera calibration packages like the <a href="http://www.vision.caltech.edu/bouguetj/calib_doc">MATLAB Camera Calibration toolbox</a> by Jean-Yves Bouguet.
</p>
</li>
<li><strong>Fast image convolution &amp; bloom filter</strong>:
<p>
Mitsuba now supports fast convolutions of large 2D images in frequency space using a <a href="http://en.wikipedia.org/wiki/Convolution_theorem">convolution theorem</a> approach (Fourier Transform implemented via the <a href="http://www.fftw.org/">FFTW</a> library). This is a pretty standard technique, though it sometimes seems like magic.</p>
<p>This fast convolution method used to implement Spencer et al&#8217;s physically-based bloom filter in the <tt>mtsutil tonemap</tt> utility. This can be useful when rendering images where pixels are clipped because they are so bright. Take for instance the rendering below: there are many reflections of the sun, but they are quite hard to perceive due to the limited dynamic range. After convolving the image with an empirical point spread function of the human eye, their brightness is much more apparent.<br />
<center  style="margin-top: -25pt; margin-bottom:-20px"><br />
<a href="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/11/metal_nobloom.jpg"><img src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/11/metal_nobloom.jpg" alt="metal_bloom" width="250" class="wp-image-979" /></a><a href="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/11/metal_bloom.jpg"><img src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/11/metal_bloom.jpg" alt="metal_bloom" width="250" class="wp-image-978" /></a><br />
</center>
</p>
</li>
<li><strong>Initial Retina display support, support for OSX 10.8</strong>:
<p>The latest iteration of OSX and Apple&#8217;s new devices with HiDPI monitors brought countless changes that caused problems with the last version of Mitsuba. This release addresses many of them, though full HiDPI support will still have to wait until Digia fixes <a href="https://bugreports.qt-project.org/browse/QTBUG-34411">several</a> <a href="https://bugreports.qt-project.org/browse/QTBUG-31365">critical</a> <a href="https://bugreports.qt-project.org/browse/QTBUG-23870">OSX-related</a> <a href="https://bugreports.qt-project.org/browse/QTBUG-32789">bugs</a> in Qt5.
</p>
</li>
<li><strong>Texture channel filter</strong>:
<p> The bitmap texture has a new feature to create a grayscale texture from a specified bitmap channel (e.g. alpha). This is useful in conjunction with the <tt>mask</tt> plugin.</p>
</li>
<li><strong>Python bindings</strong>:
<p>Considerably expanded Python binding coverage and better support for recent Python releases. The Windows package now comes with bindings for versions 2.7, 3.2, and 3.3; all Linux packages come with bindings for the Python 2.x and 3.x releases of the respective distributions.</p>
<p>This release also adds convenience functions for quickly converting between Mitsuba bitmaps and Python <tt>bytearray</tt> data structures. This can be useful when shuffling data between Python binding libraries, such as Mitsuba and PyQt/PySide.
</p>
</li>
<li><strong>Multithreading:</strong>
<p> By default, Mitsuba collects lots of statistics while rendering a scene. A key requirement for this process is that it should not impact rendering time in any significant way, and the implementation tries to ensure that this is indeed the case. For instance, to prevent resource contention involving performance counters, Mitsuba replicates them many times so that each thread has access to a unique uncontended memory region.</p>
<p>As it turns out, this replication was not quite working as expected, causing slowdowns on machines with many cores (e.g. >4). This problem has been fixed.</p>
<p>Another threading-related change that has brought small but measurable performance improvements is that worker threads now request CPU affinity on platforms where this is supported (Windows and Linux).
</p>
</li>
<li><strong>Visual Studio 2013 support</strong>:
<p>
As of about a month ago, the new version of Visual Studio is available. Those who develop on Windows will be pleased to hear that it&#8217;s now possible to work on Mitsuba using this compiler&mdash;also, all pesky compilation of dependencies has been done for you. The older visual Studio 2010 will continue to be supported in the future.</p>
<p>To get the most recent version of SCons to work with Visual Studio 2013, a small modification to the SCons code is necessary: change lines 132+ in the file <tt>scons-2.3.0\SCons\Tool\MSCommon\vc.py</tt> so that they read</p>
<pre>_VCVER = [<b>"12.0"</b>, "11.0", "11.0Exp", "10.0", ...
_VCVER_TO_PRODUCT_DIR = {
    <b>'12.0': [
        r'Microsoft\VisualStudio\12.0\Setup\VC\ProductDir'],</b>
    '11.0': [
        r'Microsoft\VisualStudio\11.0\Setup\VC\ProductDir'],</pre>
<p>and so on.
</p>
</li>
<li><strong>New dependency binaries</strong>:
<p>For consistency, all dependency binaries have been brought up to date on Windows and Mac OS X.</p>
</li>
<li><strong>KD-tree improvements when rendering in double precision</strong>:
<p> Due to roundoff errors when converting between single and double precision, faces that were aligned with the top-level bounding box of a kd-tree could get clipped. This caused problems when rendering in double precision, particularly when using the <tt>instance</tt> plugin.
</p>
</li>
<li>
<p>Many smaller robustness fixes and bugfixes in various parts of the renderer&mdash;see the <a href="https://www.mitsuba-renderer.org/repos/mitsuba">repository</a> for details.</p>
</li>
</ul>
<p>I&#8217;ll close with a link to an interesting paper which tackles an extremely difficult measurement problem, to be presented at SIGGRAPH Asia next week. The paper&#8217;s teaser image was rendered using the volumetric path tracer in Mitsuba.</p>
<ul>
<li><span style="font-size:14pt" class="blacklink"><strong><a href="http://vision.seas.harvard.edu/inverse">Inverse Volume Rendering with Material Dictionaries</a></strong> (by <a href="http://people.seas.harvard.edu/~igkiou/">Ioannis Gkioulekas</a>, <a href="http://shuangz.com/">Shuang Zhao</a>, <a href="http://www.cs.cornell.edu/~kb/index.htm">Kavita Bala</a>, <a href="http://www.eecs.harvard.edu/~zickler/">Todd Zickler</a>, and <a href="http://www.eecs.harvard.edu/~zickler/">Anat Levin</a>)</span>
<p style="margin-top: -20pt">
<center style="margin-bottom:-30pt"><br />
<a href="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/11/teaser_hd.jpg"><img src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/11/teaser_hd-1024x576.jpg" alt="teaser_hd" width="540" class="aligncenter wp-image-934" /></a><br />
</center><br />
<strong>Abstract</strong>: Translucent materials are ubiquitous, and simulating their appearance requires accurate physical parameters. However, physically-accurate parameters for scattering materials are difficult to acquire. We introduce an optimization framework for measuring bulk scattering properties of homogeneous materials (phase function, scattering coefficient, and absorption coefficient) that is more accurate, and more applicable to a broad range of materials. The optimization combines stochastic gradient descent with Monte Carlo rendering and a material dictionary to invert the radiative transfer equation. It offers several advantages: (1) it does not require isolating single-scattering events; (2) it allows measuring solids and liquids that are hard to dilute; (3) it returns parameters in physically-meaningful units; and (4) it does not restrict the shape of the phase function using Henyey-Greenstein or any other low-parameter model. We evaluate our approach by creating an acquisition setup that collects images of a material slab under narrow-beam RGB illumination. We validate results by measuring prescribed nano-dispersions and showing that recovered parameters match those predicted by Lorenz-Mie theory. We also provide a table of RGB scattering parameters for some common liquids and solids, which are validated by simulating color images in novel geometric configurations that match the corresponding photographs with less than 5% error.</p>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.mitsuba-renderer.org/devblog/2013/11/mitsuba-0-4-5-released/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
		<item>
		<title>It&#8217;s done!</title>
		<link>http://www.mitsuba-renderer.org/devblog/2013/07/its-done/</link>
		<comments>http://www.mitsuba-renderer.org/devblog/2013/07/its-done/#comments</comments>
		<pubDate>Wed, 31 Jul 2013 17:56:17 +0000</pubDate>
		<dc:creator><![CDATA[Wenzel Jakob]]></dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.mitsuba-renderer.org/devblog/?p=909</guid>
		<description><![CDATA[Things have been a little quiet around here as of late. Writing my thesis, finishing course work, and moving to another country all took a toll on the amount of time left for Mitsuba coding. So I am happy to say that I&#8217;ve finally moved, graduated from Cornell, and just turned in my Ph. D. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Things have been a little quiet around here as of late. Writing my thesis, finishing course work, and moving to another country all took a toll on the amount of time left for Mitsuba coding. So I am happy to say that I&#8217;ve finally moved, graduated from Cornell, and just turned in my Ph. D. thesis!</p>
<p>It&#8217;s called <em>Light Transport on Path-Space Manifolds</em> and is essentially a significantly expanded version of the Manifold Exploration paper (from 13 to 153 pages).</p>
<p>If you&#8217;re interested, click below for a link to the full thesis (20MB PDF).<br />
<center><br />
<a href="http://www.mitsuba-renderer.org/~wenzel/thesis.pdf"><img src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/07/thesis.png" alt="thesis" width="300" height="400" class="aligncenter" style="border:none"/></a><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mitsuba-renderer.org/devblog/2013/07/its-done/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Mitsuba 0.4.4 released</title>
		<link>http://www.mitsuba-renderer.org/devblog/2013/03/mitsuba-0-4-4-released/</link>
		<comments>http://www.mitsuba-renderer.org/devblog/2013/03/mitsuba-0-4-4-released/#comments</comments>
		<pubDate>Fri, 01 Mar 2013 00:59:02 +0000</pubDate>
		<dc:creator><![CDATA[Wenzel Jakob]]></dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.mitsuba-renderer.org/devblog/?p=870</guid>
		<description><![CDATA[Hello all, I&#8217;ve uploaded binaries for the Mitsuba 0.4.4 release. This is mainly a bugfix release to address issues concerning the previous version. There is, however, one new feature: Improved Python bindings for rendering animations It&#8217;s a fairly common operation to render a turntable animation of an object to understand its shape a little better. [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Hello all,</p>
<p>I&#8217;ve uploaded binaries for the Mitsuba 0.4.4 release. This is mainly a bugfix release to address issues concerning the previous version. There is, however, one new feature:</p>
<h4>Improved Python bindings for rendering animations</h4>
<p>
It&#8217;s a fairly common operation to render a turntable animation of an object to understand its shape a little better. So far, doing this in Mitsuba involved many separate invocations of the renderer (one for each frame). Not only is this a bit tedious, but it also wastes a considerable amount of CPU time by loading and preprocessing the same scene over and over again. <b>Python to the rescue!</b>
</p>
<p>In Mitsuba 0.4.4, the Python bindings make this kind of thing straightforward: simply load the scene and render out frames in a for loop. The following piece of code does this, together with motion blur. The work can be spread over the local cores or those on networked machines. Some setup code is omitted for brevity (see the Python chapter in the documentation for all details).</p>
<pre>
# Render a turntable with 360 / 2 = 180 frames
stepSize = 2
for i in range(0,360 / stepSize):
    # Compute the rotation at the beginning and the end of the frame
    rotationCur  = Transform.rotate(Vector(0, 0, 1), i*stepSize);
    rotationNext = Transform.rotate(Vector(0, 0, 1), (i+1)*stepSize);

    # Compute matching camera-to-world transformations
    trafoCur  = Transform.lookAt(rotationCur  * Point(0,-6,10),
        Point(0), rotationCur  * Vector(0, 1, 0))
    trafoNext = Transform.lookAt(rotationNext * Point(0,-6,10),
        Point(0), rotationNext * Vector(0, 1, 0))

    # Create an interpolating animated transformation
    atrafo = AnimatedTransform()
    atrafo.appendTransform(0, trafoCur)
    atrafo.appendTransform(1, trafoNext)
    atrafo.sortAndSimplify()
    sensor.setWorldTransform(atrafo) # Assign to the sensor

    # Submit the frame to the scheduler and wait for it to finish
    scene.setDestinationFile('frame_%03i.png' % i)
    job = RenderJob('job_%i' % i, scene, queue)
    job.start()
    queue.waitLeft(0)
    queue.join()
</pre>
<p>This is basically a 1:1 mapping of the C++ API. At this point, a good amount of the interfaces have been exposed, making it fun to prototype stuff while subjected to the amazing <a href="http://xkcd.com/353">weightlessness</a> of Python. Here, you can see an example of a video created this way (a turntable of the material test ball with a bumpy metal BSDF):<br />
<center><br />
<iframe src="http://player.vimeo.com/video/60355658" width="500" height="281" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe><br />
</center>
</p>
<h4>Other changes</h4>
<ul>
<li>
<p><b>Photon mapper</b>: In previous releases, the standard photon mapper could miss certain specular paths compared to the path tracer. They are now correctly accounted for.</p>
</li>
<li>
<p><b><tt>thindielectric</tt></b>: The thindielectric plugin computed incorrect transmittance values in certain situations; this is now fixed.</b></li>
<li>
<p><b>Robustness</b>: Improved numerical robustness when dealing with specular+diffuse materials, such as &#8220;plastic&#8221;.</b></li>
<li>
<p><b><tt>twosided</tt></b>: Fixed cases where the twosided plugin did not make a material two-sided as expected.</b></li>
<li>
<p><b>Instancing</b>: The shading computed shading frame was incorrect for non-rigid transformations.</b></li>
<li>
<p><b>Cube shape</b>: This recently added shape is now centered at the origin by default, to be consistent with the way that other shapes in Mitsuba work. This will require an extra translation in scenes which are already using the cube shape.</p>
</li>
<li>
<p><b>TLS cleanup logic</b>: on some platforms, the <tt>mtssrv</tt> binary crashed with an exception after finishing a rendering job, due to some issues with cleaning up thread-local storage.</b></li>
<li>
<p>Other minor fixes and improvements, which are listed in the <a href="https://www.mitsuba-renderer.org/hg/mitsuba/">HG history</a></p>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.mitsuba-renderer.org/devblog/2013/03/mitsuba-0-4-4-released/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Mitsuba 0.4.3 released</title>
		<link>http://www.mitsuba-renderer.org/devblog/2013/01/mitsuba-0-4-3-released/</link>
		<comments>http://www.mitsuba-renderer.org/devblog/2013/01/mitsuba-0-4-3-released/#comments</comments>
		<pubDate>Tue, 29 Jan 2013 22:31:22 +0000</pubDate>
		<dc:creator><![CDATA[Wenzel Jakob]]></dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.mitsuba-renderer.org/devblog/?p=786</guid>
		<description><![CDATA[Hello all, I&#8217;ve just uploaded binaries for a new version of Mitsuba. This release and the next few ones will focus on catching up with a couple of more production-centric features. This time it&#8217;s motion blur &#8212; the main additions are: Moving light sources The first image below demonstrates a moving point light source in [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Hello all,</p>
<p>I&#8217;ve just uploaded binaries for a new version of Mitsuba. This release and the next few ones will focus on catching up with a couple of more production-centric features. This time it&#8217;s motion blur &#8212; the main additions are:</p>
<h4>Moving light sources</h4>
<p>The first image below demonstrates a moving point light source in a partially metallic Cornell box moving along a <a href="http://en.wikipedia.org/wiki/Rose_(mathematics)">Rose curve</a>. Because it&#8217;s rendered with a bidirectional path tracer, it is possible to see the actual light source. Due to the defocus blur of the camera, the point light shows up as a ribbon instead of just a curve.</p>
<div id="attachment_787" style="width: 310px" class="wp-caption aligncenter"><a href="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2012/11/cbox_spiral.jpg"><img class="size-medium wp-image-787" title="cbox_spiral" alt="" src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2012/11/cbox_spiral-300x300.jpg" width="300" height="300" /></a><p class="wp-caption-text">Painting with light using a moving point source</p></div>
<p>This can be fairly useful even when rendering static scenes, since it enables building things like linear light sources that Mitsuba doesn&#8217;t natively implement.<br />
Animating a light source is as simple as replacing its <tt>toWorld</tt> transformation</p>
<pre>&lt;transform name="toWorld"&gt;
 ... emitter-to-world transformation ...
&lt;/transform&gt;</pre>
<p>with the following new syntax</p>
<pre>&lt;animation name="toWorld"&gt;
   &lt;transform time="0"&gt;
     ... transformation at time 0 ...
   &lt;/transform&gt;

   &lt;transform time="1"&gt;
     ... transformation at time 1 ...
   &lt;/transform&gt;
&lt;/animation&gt;</pre>
<p>Mitsuba uses linear interpolation for scaling and translation and spherical linear interpolation for rotation. Higher-order interpolation or more detailed animations can be approximated by simply providing multiple linear segments per frame.</p>
<h4>Moving sensors</h4>
<p>Moving sensors work exactly the same way; an example is shown below. All new animation features also provide interactive visualizations in the graphical user interface (medieval scene courtesy of Johnathan Good).<br />
<center><br />

<a href='http://www.mitsuba-renderer.org/devblog/2013/01/mitsuba-0-4-3-released/blur_render/'><img width="150" height="150" src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/01/blur_render-150x150.jpg" class="attachment-thumbnail" alt="Rendering" /></a>
<a href='http://www.mitsuba-renderer.org/devblog/2013/01/mitsuba-0-4-3-released/blur_preview/'><img width="150" height="150" src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/01/blur_preview-150x150.jpg" class="attachment-thumbnail" alt="Interactive preview" /></a>
<br />
</center></p>
<h4>Objects undergoing linear motion</h4>
<p>Objects can be animated with the same syntax, but this is currently restricted to linear motion. I wanted to include support for nonlinear deformations in this release, but since it took longer than expected, it will have to wait until the next version.<br />
<div id="attachment_832" style="width: 310px" class="wp-caption aligncenter"><a href="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/01/dragon.jpg"><img src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/01/dragon-300x224.jpg" alt="Beware the dragon" width="300" height="224" class="size-medium wp-image-832" /></a><p class="wp-caption-text">Beware the dragon (model courtesy of XYZRGB)</p></div></p>
<h4>Render-time annotations</h4>
<p>The <tt>ldrfilm</tt> and <tt>hdrfilm</tt> now support render-time annotations to facilitate record keeping. Annotations are used to embed useful information inside a rendered image so that this information is later available to anyone viewing the image. They can either be placed into the image metadata (i.e. without disturbing the rendered image) or &#8220;baked&#8221; into the image as a visible label. Various keywords can be used to collect all relevant information, e.g.:
<pre style="font-size:90%"> &lt;string name="label[10, 10]" value="Integrator: $integrator['type'],
   $film['width']x$film['height'], $sampler['sampleCount'] spp,
   render time: $scene['renderTime'], memory: $scene['memUsage']"/&gt;
</pre>
<p>Providing the above parameter to <tt>hdrfilm</tt> has the following result:<br />
<center><a href="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/01/annotation_example.jpg"><img class="aligncenter size-medium wp-image-805" alt="annotation_example" src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/01/annotation_example-300x225.jpg" width="300" height="225" /></a></center></p>
<h4>Hiding directly visible emitters</h4>
<p>Several rendering algorithms in Mitsuba now have a feature to hide directly visible light sources (e.g. environment maps or area lights). While not particularly realistic, this feature is convenient for removing a background from a rendering so that it can be pasted into a differently-colored document. Together with an improved alpha channel computation for participating media, things like the following are now possible:<br />
<center><br />

<a href='http://www.mitsuba-renderer.org/devblog/2013/01/mitsuba-0-4-3-released/integrator_volpath_normal/'><img width="150" height="150" src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/01/integrator_volpath_normal-150x150.jpg" class="attachment-thumbnail" alt="Original image" /></a>
<a href='http://www.mitsuba-renderer.org/devblog/2013/01/mitsuba-0-4-3-released/integrator_volpath_hideemitters/'><img width="150" height="150" src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/01/integrator_volpath_hideemitters-150x150.jpg" class="attachment-thumbnail" alt="Composited onto a white background" /></a>
<br />
</center></p>
<h4>Improved instancing</h4>
<p>While Mitsuba has supported instancing for a while, there were still a few lurking corner-cases that could potentially cause problems. In a recent <a href="http://naml.us/~irving/papers/irving_segerman2012_fractal.pdf">paper</a> on developing fractal surfaces in three dimensions, <a href="http://naml.us/~irving/">Geoffrey Irving</a> and <a href="http://www.segerman.org/">Henry Segerman</a> used Mitsuba to render heavy scenes (100s of millions of triangles) by instancing repeated substructures&mdash; this was a good incentive to fix the problems once and for all. The revamped instancing plugin now also supports non-rigid transformations. The two renderings from the paper shown below illustrate a 2D Gospel curve developed up to level 5 along the third dimension:<br />
<center><br />

<a href='http://www.mitsuba-renderer.org/devblog/2013/01/mitsuba-0-4-3-released/shape_instance_fractal_top/'><img width="150" height="150" src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/01/shape_instance_fractal_top-150x150.jpg" class="attachment-thumbnail" alt="Top view" /></a>
<a href='http://www.mitsuba-renderer.org/devblog/2013/01/mitsuba-0-4-3-released/shape_instance_fractal_bot/'><img width="150" height="150" src="http://www.mitsuba-renderer.org/devblog/wp-content/uploads/2013/01/shape_instance_fractal_bot-150x150.jpg" class="attachment-thumbnail" alt="Bottom view" /></a>
<br />
</center></p>
<h4>Miscellaneous</h4>
<ul>
<li>
<p><b>Threading on Windows</b>: <a href="http://www.cs.cornell.edu/~eva5/">Edgar Velázquez-Armendáriz</a> fixed the thread local storage (TLS) implementation and a related race condition that previously caused occasional deadlocks and crashes on Windows</p>
</li>
<li>
<p><b>Caching</b>: Edgar added a caching mechanism to the <tt>serialized</tt> plugin, which significantly accelerates the very common case where many shapes are loaded from the same file in sequence.</p>
</li>
<li>
<p><b>File dialogs</b>: Edgar upgraded most of the &#8220;File/Open&#8221;-style dialogs in Mitsuba so that they use the native file browser on Windows (the generic dialog provided by Qt is rather ugly)</li>
<li>
<p><b>Python</b>: The Python bindings are now much easier to load on OSX. Also, in the new release, further Mitsuba core functions are exposed.</p>
</li>
<li>
<p><b>Blender interaction</b>: Fixed a issue where GUI tabs containing scenes created in Blender could not be cloned</p>
</li>
<li>
<p><b>Non-uniform scales</b>: All triangle mesh-based shapes now permit non-uniform scales</p>
</li>
<li>
<p><b>NaNs and friends</b>: Increased resilience against various numerical corner cases</p>
</li>
<li>
<p><b>Index-matched participating media</b>: Fixed an unfortunate regression in <tt>volpath</tt> regarding index-matched media that was accidentally introduced in 0.4.2</p>
</li>
<li>
<p><b>roughdiffuse</b>: Fixed texturing support in the <tt>roughdiffuse</tt> plugin</p>
</li>
<li>
<p><b>Photon mapping</b>: Fixed some inaccuracies involving participating media when rendered by the photon mapper and the Beam Radiance Estimate</p>
</li>
<li>
<p><b>Conductors</b>: Switched Fresnel reflectance computations for conductors to the exact expressions predicted by geometric optics (an approximation was previously used)</p>
</li>
<li>
<p><b>New cube shape</b>: Added a <tt>cube</tt> shape plugin for convenience. This does exactly what one would expect.</p>
</li>
<li>
<p><b>The rest</b>: As usual, a large number of smaller bugfixes and improvements were below the threshold and are thus not listed individually&mdash;the repository log has more details.</p>
</li>
</ul>
<h4>Where to get it</h4>
<p>The documentation was updated as well and has now grown to over 230 pages. Get it <a href="http://www.mitsuba-renderer.org/docs.html">here</a>.<br />
The new release is available on the <a href="http://www.mitsuba-renderer.org/download.html">download page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mitsuba-renderer.org/devblog/2013/01/mitsuba-0-4-3-released/feed/</wfw:commentRss>
		<slash:comments>27</slash:comments>
		</item>
		<item>
		<title>Mitsuba 0.4.2 released</title>
		<link>http://www.mitsuba-renderer.org/devblog/2012/10/mitsuba-0-4-2-released/</link>
		<comments>http://www.mitsuba-renderer.org/devblog/2012/10/mitsuba-0-4-2-released/#comments</comments>
		<pubDate>Wed, 31 Oct 2012 21:17:56 +0000</pubDate>
		<dc:creator><![CDATA[Wenzel Jakob]]></dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.mitsuba-renderer.org/devblog/?p=772</guid>
		<description><![CDATA[The next bug-fix release of Mitsuba is available, which has the following improvements: Volumetric path tracers: improved sampling when dealing with index-matched medium transitions. This is essentially a re-implementation of an optimization that Mitsuba 0.3.1 already had, but which got lost in the bidirectional rewrite. Batch tonemapper: due to an unfortunate bug, the batch tonemapper [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>The next bug-fix release of Mitsuba is available, which has the following improvements:</p>
<ul>
<li>
<p><b>Volumetric path tracers</b>: improved sampling when dealing with index-matched medium transitions. This is essentially a re-implementation of an optimization that Mitsuba 0.3.1 already had, but which got lost in the bidirectional rewrite.</p>
</li>
<li>
<p><b>Batch tonemapper</b>: due to an unfortunate bug, the batch tonemapper in the last release produced invalid results for images containing an alpha channel. This is now fixed.</p>
</li>
<li>
<p><b>Shapes</b>: corrected some differential geometry issues in the &#8220;cylinder&#8221; and &#8220;rectangle&#8221; shapes.</p>
</li>
<li>
<p><b>MLT</b>: fixed 2-stage MLT, which was producing incorrect results.</p>
</li>
<li>
<p><b>MEPT</b>: fixed the handling of directional light sources.</p>
</li>
<li>
<p><b>Robustness</b>: got rid of various corner-cases that could produce NaNs.</p>
</li>
<li>
<p><b>Filenames</b>: to facilitate loading scenes created on Windows/OSX, the Linux version now resolves files case-insensitively if they could not be found after a case-sensitive search.</p>
</li>
<li>
<p><b>Python</b>: added Python bindings for shapes and triangle meshes. The Python plugin should now be easier to load (previously, this was unfortunately rather difficult on several platforms). The documentation was also given an overhaul.</p>
</li>
<li>
<p><b>Particle tracing</b>: I&#8217;ve decided to disable the adjoint BSDF for shading normals in the particle tracer, since it causes an unacceptable amount of variance in scenes containing poorly tesselated geometry. This affects the plugins <tt>ptracer</tt>, <tt>ppm</tt>, <tt>sppm</tt> and <tt>photonmapper</tt>. See the <a href="https://www.mitsuba-renderer.org/hg/mitsuba/rev/b766e85cb429">commit</a> for further details.
</p>
</li>
<li>
<p><b>Subsurface scattering</b>: fixed parallel network renderings involving the dipole model.</p>
</li>
<li>
<p><b>Homogeneous medium &#038; dipole</b>: added many more material presets by Narasimhan et al.</p>
</li>
<li>
<p><b>OBJ loader</b>: further robustness improvements to the OBJ loader and the associated MTL material translator.</p>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.mitsuba-renderer.org/devblog/2012/10/mitsuba-0-4-2-released/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Experimental Rhino 5 exporter</title>
		<link>http://www.mitsuba-renderer.org/devblog/2012/10/experimental-rhino-5-exporter/</link>
		<comments>http://www.mitsuba-renderer.org/devblog/2012/10/experimental-rhino-5-exporter/#comments</comments>
		<pubDate>Wed, 10 Oct 2012 22:54:06 +0000</pubDate>
		<dc:creator><![CDATA[Wenzel Jakob]]></dc:creator>
				<category><![CDATA[Announcements]]></category>

		<guid isPermaLink="false">http://www.mitsuba-renderer.org/devblog/?p=725</guid>
		<description><![CDATA[I&#8217;ve been hacking on a Mitsuba plugin for Rhino 5 and have some preliminary results to share. Disclaimer: This is an early experimental integration plugin—if you don&#8217;t like to edit Mitsuba XML files by hand, it probably won&#8217;t be useful to you. The plugin currently only exports geometry and does not support editing materials. I am [&#8230;]]]></description>
	