﻿<?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=%E5%88%A9%E7%94%A8%E8%80%85%3AJehuty%2FGSoC_2013%2FResults%2FRendering_VDB_Volumes</id>
	<title>利用者:Jehuty/GSoC 2013/Results/Rendering VDB Volumes - 版の履歴</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.blender.jp/index.php?action=history&amp;feed=atom&amp;title=%E5%88%A9%E7%94%A8%E8%80%85%3AJehuty%2FGSoC_2013%2FResults%2FRendering_VDB_Volumes"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Jehuty/GSoC_2013/Results/Rendering_VDB_Volumes&amp;action=history"/>
	<updated>2026-10-02T11:38:43Z</updated>
	<subtitle>このウィキのこのページに関する変更履歴</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Jehuty/GSoC_2013/Results/Rendering_VDB_Volumes&amp;diff=143777&amp;oldid=prev</id>
		<title>Yamyam: 1版 をインポートしました</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Jehuty/GSoC_2013/Results/Rendering_VDB_Volumes&amp;diff=143777&amp;oldid=prev"/>
		<updated>2018-06-28T21:04:29Z</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日 (木) 21:04時点における版&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=%E5%88%A9%E7%94%A8%E8%80%85:Jehuty/GSoC_2013/Results/Rendering_VDB_Volumes&amp;diff=143776&amp;oldid=prev</id>
		<title>2013年9月25日 (水) 12:56にwiki&gt;Jehutyによる</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:Jehuty/GSoC_2013/Results/Rendering_VDB_Volumes&amp;diff=143776&amp;oldid=prev"/>
		<updated>2013-09-25T12:56:50Z</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;=== Results - Rendering VDB Volumes ===&lt;br /&gt;
&lt;br /&gt;
This project was necessarily experimental since volume shading isn't available yet for the Cycles renderer. However, the project envisioned considerably more than was delivered, so here's a summary:&lt;br /&gt;
&lt;br /&gt;
===== The promise: What we hoped we'd have =====&lt;br /&gt;
* Reading from and writing to VDB files - basically, importing and exporting volumetric data;&lt;br /&gt;
* 3D texture lookup on the VDB volumetric data, to be rendered by Cycles;&lt;br /&gt;
* Creation of a Cycles node for the handling of VDB data and metadata;&lt;br /&gt;
* Tentative motion blur support (filtered lookup);&lt;br /&gt;
&lt;br /&gt;
===== The reality: What actually got done =====&lt;br /&gt;
* Reading from a VDB file - file path must be provided to an OSL shader, so it can be passed for lookup;&lt;br /&gt;
* 3D texture lookup, with some interpolation woes, as discussed below;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Texture Lookup: Interpolation and Sampling =====&lt;br /&gt;
&lt;br /&gt;
Two modes of texture lookup on VDB structures were implemented: &lt;br /&gt;
&lt;br /&gt;
(i) a naive one, obtaining the value of an individual voxel at a time, with no cache, without a choice of interpolation method, in which the queried point is transformed to the nearest discrete coordinates in the volume space (essentially, a neearest neighbor approach).&lt;br /&gt;
Problems are the lookup is slower, and the resulting image is significantly blocky, but otherwise, the lookup works as expected.&lt;br /&gt;
&lt;br /&gt;
(ii) a more sophisticated alternative, obtaining values with the help of an accessor class, which has a cache, and supports three interpolation methods, namely nearest neighbor, trilinear and quadratic. Results are smoother, but for reasons I don't yet fully understand, the sampling process isn't incremental as I expected, and, as a result, the final image is often worse than unfinished renders. I'm still working on a solution, and will comment on my findings even after the program is over.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
One example is shown below, rendering the Smoke.vdb texture ([http://www.openvdb.org/download/ file can be found here]) on a plane. In effect, what we see is a slice of the volumetric data. On the left, the texture is shown against a plane using the VDB Viewer utility, and on the right, the same file, as rendered on the Blender viewport.&lt;br /&gt;
 &lt;br /&gt;
[[{{ns:6}}:Smoke_vdbView.jpg|Smoke texture viewed from VDB Viewer app.|300px]]      &lt;br /&gt;
[[{{ns:6}}:Dev-gsoc-cycles-tex-smoke-vdb.jpg|Smoke texture viewed from Blender viewport.|200px]]&lt;br /&gt;
&lt;br /&gt;
===== What's Next =====&lt;br /&gt;
Despite the end of the Summer of Code program, I will continue working on volumetric rendering with the Cycles renderer, and I intend to complete the integration of the OpenVDB, adding the missing features, so it can be usable when shading also gets done.&lt;/div&gt;</summary>
		<author><name>wiki&gt;Jehuty</name></author>
		
	</entry>
</feed>