﻿<?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%3ADingTo%2FGSoC_2013%2FWeekly_Reports%2FWeek9</id>
	<title>利用者:DingTo/GSoC 2013/Weekly Reports/Week9 - 版の履歴</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%3ADingTo%2FGSoC_2013%2FWeekly_Reports%2FWeek9"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:DingTo/GSoC_2013/Weekly_Reports/Week9&amp;action=history"/>
	<updated>2026-05-03T11:54:28Z</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:DingTo/GSoC_2013/Weekly_Reports/Week9&amp;diff=143491&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:DingTo/GSoC_2013/Weekly_Reports/Week9&amp;diff=143491&amp;oldid=prev"/>
		<updated>2018-06-28T20:57:24Z</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日 (木) 20:57時点における版&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:DingTo/GSoC_2013/Weekly_Reports/Week9&amp;diff=143490&amp;oldid=prev</id>
		<title>wiki&gt;DingTo: Created page with &quot;= Week 9 =  == What I did this week == * I did some cleanup in the Cycles code this week in trunk. ({{Commit|59043}}, {{Commit|59070}}, {{Commit|59072}}...)   * Commited some mot...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:DingTo/GSoC_2013/Weekly_Reports/Week9&amp;diff=143490&amp;oldid=prev"/>
		<updated>2013-08-16T22:18:47Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Week 9 =  == What I did this week == * I did some cleanup in the Cycles code this week in trunk. ({{Commit|59043}}, {{Commit|59070}}, {{Commit|59072}}...)   * Commited some mot...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Week 9 =&lt;br /&gt;
&lt;br /&gt;
== What I did this week ==&lt;br /&gt;
* I did some cleanup in the Cycles code this week in trunk. ({{Commit|59043}}, {{Commit|59070}}, {{Commit|59072}}...) &lt;br /&gt;
&lt;br /&gt;
* Commited some motion blur code to my branch. ({{Commit|59183}}). We can now enable/disable motion blur on a per object basis, inside the Properties Editor. This commit also has some basic code for the motion multiplier, but I still need to properly hook that up with the object transform matrix and shutter time. &lt;br /&gt;
&lt;br /&gt;
* I did some research on a new sky model this week. Cycles (as well as Blender internal) use [http://www.cs.utah.edu/~shirley/papers/sunsky/sunsky.pdf A Practical Analytic Model for Daylight], but there is a better model available since 2012. [http://cgg.mff.cuni.cz/projects/SkylightModelling/ An Analytic Model for Full Spectral Sky-Dome Radiance]. The current Preetham model suffers from some problems especially for sunset and sunrise, which is better in the Hosek/Wilkie model. So I did some research here, to check if a inclusion would be feasible.&lt;br /&gt;
&lt;br /&gt;
'''Questions and observations'''&lt;br /&gt;
&lt;br /&gt;
The current model gets calculated within Cycles itself.&lt;br /&gt;
&lt;br /&gt;
SVM: Pre-calculation in nodes.cpp, final evaluation in the SVM file.&lt;br /&gt;
&lt;br /&gt;
OSL: Has everything in the .osl file, but as the sun_direction and turbidity is constant, it can only calculate that once and optimize it out then for the actual rendering. (OSL makes heavy use of constant folding etc.) &lt;br /&gt;
&lt;br /&gt;
The new model on the other hand comes with a 66kb large dataset with values (ArHosekSkyModelData_RGB.h). (See [http://cgg.mff.cuni.cz/projects/SkylightModelling/HosekWilkie_SkylightModel_C_Source.1.4a.zip Sample code archive].)&lt;br /&gt;
Other engines all use this data, so I guess we need it too. But I guess we should use that to precalc the sky again, and not increase kernel size. What confuses me is that &amp;quot;ArHosekSkyModelState&amp;quot; which we need to initialize. (As we use RGB, we would start with &amp;quot;arhosek_rgb_skymodelstate_alloc_init&amp;quot;). &lt;br /&gt;
&lt;br /&gt;
I checked on some implementations of the new model. &lt;br /&gt;
* [https://github.com/githole/Skydome/blob/master/skydome.c Simple implementation] which calculates every pixel and outputs an image.&lt;br /&gt;
* Mitsuba renders the Sky to an HDR map internally and uses this.&lt;br /&gt;
&lt;br /&gt;
So basically I would appreciate some starting points on how to approach this. Use the model data? Separate code into precalc and svm evaluation again? &lt;br /&gt;
&lt;br /&gt;
== Next week ==&lt;br /&gt;
* Continue with the Sky feature. I would also like to spend some time documenting some of Cycles code, which is not so trivial to understand (at least for me). :) &lt;br /&gt;
&lt;br /&gt;
== Questions ==&lt;br /&gt;
See above, regarding the new Sky model.&lt;/div&gt;</summary>
		<author><name>wiki&gt;DingTo</name></author>
		
	</entry>
</feed>