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 / how to get backface-culling information
  RSS 2.0 ATOM  

how to get backface-culling information
Rate this thread
 
63076
 
Permlink of this thread  
avatar
  • zydgyy
  • Posted: 24 December 2011 09:51 PM
  • Total Posts: 84
  • Joined: 09 November 2011 05:37 PM

Hi,
how do i get the backface-culling info of a mesh???

...
Model: 1057076192, “Model::Box001”, “Mesh” {
Version: 232
Properties70:  {
P: “InheritType”, “enum”, “”, “”,1
P: “ScalingMax”, “Vector3D”, “Vector”, “”,0,0,0
P: “DefaultAttributeIndex”, “int”, “Integer”, “”,0
P: “Lcl Translation”, “Lcl Translation”, “”, “A”,4.50182723999023,10.0689430236816,0
P: “MaxHandle”, “int”, “Integer”, “UH”,2
}
MultiLayer: 0
MultiTake: 1
Shading: T
Culling: “CullingOff”
}
...

is it “Culling”???



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

Correct.  The state should be CullingOff, CullingOnCCW or CullingOnCW

Author: Doug Rogers

Replied: 26 December 2011 02:45 PM  
avatar
  • zydgyy
  • Posted: 27 December 2011 12:36 PM

However,i enable backface-culling state of a mesh in my 3ds max,and export it from FBX,it never be changed!Why?!And what method call in FBX can get it?



Replies: 0
avatar
  • Zhihao.Li
  • Posted: 28 December 2011 01:03 PM

zydgyy 27 December 2011 12:36 PM

However,i enable backface-culling state of a mesh in my 3ds max,and export it from FBX,it never be changed!Why?!And what method call in FBX can get it?

Hi zydgyy,
1. FBX 3ds Max plugin never exported “real” culling info to FBX file. That’s why it never be changed:)
2. To get culling info of 3ds Max mesh, I think you can add a custom attribute/property “cullingInfo” to mesh node in 3ds Max and export it to FBX. The custom attribute/property will hold the culling info you need. Make sense?

BTW. thanks Doug:)



Zhihao, Data Platform - Autodesk

Replies: 0