[osg-users] Near/Far problem using models with bones.
Julien Valentin
julienvalentin51 at gmail.com
Thu Jun 23 13:44:36 PDT 2016
After debugging
I was completely wrong adding a Group as nothing to do with your problem
It's a scaling problem...
1st test)
osgconv fbx test1.osg (problem persist in osg file)
2nd test)
osgviewer->setscenedata(fbx)
fbx->setUpdateCallback(WriteNode2FileAfterfewframeCallback(*fbx,"test2.osg"));
///(I use a runtime editor to do that (it will be interesting to see that by code)
test2 works well?!
I checked by hand both testX.osg and it appears that VertexArray in test2.osg is scaled 100x those in test1.osg
But I still don't have a clue on where VertexArray is scale correctly...
robertosfield wrote:
> On 23 June 2016 at 19:50, Dario Minieri <> wrote:
>
> > Hi,
> >
> > May be Robert can clarify this behaviour... :D
> >
>
> I didn't wirte osgAnimation and haven't used more than to just compile
> the examples and merge fixes. So I'm afraid I can't comment on the
> specifics of osgAnimation.
>
> The only thing I can add is thtat is general this type of problem come
> down to the BoundingSphere of Node or BoundingBox of Drawable being
> computed incorrectly/not accounting for movement properly.
>
> Robert.
> _______________________________________________
> osg-users mailing list
>
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
> ------------------
> Post generated by Mail2Forum
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67768#67768
More information about the osg-users
mailing list