> Hi Dalai,
>
> Yeah... I noticed missing header too.
> But I know enough of Blender's code to see it's a copy of existing
> functions here :)
>
> It even has the bump code we added in 2.59...
>
> I never thought people would export glsl shader files together with
> models to use in other engines... is that the use case? Is that even
> more or less normal nowadays?

Not yet, the "gpu" module to get this info was only added recently, So
far X3D exporter writes out these shaders when H3D compatibility is
enabled, (H3D is an X3D engine).

> In that case we could track back who contributed to the glsl files and
> check if it can be BSD'ed or MIT'ed so...

1+, but not my code :)

> -Ton-
>
> ------------------------------------------------------------------------
> Ton Roosendaal  Blender Foundation   t...@blender.org    www.blender.org
> Blender Institute   Entrepotdok 57A  1018AD Amsterdam   The Netherlands
>
> On 13 Oct, 2011, at 19:48, Dalai Felinto wrote:
>
>> Hi Ton,
>>
>> the shader files (gpu_shader_material.glsl and
>> gpu_shader_vertex.glsl) have
>> no license header on them.
>> Thus my hope that they were not under the GPL.
>>
>> In fact most of the code snippets we have there are classic
>> implementations.
>> I don't think they can even be under specific license.
>> I find strange to have GPL reinforced over them.
>>
>>> First: there's no "BF" or "BFL" license... it's just "GNU GPL v2
>> or later". :)
>> I guess I was a bit outdated :p I was referring to this
>> http://www.blender.org/BL/
>>
>> Thanks,
>> Dalai
>>
>> 2011/10/13 Tom M <letter...@gmail.com>
>>
>>> Ton,
>>>
>>> check with FSF, but I seriously doubt that a shader would be
>>> expressive, and hence is not copyrightable.
>>>
>>> A generated shader is even less likely to be viewed as expressive.
>>>
>>> LetterRip
>>>
>>> On Thu, Oct 13, 2011 at 1:36 AM, Ton Roosendaal <t...@blender.org>
>>> wrote:
>>>> Hi Dalai,
>>>>
>>>> First: there's no "BF" or "BFL" license... it's just "GNU GPL v2 or
>>>> later". :)
>>>>
>>>> If I understand the function well, it's generating a text file using
>>>> the GLSL shader code as in our svn (which is GPL). In that way the
>>>> exported glsl code remains GPL.
>>>>
>>>> -Ton-
>>>>
>>>> ------------------------------------------------------------------------
>>>> Ton Roosendaal  Blender Foundation   t...@blender.org    www.blender.org
>>>> Blender Institute   Entrepotdok 57A  1018AD Amsterdam   The
>>>> Netherlands
>>>>
>>>> On 13 Oct, 2011, at 8:17, Dalai Felinto wrote:
>>>>
>>>>> Hi,
>>>>> I understand that Blender code is under GPL/BF licensing.
>>>>>
>>>>> But if I use the command (added on rev. 40061):
>>>>> shader = gpu.export_shader(scene,material)
>>>>>
>>>>> Is the shader still GPL/BFL? The shader is made of snippets of
>>>>> Blender code,
>>>>> so I can see what lawyers may clam. And technically speaking a GLSL
>>>>> Shader
>>>>> is a program (compiles and run in the GPU).
>>>>>
>>>>> It would be really sad if this is the case though. Otherwise this
>>>>> could be
>>>>> used for external engines.
>>>>>
>>>>> Thanks,
>>>>> Dalai
>>>>> _______________________________________________
>>>>> Bf-committers mailing list
>>>>> Bf-committers@blender.org
>>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>>
>>>> _______________________________________________
>>>> Bf-committers mailing list
>>>> Bf-committers@blender.org
>>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>>
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers@blender.org
>>> http://lists.blender.org/mailman/listinfo/bf-committers
>>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers@blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



-- 
- Campbell
_______________________________________________
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to