Community
FBX Forum
Welcome to Autodesk’s FBX Forums. Share your knowledge, ask questions, and explore popular FBX topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to use KFbxProceduralTexture with substance data?

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
351 Views, 3 Replies

How to use KFbxProceduralTexture with substance data?

Hi,

The support of Substances by the 2012.0 FBX SDK was announced:
* Support for Allegorithmic's Substance (procedural textures) has been
added to the FBX SDK core. Now the class KFbxTexture serves as the base
class for KFbxFileTexture, KFbxLayeredTexture and KFbxProceduralTexture.
KFbxFileTexture should now be used for bitmap textures, replacingKFbxTexture.


However the documentation is quite vague about how to cope with it. Basically, the KFbxProceduralTexture doc just says:
BlobProp
This property handles the raw data for generating procedural texture.


And the ProceduralTexture/main.cxx doesn't provide much more details:

// For this example we simply dump the binary content of a jpg to the
// procedural texture's blob property.
// In the general case, dump whatever information needed for the procedural
// texture to the blob property.


Could someone please explain how the blob is supposed to be filled in the case of a substance?

Many thanks
-David
3 REPLIES 3
Message 2 of 4
viviane.rochon
in reply to: Anonymous

Hi David,

In case of a Substance, drop the content of the .sbsar file to the procedural texture's blob property.


Viviane


Viviane Rochon Montplaisir
Message 3 of 4
Anonymous
in reply to: viviane.rochon

Hi Viviane,

Many thanks for your answer, I'll have a try.
Message 4 of 4
viviane.rochon
in reply to: Anonymous

Hi David,

Note that FBX SDK only provides the means to transport the Substance. It does not have a means of interpreting the .sbsar file, or displaying the Substance.

Regards,

Viviane


Viviane Rochon Montplaisir

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums