Skip to content

Commit cb0e91b

Browse files
author
Keith Blackstone
authored
Merge pull request #39 from adobe/v1.0.9
v1.0.9
2 parents 505b11e + d8461e0 commit cb0e91b

35 files changed

+2166
-1245
lines changed

changelog.txt

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
v1.0.9 October 29th, 2024
2+
fbx:
3+
- import dependent filenames now added to metadata
4+
- metallic workflow was too aggressive
5+
- use texture name instead of uri, and remove duplicate "direct-" in uri
6+
- material name and warnings
7+
- address a few skeleton export issues
8+
- null pointer child and attribute checks
9+
- add fbxoriginalcolorspace to pluginfo.json
10+
- address skeleton parenting, sharing issues
11+
- Support animation tracks
12+
gltf:
13+
- support metallic without roughness, fix emissive white export
14+
- don't export empty anisotropy; or crash when empty anisotropy is present
15+
- set default scene
16+
- fix mismatch between usd index and gltf index
17+
- address skeleton parenting, sharing issues
18+
- Support animation tracks
19+
obj:
20+
- import check for invalid material index before use
21+
- added objOriginalColorSpace to plugInfo.json
22+
ply:
23+
- added plyGsplatsWithZup to plugInfo.json
24+
sbsar:
25+
- new input for selecting uv sets
26+
utility:
27+
- splitAnimationTrakcks return fix
28+
129
v1.0.8 October 1st, 2024
230
fbx:
331
- fix embedded image export

fbx/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,18 @@ displacement → phongSurface::DisplacementColor
103103
UsdStageRefPtr stage = UsdStage::Open("cube.fbx:SDF_FORMAT_ARGS:fbxOriginalColorSpace=sRGB")
104104
```
105105
106+
* `fbxAnimationTracks`: Import multiple animation stacks. Default is `false`
107+
The default is that only the first animation stack is imported.
108+
It is only recommended to use this parameter in order to convert from FBX to another format, such as fbx.
109+
It is not recommended to export a .usd file after importing a file with this parameter set.
110+
```
111+
The following allows additional animation stacks to be imported, and adds metadata to USD to encode where
112+
each stack begins and ends. The exporter can then read this metadata to export the stacks properly.
113+
```
114+
UsdStageRefPtr stage = UsdStage::Open("cube.fbx:SDF_FORMAT_ARGS:fbxAnimationStacks=true")
115+
stage->Export("myPath/cube.fbx")
116+
```
117+
106118
**Export:**
107119
108120
* `embedImages` Embed images in the exported fbx file instead of as separate files. Default is `false`.

fbx/src/fbx.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,14 @@ printFbx(Fbx& fbx)
158158

159159
indent += indentSize;
160160
for (int j = 0; j < node->GetChildCount(); j++) {
161-
printNode(node->GetChild(j), indent);
161+
FbxNode* childNode = node->GetChild(j);
162+
if (childNode == nullptr) {
163+
TF_WARN("Child node at index %d is null for node '%s'. Skipping.",
164+
j,
165+
node->GetName());
166+
continue;
167+
}
168+
printNode(childNode, indent);
162169
}
163170
}
164171
};

fbx/src/fbxExport.cpp

Lines changed: 288 additions & 254 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)