Blender Git Loki

Blender Git "soc-2018-hair-shader" branch commits.

Page: 5 / 6

May 31, 2018, 12:42 (GMT)
Protect against OSL alloc's null pointer dereference

(I got this one in MSVC)

Ref T54796
May 31, 2018, 12:39 (GMT)
Fix typo with Chiang's roughness modifier

Ty nirved on IRC for noticing

Ref T54796
May 31, 2018, 00:59 (GMT)
Add primary refraction roughness modifier

(Does it need a better parameter name?)

Ref T54796
May 30, 2018, 18:31 (GMT)
Remove extra comment in Spanish
May 30, 2018, 18:09 (GMT)
Fix Direct coloring calculation

/facepalm

Ref T54796
May 30, 2018, 17:37 (GMT)
OSL: initialize geometry as part of the setup

This needs a custom OSL closure. Now it renders, but the colors don't make sense

Ref T54796
May 30, 2018, 17:35 (GMT)
Fix more of nirved's OpenCL errors

Thank you nirved for finding and explaining them!

Ref T54796
May 30, 2018, 01:31 (GMT)
Add nirved's OpenCL compatibility patch

Ref T54796
May 30, 2018, 01:21 (GMT)
A first attempt towards a OSL shader

Obviously, it doesn't work, but at least it renders something non-black...

Ref T54796
May 29, 2018, 13:40 (GMT)
Enable Filter Glossy for the hair shader

Ref T54796
May 28, 2018, 19:01 (GMT)
Merge branch 'master' into soc-2018-hair-shader

First conflict: IES vs our shader
May 26, 2018, 23:39 (GMT)
Fix h value not being computed correctly.

The new code only works for thick curves, not ribbons, but should hopefully
work correctly for that case. If we already know the normal we don't need to
look at the curve geometry, which simplifies things.
May 26, 2018, 23:22 (GMT)
Fix sd->dPdu normalization, renamed dPdCD to Y, increase assert epsilon.
May 26, 2018, 23:15 (GMT)
Cleanup: use kernel_assert() instead of assert() in kernel.
May 26, 2018, 23:15 (GMT)
Cleanup: keep BSDF local frame computation out of curve code.
May 26, 2018, 21:30 (GMT)
Cleanup: add some comments, guard against NaNs in hair_ap.
May 26, 2018, 16:09 (GMT)
Use two variables to store azimuthal and longitudinal roughness

It makes debugging those pesky NaNs far easier

Ref T54796
May 26, 2018, 16:07 (GMT)
Fix improper optimization in the trimmed logistic function

This was the source of the noise that Ronan mentioned.

Ref T54796
May 23, 2018, 20:59 (GMT)
Ringfence possible NaNs with degenerate hair geometry

There are two ways: radiance (F) and intersect position (sd->P)

F comes from invalid core distance, sd->P from invalid intersect position
(which is usually caused from a NaN in ray->t, outside our shader)
May 22, 2018, 14:00 (GMT)
I knew I had a leftover printf somewhere...

Ref T54796
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021