Maya Lighting in OpenGL

Hi all,

I want to match Maya’s lights in OpenGL, however I couldn’t figure out the equation for the final colour values, especially when Maya’s intensity is included.
Could any one give me some ideas about that? Thank you very much.

ahfat