Re: [osg-users] Merging geometry data

2012-09-17 Thread Irbit Kirill
Hello dear Robert,

I have GTX280, Xeon 3GHz, windows XP sp3. Application uses osgEarth. If we load 
KML file with many similar objects we get problem, that I described.
I'd like to try solve the problem using plain OSG, then port solution to 
osgEarth. Now in osgEarth scene I have 2890 models and only 224 is unique. 
Yes, I used release built.

Thank you!

Cheers,
Kirill

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





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


Re: [osg-users] Merging geometry data

2012-09-14 Thread Irbit Kirill
Hi Tassilo,

Thank you for your time! I've used class optimizer - unfortunately there is no 
result. As we can see 
https://github.com/xarray/osgRecipes/blob/master/cookbook/chapter8/ch08_01/merge_geom.cpp
 - 4 vertices and 9 objects is enough for 30 FPS on my computer. My model 
has 36 vertices. 
I tried load model once then I created new node as reference to loaded model. 
This method allowed to solve only memory management.

Thank you!

Cheers,
Kirill

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





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


Re: [osg-users] Merging geometry data

2012-09-14 Thread Irbit Kirill
Hi,

Yes, at the moment I need static objects.
Yes, I’ve tried ALL_OPTIMIZATIONS
I can merge simple geometry. But in other case i have a problem.
I’ll try to load some data later.

Thank you!

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





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


[osg-users] Merging geometry data

2012-09-13 Thread Irbit Kirill
Hi,

I have a model in *.osg file. I need to place it in ~300 different positions in 
scene. If we use separate geometry or instancing we get poor performance. There 
is topic Merging geometry data in OpenSceneGraph 3 Cookbook. Some samples: 
https://github.com/xarray/osgRecipes/blob/master/cookbook/chapter8/ch08_01/merge_geom.cpp
which describe merging geometry data in simple geometry.

Tell me please, how can i use this method with *.osg or other file? May be 
sample code?
 
Thank you!

Cheers,
Kirill

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





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


Re: [osg-users] [osgPlugins] [SOLVED] osgPlugins DAE (collada) ReaderWriterDAE.cpp, daeReader.h VS2010 compile errors

2012-07-09 Thread Irbit Kirill
I used Collada dom 2.4. But in OSG WiKi:

 As of December 2011, testing indicates that the plugin still does not work 
 with the COLLADA DOM version 2.3.x, but does work with the 2.2.
 


With COLLADA DOM version 2.2. it works fine.

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





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


Re: [osg-users] [osgPlugins] [SOLVED] osgPlugins DAE (collada) ReaderWriterDAE.cpp, daeReader.h VS2010 compile errors

2012-07-03 Thread Irbit Kirill
Hi,

OSG 3.0.1 Release, I didn't make changes to src.
Cmake build a solution.
Compile ReaderWriterDAE.cpp
I got many errors (about 60), first was:
13  ReaderWriterDAE.cpp
13...\src\osgplugins\dae\daeReader.h(161): error C2146: syntax error: missing 
';' before identifier getAssetUpAxis

Please, tell me, how can I build dae pluging.

Thank you!

Cheers,
formusic

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





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


Re: [osg-users] [osgPlugins] osgPlugins DAE (collada) ReaderWriterDAE.cpp, daeReader.h VS2010 compile errors

2012-07-03 Thread Irbit Kirill
I used Collada dom 2.4. But in OSG WiKi:

 As of December 2011, testing indicates that the plugin still does not work 
 with the COLLADA DOM version 2.3.x, but does work with the 2.2.
 


With COLLADA DOM version 2.2. it works fine (almost  :D )
In ..\src\osgPlugins\dae\daeWSceneObjects.cpp we have
292: if 
((node.getCenterMode()==osg::LOD::USER_DEFINED_CENTER)||(node.getCenterMode()==osg::LOD::UNION_OF_BOUNDING_SPHERE_AND_USER_DEFINED))

but OSG 3.0.1 doesn't have osg::LOD::UNION_OF_BOUNDING_SPHERE_AND_USER_DEFINED

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





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