Set some camera properties, not in FBX ASCII

Set some camera properties, not in FBX ASCII

ssontech
Contributor Contributor
331 Views
1 Reply
Message 1 of 2

Set some camera properties, not in FBX ASCII

ssontech
Contributor
Contributor

I discovered a new flag I need to set in my commercial FBX exporter, I set it during export; read-back shows it has been set, but it still appears as false in the exported FBX ASCII file. I can do it either way below, no dice. It looks like a few other settings (LockMode, BackPlateScaleX/Y) may not be saved also. Using 2020.2.

lCam->SetBackPlateFitImage(true);
lCam->BackPlateFitImage.Set(true);

 The FbxCamera is created, various settings set, then it is added to an FbxNode. Eventually it gets exported, but always it results in

P: "BackPlateFitImage", "bool", "", "",0

The export is all long-time standard working stuff, I don't how setting this can't work.

0 Likes
332 Views
1 Reply
Reply (1)
Message 2 of 2

ssontech
Contributor
Contributor

Similarly, I now need to be able to write data in a different rotation order, but see that FbxNode::RotationOrder isn't being written to the FBX either, it is always 0:

	P: "RotationOrder", "enum", "", "",0

The rotation angles I'm writing are all there, everything looks fine, but again a value isn't being written to the file. I'd really appreciate some explanation here on both of these. How can this not work? What kind of behind-the-scenes "logic" is at work?

0 Likes