[osg-users] Mac compilation error
Hi, The include/osgViewer/View include has that suspicious line: template void setImagePager(const osg::ref_ptr* ip) { setImagePager(ip.get()); } which fails to compile on mac with :member reference base type 'const osg::ref_ptr *' is not a structure or union This pattern using osg::ref_ptr is used in many places but that suspicious line is only one with pointer instead of reference. Philippe. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Mac compilation error
Hi. What SVN revision is it? I can't find such a line in my r14769. 2015-11-22 17:02 GMT+07:00 philippe renon : > Hi, > > The include/osgViewer/View include has that suspicious line: > > template void setImagePager(const osg::ref_ptr* ip) { > setImagePager(ip.get()); } > > which fails to compile on mac with : > > member reference base type 'const osg::ref_ptr *' is not a structure > or union > > > This pattern using osg::ref_ptr is used in many places but that suspicious > line is only one with pointer instead of reference. > > Philippe. > > > ___ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Mac compilation error
Hi, There is already a submission addressing this, but it wasn't merged yet. http://forum.openscenegraph.org/viewtopic.php?t=15401 Cheers, Jannik -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65731#65731 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Cubemap loading from dds
I have a similar issue - I want to display animated cube maps, which will be prerendered in blender, stored as videos and provided to OSG by ffmpeg. My current plan is to load a single buffer of data for each cubemap, in a 1x6 'stack' and create my 6 osg images using a simple linear offset into this buffer, which should hopefully eliminate the need to 'cut up' a 3x2 or 2x3 layout. -Pete -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65733#65733 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] Mac compilation error
Hi, It is in 3.4.0 and in head : https://github.com/openscenegraph/osg/blob/master/include/osgViewer/View Philippe. Le Dimanche 22 novembre 2015 13h28, michael kapelko a écrit : Hi. What SVN revision is it? I can't find such a line in my r14769. 2015-11-22 17:02 GMT+07:00 philippe renon : Hi, The include/osgViewer/View include has that suspicious line: template void setImagePager(const osg::ref_ptr* ip) { setImagePager(ip.get()); } which fails to compile on mac with :member reference base type 'const osg::ref_ptr *' is not a structure or union This pattern using osg::ref_ptr is used in many places but that suspicious line is only one with pointer instead of reference. Philippe. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] pfObject::getNamedUserDataSlot
I have looked at ValueObject and was wondering why there is no option to save an osg::Object or an osg::Referenced object. Is this an omission or intended? Tony V -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65736#65736 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] Bitmap Font
Hello, I haven't really been able to find a bitmap font in OSG. The closest I could find was the DefaultFont in the osgText source code. I was hoping there was an actual bitmap font class that I could use to create fonts from an image. Anyone know of any? Thanks, Aaron ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org