﻿<?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%3ALeonardoSegovia%2FGSoC_2018%2FReports%2FWeek_3</id>
	<title>利用者:LeonardoSegovia/GSoC 2018/Reports/Week 3 - 版の履歴</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%3ALeonardoSegovia%2FGSoC_2018%2FReports%2FWeek_3"/>
	<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:LeonardoSegovia/GSoC_2018/Reports/Week_3&amp;action=history"/>
	<updated>2026-08-02T06:59:40Z</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:LeonardoSegovia/GSoC_2018/Reports/Week_3&amp;diff=154685&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:LeonardoSegovia/GSoC_2018/Reports/Week_3&amp;diff=154685&amp;oldid=prev"/>
		<updated>2018-06-28T21:24:06Z</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:24時点における版&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:LeonardoSegovia/GSoC_2018/Reports/Week_3&amp;diff=154684&amp;oldid=prev</id>
		<title>wiki&gt;LeonardoSegovia: Publish Week 3 report</title>
		<link rel="alternate" type="text/html" href="https://wiki.blender.jp/index.php?title=%E5%88%A9%E7%94%A8%E8%80%85:LeonardoSegovia/GSoC_2018/Reports/Week_3&amp;diff=154684&amp;oldid=prev"/>
		<updated>2018-06-01T22:42:09Z</updated>

		<summary type="html">&lt;p&gt;Publish Week 3 report&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新規ページ&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Week 3 =&lt;br /&gt;
