Hi Robert,
This is good news. It was time to take advantage of multicore CPU's
Consider these changes highly experimental so if it crashes and burns,
just warm you hands on the glowing embers of your machine :-)
It crashes and burns here. I wanted to test it with our large size city
and highway databases because they are seem to be CPU limited.
Unfortunately it didn't work. I tried with cow.osg and result is the
same. 'osgviewerproducer cow.osg' works without problem and osgviewer
itself used to work before I updated from CVS so I guess it is related
to the new changes.
I send the console output maybe it helps:
Test env.:
Intel Core 2 Duo , GF7900GTX , SuSe9.3 , NV Driver 97.46
command:
osgviewer cow.osg
output:
big|tugkan>38: osgviewer cow.osg
X11WindowingSystemInterface, xInitThreads() multi-threaded X support
initialized.
CullSettings::readEnvironmentalVariables()
DriveManipulator::_height set to ==1.5
itr='/usr/local/lib'
FindFileInPath() : trying /usr/local/lib/osgdb_osg.so ...
itr='/usr/local/lib/osgPlugins'
FindFileInPath() : trying
/vires/tugkan/Projects/OSGCVS/OpenSceneGraph/src/osgPlugins/osg/Linux32.Opt/osgdb_osg.so
...
FindFileInPath() : USING
/vires/tugkan/Projects/OSGCVS/OpenSceneGraph/src/osgPlugins/osg/Linux32.Opt/osgdb_osg.so
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
Opened DynamicLibrary osgdb_osg.so
itr='/vires/tugkan/Projects/OpenSceneGraph-Data-1.0/'
FindFileInPath() : trying
/vires/tugkan/Projects/OpenSceneGraph-Data-1.0/cow.osg ...
FindFileInPath() : USING
/vires/tugkan/Projects/OpenSceneGraph-Data-1.0/cow.osg
itr='/usr/local/lib'
FindFileInPath() : trying /usr/local/lib/osgdb_rgb.so ...
itr='/usr/local/lib/osgPlugins'
FindFileInPath() : trying
/vires/tugkan/Projects/OSGCVS/OpenSceneGraph/src/osgPlugins/rgb/Linux32.Opt/osgdb_rgb.so
...
FindFileInPath() : USING
/vires/tugkan/Projects/OSGCVS/OpenSceneGraph/src/osgPlugins/rgb/Linux32.Opt/osgdb_rgb.so
Opened DynamicLibrary osgdb_rgb.so
itr='/vires/tugkan/Projects/OpenSceneGraph-Data-1.0'
FindFileInPath() : trying
/vires/tugkan/Projects/OpenSceneGraph-Data-1.0/Images/reflect.rgb ...
FindFileInPath() : USING
/vires/tugkan/Projects/OpenSceneGraph-Data-1.0/Images/reflect.rgb
raw->sizeX = 128
raw->sizeY = 128
raw->sizeZ = 3
raw->bpc = 1
image read ok 128 128
Stats before:
Object Type #Unique #Instanced
StateSet 1 1
Group 1 1
Transform 0 0
LOD 0 0
Switch 0 0
Geode 1 1
Drawable 1 1
Geometry 1 1
Vertices 7772 7772
Primitives 5804 5804
Optimizer::optimize() doing REMOVE_LOADED_PROXY_NODES
Optimizer::optimize() doing COMBINE_ADJACENT_LODS
Optimizer::optimize() doing OPTIMIZE_TEXTURE_SETTINGS
Optimizer::optimize() doing SHARE_DUPLICATE_STATE
Num of StateSet=1
state attribute list
0x80786e8 Material
0x807a680 TexGen
0x8078b50 Texture2D
searching for duplicate attributes
Optimizer::optimize() doing FLATTEN_STATIC_TRANSFORMS
** RemoveStaticTransformsVisitor *** Pass 0
Optimizer::optimize() doing CHECK_GEOMETRY
Optimizer::optimize() doing MERGE_GEOMETRY
MERGE_GEOMETRY took 7e-06
Optimizer::optimize() doing REMOVE_REDUNDANT_NODES
Stats after:
Object Type #Unique #Instanced
StateSet 1 1
Group 1 1
Transform 0 0
LOD 0 0
Switch 0 0
Geode 1 1
Drawable 1 1
Geometry 1 1
Vertices 7772 7772
Primitives 5804 5804
DriveManipulator::_height set to ==1.5
Setting terrain manipulator _minimumDistance to 0.00635558
Viewer::realize() - No valid contexts found, setting up view across all
screens.
Relaxing traits
GraphicsContext::createNewContextID() creating contextID=0
GraphicsWindow has been created successfully.
DriveManipulator::_height set to ==1.5
Setting terrain manipulator _minimumDistance to 0.00635558
Doing remove all operations
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
Doing add
Starting threading
Viewer::startThreading() - starting threading
Making scene thread safe
Segmentation fault
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/