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

Julien Valentin julienvalentin51 at gmail.com
Mon Jun 20 09:18:41 PDT 2016


Hi Paradox
I'm not as experienced with osganimation as i would like but
you perhaps experience problem with hardware animation:
if hardware animation is enable osg (that is cpu side) has no way to compute bounding volume of your model so it can't compute actual near/far planes...
What you can do is either set the default camera cullsettings to DONOTCOMPUTENEARFAR either to use software animation on your model (in this case bounding volume can be compute by osg)
Hope it helps


Paradox wrote:
> Hi,
> 
> I'm experiencing the follow problem: I have some models with bones. When those models reach frustum edge (or corner), they disappear (like near cutoff). I know the scale of bones is really important, if there is an incongruence between the model scale and bones this problem is very annoying, but I'm sure that scales are corrects.
> 
> I'm using an ocean scene with a very aggressive near/far value (0.00000900). Using others values the problem doesn't go away.
> 
> Have you some suggestions?  
> 
> Thank you!
> 
> Cheers,
> Dario


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








More information about the osg-users mailing list