The handling of materials and textures
has been updated to:
- Support the FBX geometry model and provide
better interoperability with Autodesk Maya and Autodesk 3dsMax.
- Geometry has beem moved out of the model.
This decouples geometry from motion, and from the materials shading
network.
- Improve shader performance.
- Textures are now disconnected from models,
and are connected to materials. The texture / material model now
allows transport of currently-dropped channels.
- All materials now contain mapping channels
where you can apply textures to different components of the material.
This impacts the SDK as follows:
- The C++ sample shadertexmat has been
modified.
- FBFastTessellator has been removed.
- FBModel::FBPropertyListTexture has
been added.
- FBModel has a new property FBPropertyCluster
(Open Reality / C++ only, not Python).
- New enum FBTexture::FBTextureUseType.
- FBModel::ResetDisplayList is
replaced by FBModel::SetupPropertiesForShapes.
- ResetDisplayList is
replaced by FBMaterial.
The following samples have been added
to demonstrate the new functionality: