Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® FBX® / FBX SDK / about light
  RSS 2.0 ATOM  

about light
Rate this thread
 
62592
 
Permlink of this thread  
avatar
  • zydgyy
  • Posted: 06 December 2011 07:37 PM
  • Total Posts: 84
  • Joined: 09 November 2011 05:37 PM

Hi,all
I have already known there are ambient,diffuse,specular,such properties in OPENGL,but i can get them from FBX,so where are they???



Replies: 1
/userdata/avatar/vx3501hqr_small.jpg

FBX does not differentiate these three. You can think ambient, diffuse and specular color of a FBX light is the same, that is:
/** This property handles the light color.
*
* To access this property do: Color.Get().
* To set this property do: Color.Set(FbxDouble3).
*
* Default value is (1.0, 1.0, 1.0)
*/
FbxPropertyT<FbxDouble3> Color;

Author: Jiayang Xu

Replied: 06 December 2011 09:07 PM  
avatar
  • zydgyy
  • Posted: 06 December 2011 10:46 PM

seems it’s a disadvantage of FBX,how can use it in my opengl application,set these three same values???



Replies: 0
avatar

Materials support a lot more colors, but not lights. Anyway, other game developers have never complained about it, since generally people tend to not play with these.



Robert Goulet, FBX Dev Lead

Replies: 0