[osg-users] Near/Far problem using models with bones.

Dario Minieri paradox at cheapnet.it
Wed Jun 22 12:42:12 PDT 2016


This problem happens using fbx exported from c4d and 3ds max also....so the problem is inside fbx plugin or fbx format/version..I using fbx 2014.2 and ls 3.2.3....hummm...very annoying problem....


mp3butcher wrote:
> Just my opinion but you shouldn't try to display FBX directly in osg: i don't believe the osg FBX reader deals greatly with animated model
> A guess could be that there's a bone translation not correctly interpreted
> either by your FBX blender exporter or either by the osg FBX reader. 
> In all cases that will be hard to find out.
> You could try to remove  the Blender World Transform perhaps it will solve the problem ..:/
> 
> 
> 
> Paradox wrote:
> > Yes I know, it's difficult. Yes I'm using osganimation but it's wrapped inside a larger engine. I thought that this is a known problem but it's not so evidently.
> > 
> > Grossly, if I open one model with bones inside native osganimationviewer I see the same issue: if I move the camera view close to the model this one dissapears when it still must to be visible.  
> > 
> > I attach a short video showing the problem. The model was generated in Cinema 4D (R17), modified in Blender (last version) and exported in FBX 7.4. 
> > 
> > I thought that nearfar setup (DO NOT COMPUTE) or cull visible setup would solve the problem....but no luck right now...
> > 
> > VIDEO
> > 
> > https://vimeo.com/171760352
> > 
> > 
> > 
> > mp3butcher wrote:
> > > Hi Paradox
> > > As you havent' give us much details  (for ex: in my last post I assumed you use osganimation) your problem is hard to diagnose 
> > > Can you give use the minimum code that cause your issue?
> > > 
> > > 
> > > 
> > > Paradox wrote:
> > > > Yes, same issue... :(
> > > > 
> > > > 
> > > > Trajce Nikolov NICK wrote:
> > > > > Hi Dario,
> > > > > 
> > > > > 
> > > > > did you try node->setCullingActive(false)
> > > > > 
> > > > > 
> > > > > On Wed, Jun 22, 2016 at 12:20 PM, Dario Minieri < ()> wrote:
> > > > > 
> > > > > > Hi,
> > > > > > 
> > > > > > Thanks mp3butcher but unfortunately I've already tried to disable the compute and the problem doesn't goes away. I don't really sure about the problem concerning near/far strictly....some other ideas?
> > > > > > 
> > > > > > Thank you!
> > > > > > 
> > > > > > Cheers,
> > > > > > Dario
> > > > > > 
> > > > > > ------------------
> > > > > > Read this topic online here:
> > > > > > http://forum.openscenegraph.org/viewtopic.php?p=67731#67731 (http://forum.openscenegraph.org/viewtopic.php?p=67731#67731)
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > _______________________________________________
> > > > > > osg-users mailing list
> > > > > >  ()
> > > > > > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org (http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org)
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > -- 
> > > > > trajce nikolov nick
> > > > > 
> > > > >  ------------------
> > > > > Post generated by Mail2Forum
> > > > 
> > > 
> > 
> 


------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=67743#67743








More information about the osg-users mailing list