[Algorithms] Lighting Issues
Brought to you by:
vexxed72
From: Michael H. <mh...@h2...> - 2001-07-31 19:39:25
|
Just in case there's anyone not quite sick of discussing lighting with those of us that just can't quite get it :) I've looked over all of the posts in the last couple of months. I know that people (answering a lot of my questions) have gone over some of this, but I still have a question. Lights in Maya have the following properties: intensity, falloff type (linear, quadratic and cubic) and color. Lights in D3D have no intensity, a range and 3 values for the attenuation formula, which is (1 / (A + (B * d) + (C * d^2))) [where d is the distance from the light to a vertex]. Does anyone know how to convert the lighting values from Maya to something I can use in either OGL or D3D? I can't find any Maya documentation that helps on this. How have others handled this? Are the other 3D packages lighting models closer to the major 3D API's? Any help would be much appreciated. Thanks, Mike |