[osg-users] Any way to optimize the performance of massive osg::Text?

2015-01-11 Thread Lv Qing
Hi: 
In our case we need draw 5~10 osg::Text spreading all over the 
earth,the result is not optimistic,the frame is down to 2~3 fps,we can barely 
pan the earth,so is there any way to optimize such mount of  osg::Text? 

 

Thank you!

Cheers,
Lv

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





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


[osg-users] [build] Building OpenSceneGraph-3.3.4 with GDAL 2.0

2015-01-11 Thread Bob Moskovitz
Hi All,

I'm trying to build from git and I get the following error messages:


 [ 82%] Building CXX object 
 src/osgPlugins/ogr/CMakeFiles/osgdb_ogr.dir/ReaderWriterOGR.o
 /home/bob/dev/graphics/osg/src/osgPlugins/ogr/ReaderWriterOGR.cpp: In member 
 function ‘virtual osgDB::ReaderWriter::ReadResult 
 ReaderWriterOGR::readFile(const string, const Options*) const’:
 /home/bob/dev/graphics/osg/src/osgPlugins/ogr/ReaderWriterOGR.cpp:141:31: 
 error: ‘Open’ is not a member of ‘OGRSFDriverRegistrar’
  OGRDataSource* file = OGRSFDriverRegistrar::Open(fileName.c_str());


I did a make -k to see if there were any other errors, but everything else 
compiles fine.  So, in the meantime, I'm back to an older version of GDAL and 
osg compiles.  I have information from the GDAL devs on how to solve this 
problem, but I'm not able to post urls in this forum at this time.

Thank you!

Cheers,
Bob

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





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


[osg-users] Camera default stateset ???

2015-01-11 Thread Trajce Nikolov NICK
Hi Community,

I remember there was a change in the later OSG for calling explicitlly the
setting of some defaults for the Camera (not sure though) stateset?? or
something like that?

If you know what I mean can you point me to the right thing? I tried to
find it in the archive with no luck

Thanks a bunch as always

Nick

-- 
trajce nikolov nick
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org