[osg-users] osganimationhardware example

Julien Valentin julienvalentin51 at gmail.com
Thu Oct 25 08:13:49 PDT 2018


Mmmh I compiled 3.6 only to pr and checked the results...
Are you sure you apply the hack to avoid ss sharing?
You need both the correction AND the in order this to work


donvito wrote:
> Nope, the same result sorry.
> Do you have a chance to test the example on your side?
> Thanks
>  G
> 
> 
> mp3butcher wrote:
> > You'reright,
> > there is a diff between my git and the release 3.6
> > 
> > the problem seams to be in osgAnmiation/BoneMapVisitor
> > by removing apply(Node&) function make all work
> > If you can validate this change, i would make a pr to fix it
> > 
> > https://github.com/openscenegraph/OpenSceneGraph/pull/650
> > 
> > donvito wrote:
> > > Uhmm, actually it seems not enough.
> > > As you can see in this screenshot the nathans are still in T-pose while playing...
> > > 
> > > Thanks
> > >  Giuseppe
> > > 
> > > 
> > > mp3butcher wrote:
> > > > Hi,
> > > > It comes from a know bug:
> > > > HardwareTransform doesn't support RigGeometry sharing StateSet.
> > > > One day, I may correct the exampple myHardwareTransform in order to use one overall bonemap common to multiple rigs...
> > > > You can make example work adding this line before copyFrom
> > > > 
> > > > Code:
> > > > 
> > > >       
> > > >         rig.getSourceGeometry()->setStateSet( (osg::StateSet*)  rig.getSourceGeometry()->getStateSet()->clone(osg::CopyOp::SHALLOW_COPY));
> > > >         // copy shallow from source geometry to rig
> > > >         rig.copyFrom(source);
> > > > 
> > > > 
> > > > 
> > > > Thank you!
> > > > 
> > > > Cheers,
> > > > Julien
> > > 
> > 
> 


------------------------
Twirling twirling twirling toward freedom

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







More information about the osg-users mailing list