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 / EmissiveFactor,AmbientFactor,DiffuseFactor
  RSS 2.0 ATOM  

EmissiveFactor,AmbientFactor,DiffuseFactor
Rate this thread
 
62745
 
Permlink of this thread  
avatar
  • zydgyy
  • Posted: 11 December 2011 07:02 PM
  • Total Posts: 84
  • Joined: 09 November 2011 05:37 PM

EmissiveFactor,AmbientFactor,DiffuseFactor
what are these things?Are they alpah values in openGL color?THANKS~~~



Replies: 1
/userdata/avatar/vx3501hqr_small.jpg

They are used to attenuate the emissive color, ambient color and diffuse color. Have nothing to do with alpha.
In FBX:
Emissive color = Emissive*EmissiveFactor;
Ambient color = Ambient *AmbientFactor;
Diffuse color = Diffuse *DiffuseFactor;

TransparentColor and TransparencyFactor are the ones that can be used to calculate alpha.

Author: Jiayang Xu

Replied: 11 December 2011 07:42 PM  
avatar
  • zydgyy
  • Posted: 11 December 2011 11:11 PM

TransparentColor ?What kind of color is it?You know,in opengl color is RGBA,A is one of channel,and amibient,difuse,specular all have their own color value,that is have their own A,so,according this TransparentColor and TransparentFactor,how can i set these As,or,FBX can differ them,just all the same value!



Replies: 1
/userdata/avatar/vx3501hqr_small.jpg

From Maya Online Help: http://download.autodesk.com/glo...ert.html#attrtransparency
Transparency controls how transparent or opaque the material is. Black means completely opaque (the default), and white means completely transparent. You can set it to any level in between. You can also control transparency on a per-channel basis; for example, if you set this to red, then only the red channel will be transparent.

From Wikipedia:
http://en.wikipedia.org/wiki/Transparency_(graphic)
Transparency can be supported through either a transparent color or an alpha channel or a combination of the two.

Maybe you should make a quick google before throw an question next time :).

If you only want alpha value, TransparencyFactor is the one, and do not need to use TransparencyColor.

Author: Jiayang Xu

Replied: 12 December 2011 01:22 PM