[Bf-cycles] GSoC 2018 proposal discussion: hair shader

Leonardo E. Segovia leonardo.segovia at cs.uns.edu.ar
Thu Mar 15 14:02:47 CET 2018


Hi all,

I've updated the proposal with the requested changes. Please read it,
and comment with any questions you may have.

Thanks in advance.

2018-03-13 18:51 GMT-03:00 Leonardo E. Segovia <leonardo.segovia at cs.uns.edu.ar>:
> Hi again,
>
> (I'll be replying in different emails so as to quote them)
>
> 2018-03-13 13:35 GMT-03:00 Lukas Stockner <lukas.stockner at freenet.de>:
>> One thing that I noticed reading the proposal: You don't actually need to
>> implement the shader itself twice (in SVM and OSL). Instead, you implement
>> the BSDF itself (sampling and evaluation functions) once, and then you add
>> code in SVM and OSL that creates an instance of that Closure (which
>> typically is a lot easier than actually re-implementing it).
>
> Same as with Mr. Brent, thanks for the tips.
>
>> Also, a while ago I started looking into implementing the shader - it's
>> extremely WIP, messy and somewhat broken, but it might be helpful for you as
>> a reference as it contains all the code required to implement a new
>> node/closure and a straightforward port of the PBRT code into Cycles. I
>> probably won't continue working on this anytime soon (and certainly not if a
>> GSoC project is also doing the same thing of course), but you can find the
>> current version here:
>> https://github.com/lukasstockner/blender/tree/hairshader
>
> Thanks for your work! I'll make sure to add it to the proposal.
>
> --
> Lic. Leonardo E. Segovia
> Departamento de Ciencias e Ingeniería de la Computación
> Universidad Nacional del Sur
> San Andrés 800 - Campus Palihue, B8000 Bahía Blanca, Argentina



-- 
Lic. Leonardo E. Segovia
Departamento de Ciencias e Ingeniería de la Computación
Universidad Nacional del Sur
San Andrés 800 - Campus Palihue, B8000 Bahía Blanca, Argentina


More information about the Bf-cycles mailing list