Thanks Laurens,

I haven't used OSG for quite a few years so was planning on getting back up to 
speed by working through the beginners guide and cookbook again, with the first 
task of making sure everything compiles.  I'm not actually sure what the code 
does myself.  I'll try your suggestion and post back,

Shane


Voerman, L. wrote:
> Hi Shane,
> maybe this can help you:
> //from State::setMaxTexturePoolSize(unsigned int size)
> osg::get<TextureObjectManager>(_contextID)->setMaxTexturePoolSize(size)
> 
> I have no idea why you are doing this, as I don't know the Cookbook at all. 
> So dropping the line and leave the default might be an option too.
> 
> 
> Laurens.
> 
> 
> 
> 
> On Fri, Mar 15, 2019 at 10:50 AM Shane MacLaughlin < ()> wrote:
> 
> 
> > Hi,
> > 
> > I'm rebuilding some older code from the OpenSceneGraph Cookbook, and while 
> > I've had a number of minor build errors, most are easy enough to correct.  
> > One I'm having difficulty with is
> > 
> > osg::Texture::getTextureObjectManager(0)->setMaxTexturePoolSize( 64000 );
> > 
> > which reports
> > 
> >  error C2039: 'getTextureObjectManager': is not a member of 'osg::Texture'
> > 
> > Going back to OpenSceneGraph 3.4.0 it is there, but not 3.6.3.  Just 
> > wondering if there is a work around or am I better sticking to OSG 3.4.0 
> > for the older code?
> > 
> > Thank you!
> > 
> > Cheers,
> > Shane
> > 
> > ------------------
> > Read this topic online here:
> > http://forum.openscenegraph.org/viewtopic.php?p=75716#75716 
> > (http://forum.openscenegraph.org/viewtopic.php?p=75716#75716)
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > osg-users mailing list
> >  ()
> > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org 
> > (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=75718#75718





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to