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 / KFbxSurfaceLambert and sNormalMapDefault
  RSS 2.0 ATOM  

KFbxSurfaceLambert and sNormalMapDefault
Rate this thread
 
50798
 
Permlink of this thread  
avatar
  • Total Posts: 585
  • Joined: 18 February 2008 07:25 PM

In KFbxSurfaceLambert, there is a member:
static fbxDouble3 sNormalMapDefault;

but no corresponding:
KFbxPropertyDouble3 GetNormal() const;

Is this an oversight?



Replies: 0
avatar
  • nian.wu
  • Posted: 28 December 2010 09:03 PM

Because properties of KFbxSurfaceLambert are public, you can visit them directly, for example:
KFbxSurfaceLambert_Obj.NormalMap.Get().



Nian Wu
AutoDesk FBX Team

Replies: 1
/userdata/avatar/3yvwf23us_doug100x100.png

NormalMap is protected, not public.

Author: Doug Rogers

Replied: 29 December 2010 02:19 AM  
avatar
  • nian.wu
  • Posted: 29 December 2010 01:41 PM

Yes, NormalMap is protect in FBX 2011.3. Yeserday, I checked our latest code instead of the code of FBX2011.3. In our latest code, we public these protected member and deplicated those GetXXX() method. This modification will be released in next version.
Thanks for your pointing out this problem.



Nian Wu
AutoDesk FBX Team

Replies: 0
avatar

Howdy,

In the meantime, is there a work around for this, for those of us using FBX SDK 2010?

Adios,
Cactus Dan



Replies: 1
/userdata/avatar/46bb5886n_car2.JPG

You can append a custom property to the material object. And process the property by yourself. I can not figure out better work around.

Author: nian.wu

Replied: 04 January 2011 04:53 PM