<div dir="ltr">I've done some more digging, and the problem seems to be with the scaling of the animation. The solution for me is to export the fbx in blender with Apply Scalings set to "FBX All", this fixes the problem with the incorrect bound.<div>I'm not sure why it doesn't seem to be a problem in the Autodesk fbx viewer, it could be that they don't use the bound of the object to calculate the camera, or there might be something wrong with the osg FBX plugin, but I don't think that is the case, the scaling code does look fine.<br><br>On Monday, May 11, 2020 at 6:16:02 PM UTC+2, Wouter Roos wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr">Hi,<div>I'm struggling with loading animated FBX that I export from Blender. Nothing is visible, but it seems like something is loaded as I do see the correct number of vertices in the stats overlay. Exporting the model without animations works fine, and the fbx file looks fine in the FBX viewer.</div><div><br></div><div>I'm getting "An update callback has no name, it means it could link only with "" named Target, often an error, discard" logs, but I'm not sure why some of the boneAnimations are without a name. I have tried with this (<a href="https://sketchfab.com/3d-models/animated-cartoon-skeleton-9550b93d28354568adceb360981caa1b" target="_blank" rel="nofollow" onmousedown="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fsketchfab.com%2F3d-models%2Fanimated-cartoon-skeleton-9550b93d28354568adceb360981caa1b\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGzC8ZQg_Bzx5Kpdr4NcLqKePdnvA';return true;" onclick="this.href='https://www.google.com/url?q\x3dhttps%3A%2F%2Fsketchfab.com%2F3d-models%2Fanimated-cartoon-skeleton-9550b93d28354568adceb360981caa1b\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNGzC8ZQg_Bzx5Kpdr4NcLqKePdnvA';return true;">https://sketchfab.com/3d-<wbr>models/animated-cartoon-<wbr>skeleton-<wbr>9550b93d28354568adceb360981caa<wbr>1b</a>) free model from SketchFab, and same result, an empty viewport (in osgViewer and in osgAnimationViewer) </div><div>After some digging I think the problem is that the bounds of the object are not calculated correctly, and that's why I don't see anything, but I might be wrong. Has anyone experienced the same problem before, or is there something wrong with the models?</div><div><br></div><div>OSG Version: 3.6.4 (tried 3.4.0 as well)</div><div>FBX SDK 2020.0.1</div></div></blockquote></div></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:osg-users+unsubscribe@googlegroups.com">osg-users+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/osg-users/daf5b5dd-7617-445a-8274-853edc8a9e56%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/osg-users/daf5b5dd-7617-445a-8274-853edc8a9e56%40googlegroups.com</a>.<br />