[osg-users] Bug with new BaseUniform

Julien Valentin julienvalentin51 at gmail.com
Fri Mar 30 11:03:06 PDT 2018


trying to isolate min requirement to reproduce I ran in an other bug concerning removeTextureAttribute :
attribute->getTypeMemberPair() is not found for texture bound to other tu than 0.
as TexAttrs are grouped by tu in ss , I believe that TextureAttribute::getMember should be removed(default 0 is good)...
Am I right?


robertosfield wrote:
> Hi Julien,
> 
> On 30 March 2018 at 13:10, Julien Valentin <> 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.
> 
> Robert.
> _______________________________________________
> osg-users mailing list
> 
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> 
>  ------------------
> Post generated by Mail2Forum


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







More information about the osg-users mailing list