Re: [osg-users] BasicAnimationManager IntersectVisitor
Hi Maxim, On 25 February 2014 05:29, Maxim Gammer maxgam...@gmail.com wrote: I used the osgUtil :: IntersectionVisitor, but it did not fix the problem. Object based on the osgAnimation :: BasicAnimationManager not visible to IntersectionVisitor ( Perhaps the osgAnimation author, Cedric Pinson, might have an idea, but I'm afraid I'm in the same bout as you when comes to working out why the IntersectionVisitor is failing with the osgAnimation scene graph you have. As I don't have your scene graph and not the author of osgAnimation I'm rather limited to what I can do. The only suggestion I have is to look at the bound volumes, perhaps these aren't correct so the subgraphs get culled by the IntersectionVisitor, or perhaps the geometry leaves is not being updated prior to the IntersectionVisitor traversal. Using a debug to see what test within IntersectionVisitor is failing will give you the best clue to what might be amiss. Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] BasicAnimationManager IntersectVisitor
Hi Maxim, I'm don't have experience with FBX + osgAnimation so can't provide any direct assistance. I am surprised you are using the old and deprecated IntersectVisitor rather modern IntersectionVisitor. I don't know if this might make a difference but it's worth changing over. Robert. On 24 February 2014 12:20, Maxim Gammer maxgam...@gmail.com wrote: Hello I can not solve the problem ... I'm using FBX file with animation character (osgAnimation :: BasicAnimationManager) The problem is that if I look at the feet of the character, then everything is fine, but if I look up, the whole character disappears. Another problem is that the osgUtil :: IntersectVisitor gives nothing at the intersection with the character. How to fix it? -- Maxim Gammer ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] BasicAnimationManager IntersectVisitor
Thank you for your help. The problem is that if I look at the feet of the character, then everything is fine, but if I look up, the whole character disappears? 2014-02-25 1:46 GMT+06:00 Robert Osfield robert.osfi...@gmail.com: Hi Maxim, I'm don't have experience with FBX + osgAnimation so can't provide any direct assistance. I am surprised you are using the old and deprecated IntersectVisitor rather modern IntersectionVisitor. I don't know if this might make a difference but it's worth changing over. Robert. On 24 February 2014 12:20, Maxim Gammer maxgam...@gmail.com wrote: Hello I can not solve the problem ... I'm using FBX file with animation character (osgAnimation :: BasicAnimationManager) The problem is that if I look at the feet of the character, then everything is fine, but if I look up, the whole character disappears. Another problem is that the osgUtil :: IntersectVisitor gives nothing at the intersection with the character. How to fix it? -- Maxim Gammer ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Maxim Gammer ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] BasicAnimationManager IntersectVisitor
I used the osgUtil :: IntersectionVisitor, but it did not fix the problem. Object based on the osgAnimation :: BasicAnimationManager not visible to IntersectionVisitor ( 2014-02-25 9:35 GMT+06:00 Maxim Gammer maxgam...@gmail.com: Thank you for your help. The problem is that if I look at the feet of the character, then everything is fine, but if I look up, the whole character disappears? 2014-02-25 1:46 GMT+06:00 Robert Osfield robert.osfi...@gmail.com: Hi Maxim, I'm don't have experience with FBX + osgAnimation so can't provide any direct assistance. I am surprised you are using the old and deprecated IntersectVisitor rather modern IntersectionVisitor. I don't know if this might make a difference but it's worth changing over. Robert. On 24 February 2014 12:20, Maxim Gammer maxgam...@gmail.com wrote: Hello I can not solve the problem ... I'm using FBX file with animation character (osgAnimation :: BasicAnimationManager) The problem is that if I look at the feet of the character, then everything is fine, but if I look up, the whole character disappears. Another problem is that the osgUtil :: IntersectVisitor gives nothing at the intersection with the character. How to fix it? -- Maxim Gammer ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Maxim Gammer -- Maxim Gammer ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org