[osg-users] Animated FBX models not showing
OpenSceneGraph Users
osg-users at lists.openscenegraph.org
Tue May 12 01:32:45 PDT 2020
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.
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.
On Monday, May 11, 2020 at 6:16:02 PM UTC+2, Wouter Roos wrote:
>
> Hi,
> 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.
>
> 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 (
> https://sketchfab.com/3d-models/animated-cartoon-skeleton-9550b93d28354568adceb360981caa1b) free
> model from SketchFab, and same result, an empty viewport (in osgViewer and
> in osgAnimationViewer)
> 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?
>
> OSG Version: 3.6.4 (tried 3.4.0 as well)
> FBX SDK 2020.0.1
>
--
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/daf5b5dd-7617-445a-8274-853edc8a9e56%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200512/c286744e/attachment.html>
More information about the osg-users
mailing list