Fwd: [Fieldtrip] Lighting Patch for Fieldtrip

Conal Elliott conal at conal.net
Wed Jan 7 12:34:39 EST 2009


Thanks, Ivan.  This is the kind of simplicity/generality/GPU-friendliness
I'm looking for.  - Conal

On Wed, Jan 7, 2009 at 9:20 AM, Ivan Tomac <tomac at pacific.net.au> wrote:

> Hi David,
>
> David Sankel wrote:
>
>> I think the concept of a light (omni/directional) goes beyond OpenGL.
>>
>>
>>
> Sure. As do the concepts of shadows, reflection, refraction, etc, none of
> which have specialized constructs in OpenGL. You could add them which would
> increase complexity. An alternative is to get rid of special cases without
> losing any functionality, quite the opposite in fact. That was hard before
> shaders but much easier now.
>
>> The lighting models are just simple functions and with shaders they are
>>> best
>>> represented as such.
>>>
>>>
>>
>> Perhaps you could post a haskell interface of the alternative light
>> structure you have in mind. I think it'd help the discussion.
>>
>>
>>
> A function!
>
> Ivan
>
> _______________________________________________
> FieldTrip mailing list
> FieldTrip at haskell.org
> http://www.haskell.org/mailman/listinfo/fieldtrip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/fieldtrip/attachments/20090107/75e3e8b9/attachment-0001.htm


More information about the FieldTrip mailing list