[osg-users] [osgAnimation::TransformHardware]bug in osg::Uniform ?

Julien Valentin julienvalentin51 at gmail.com
Tue Aug 22 16:51:59 PDT 2017


Err,
Sorry false alarm, I mess up my brain for nothing
Too tired to code


mp3butcher wrote:
> Hi,
> I spend a lot of time debugging osgAnimation::TransformHardware.
> It appears that the bonepalette (mat4array uniform) is not correctly uploaded sometimes (even if I fill it with identity, i continue to have strange matrices in the shader)
> I added a lot of stuff to debug it like methods to limit the size of the bonepalette but it seams not linked (the bug occurs for a mesh with only 2xmat4 uniform!!?)
> I replaced the uniform with a UBO and all work now, but it still is very frustrating not to understand why the uniform is bad
> Do anyone experience the same stuff?
> I debug the call to glUniformMatrix4fv and all seams to be good at first glance
> Could It be a driver issue?
> NVIDIA 381.22 on a GT440
> 
> link to my test model https://drive.google.com/file/d/0BxIH-jcsgYDdbFNEd0VjZktDSm8/view?usp=sharing
> 
> Any tought would be welcome
> Thanks
> 
> 
> 
> 
> 
> 
> Thank you!
> 
> Cheers,
> Julien


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







More information about the osg-users mailing list