&lt;br /&gt;
Hi everyone! Yet another week's now gone. This is my report.&lt;br /&gt;
&lt;br /&gt;
== Objectives ==&lt;br /&gt;
&lt;br /&gt;
We're still in Weeks 4-5:&lt;br /&gt;
&lt;br /&gt;
* Test shader functionality. If working, release test build.&lt;br /&gt;
* Evaluate received feedback. Start bug fixes.&lt;br /&gt;
&lt;br /&gt;
== What's been done ==&lt;br /&gt;
&lt;br /&gt;
This week's been MUCH better!&lt;br /&gt;
&lt;br /&gt;
* It turns out that I had &amp;lt;code&amp;gt;WITH_CYCLES_DEBUG&amp;lt;/code&amp;gt; on, that was the source of all the &amp;lt;code&amp;gt;NaN&amp;lt;/code&amp;gt; noise in my side. I rebuilt Blender from the ground up; I still have &amp;lt;code&amp;gt;RelWithDebInfo&amp;lt;/code&amp;gt; on.&lt;br /&gt;
* Thanks to Lukas, bzztploink and artok, we could get test builds for all platforms! This enabled us to find some issues regarding:&lt;br /&gt;
** Linux compilation&lt;br /&gt;
** Missing initialization code&lt;br /&gt;
** Some stuff I didn't know about Cycles's innards&lt;br /&gt;
&lt;br /&gt;
In terms of commits,&lt;br /&gt;
&lt;br /&gt;
* Me:&lt;br /&gt;
** Ronan Ducluzeau's noisy renders were caused by an mistake in Lukas's optimization of the trimmed logistic distribution. It's now fixed ({{GitCommit|rB2af62e27e2c894217b5d7daa880434447ea6ed35}}).&lt;br /&gt;
** Split off the azimuthal and longitudinal roughness factors to make debugging easier when needed ({{GitCommit|rB4a73f5ce584f49c68b2c64c74ef30188395088de}}).&lt;br /&gt;
** Added compatibility with OpenCL. Thanks to nirved for the patches and comments! ({{GitCommit|rB9d6333127623ebed7a275d382e63da1f87712aae}}, {{GitCommit|rB00d0f3c23527b047f3211fd760080fdfcec4037b}})&lt;br /&gt;
** Added OSL compatibility. I know I don't allocate the memory for the closures correctly, I'll patch it in the weekend. ({{GitCommit|rB718d730bb409322dd9078273bfc0dc16b956a8d6}}, {{GitCommit|rB718d730bb409322dd9078273bfc0dc16b956a8d6}}, {{GitCommit|rB4774e906e19816b720c20271b9f9db28bb89debe}}, {{GitCommit|rBb7a92fa75e56c2b76968e523892bfb7ee9a6f19e}}, {{GitCommit|rBdf0ead4dabd0c0f07ff046b59c7d850005d59e60}}, {{GitCommit|rBbf5a378c3c350384f18ce7daf6624ef0c56ab5ba}})&lt;br /&gt;
** Added the final missing feature from Chiang's formulation, the R-mode roughness modifier (formally called &amp;amp;quot;Primary Reflection Roughness Modifier&amp;amp;quot;). It enables the user to render a shiny coat on an otherwise rough patch of fur ({{GitCommit|rB25677d7738530d8f827e5ac960ccded6b128d897}}, {{GitCommit|rBc3048b5f53aaeb5b860bf1760a7f1ef51f6c4701}}, {{GitCommit|rBb3ebdf64459d7a99e9a848a49f7eaa250b8a07bd}}).&lt;br /&gt;
*** I had to move the geometry data out of the main &amp;lt;code&amp;gt;ShaderClosure&amp;lt;/code&amp;gt; to make space for this. I didn't know that I had to tell Blender how many closures I was using 😅, so all Final Renders returned black hair. This was found by YAFU on BlenderArtists and fixed by Brecht.&lt;br /&gt;
** Enabled Filter Glossy for the roughness coefficients. Brecht reports a ~75% improvement in render quality! ({{GitCommit|rB8087cefd03022759250f5d62eb4776fa6c55be4c}}, {{GitCommit|rBdf1e50fa5d913d2a577a178d3f26f573795997ad}})&lt;br /&gt;
** Finally found out why Blender didn't listen to RNA's default for the hair parameterization. I added the correct initialization code ({{GitCommit|rB7780d306a416e0dcc37932698e70595bce58ea5e}}).&lt;br /&gt;
** Merged the latest &amp;lt;code&amp;gt;master&amp;lt;/code&amp;gt; commits. Only a single conflict! (Week 2: {{GitCommit|rB82e63de2842c2af8be5ec19a00752b110dbd0c57}}, Week 3: {{GitCommit|rBfede34a58a8df630bb927ab9c017ab2cd87478b4}})&lt;br /&gt;
** Bonus:&lt;br /&gt;
*** Turned off the Diffuse override. It doesn't seem to be needed after Brecht's &amp;lt;code&amp;gt;curve_core_intersect&amp;lt;/code&amp;gt; patch ({{GitCommit|rB718d730bb409322dd9078273bfc0dc16b956a8d6}}).&lt;br /&gt;
*** Added our shader to the Glossy closure checker as well ({{GitCommit|rB25677d7738530d8f827e5ac960ccded6b128d897}}).&lt;br /&gt;
* Brecht:&lt;br /&gt;
** Fixed the hair offset calculation by avoiding &amp;lt;code&amp;gt;curve_core_intersect&amp;lt;/code&amp;gt; &amp;amp;amp; pals altogether ({{GitCommit|rBabfca9375c6ae75320b7538d547545350ad47c85}}, {{GitCommit|rBff6883fbc330c5ac1333beaf38142d6b1d7728cf}}, {{GitCommit|rBbaad410a5c5b15158b06d9b9a9d9c86522261cea}}).&lt;br /&gt;
** Added a few comments wrt. hair attenuation terms and offset angles ({{GitCommit|rBfc62d5a3b3622efa69a02377bc15ab6f6f1e389c}}).&lt;br /&gt;
** Fixed the range for the R-mode roughness modifier ({{GitCommit|rB3c56635da9579a297f3b32ce2cc0b9468d308199}}).&lt;br /&gt;
** Fixed the number-of-closures issue that came with the R-mode roughness modifier ({{GitCommit|rB1fac3b7da05ada27d8a41c114283394b5a505ebb}}).&lt;br /&gt;
&lt;br /&gt;
Here are some images:&lt;br /&gt;
&lt;br /&gt;
[[File:hair-ball-glossyfiltered.png|thumb|center|500px|A R-mode-modified fur ball, also filtered with Filter Glossy. Rendered with Cuda on Win7 x64 in ~5min.]]&lt;br /&gt;
&lt;br /&gt;
[[File:ZootopiaShaderNode-week-3.png|thumb|center|500px|The node's current appearance and sockets.]]&lt;br /&gt;
&lt;br /&gt;
== Next up ==&lt;br /&gt;
&lt;br /&gt;
Apart from finally settling the memory allocation flow for the OSL shader, the original shader is mostly done. I could address some of the proposed features in [https://blenderartists.org/t/cycless-gsoc-2018-project-new-hair-shader-expectations/1103070?u=amyspark the BlenderArtists thread]:&lt;br /&gt;
&lt;br /&gt;
* Define separately the eumelanin/pheomelanin coefficients, ''à la'' Arnold's [https://support.solidangle.com/display/A5AFMUG/Standard+Hair?desktop=true&amp;amp;macroName=center Standard Hair]&lt;br /&gt;
* Perhaps add more features, such as tinting? Again, following Arnold's shader features.&lt;br /&gt;
&lt;br /&gt;
If no more bugs arise, I may start with the rest of the objectives too.&lt;br /&gt;
&lt;br /&gt;
== Questions ==&lt;br /&gt;
&lt;br /&gt;
None this time!&lt;/div&gt;</summary>
		<author><name>wiki&gt;LeonardoSegovia</name></author>
		
	</entry>
</feed>