[osg-users] Bug with new BaseUniform

Robert Osfield robert.osfield at gmail.com
Fri Mar 30 05:25:23 PDT 2018

Hi Julien,

On 30 March 2018 at 13:10, Julien Valentin <julienvalentin51 at gmail.com> wrote:
> Since I merged with osg master the 03/22, I encountered a bug:
> I don't understand it yet but it crashes in optimizer l614 comparing a baseUniform(which should be a uniform) with a uniform.
> This silly baseuniform seams to be instanciated via  osgb file reading

Do you mean mean osg::UniformBase?  This is a new base class for
uniforms as the old uniform class is a bit of mess of
design/implemention, the UniformBase makes it possible to implement a
range of properly typed uniforms, such as IntUniform, Vec2Uniform etc.

> Will give more lead but Robert have an idea of what happens it could avoid an other bloody debug session for me

We'll the first thing you need to do if you want help is actually tell
us how to reproduce the problem you are seeing.  Also please don't use
the crude language when you do, it's just plain unpleasant to have to
wade through this type of stuff.


More information about the osg-users mailing list