Hartmut Leister
2012-03-02 12:34:50 UTC
Hello everyone,
I'm experiencing performance problems with my osg scene. I have many (up to 100k) geometries to display a tree.
I'm building my whole scene graph at the beginning. To view it only partially I inserted
root -> group -> PositionAttitudeTransform -> Switch -> (a/b)
(a) LOD -> Geode -> Geometry or LOD -> BillBoard -> Geometry
(b) Geode -> Geometry
Now when the scene is only partially visible (using osg::Switch), it's laggy nonetheless.
If I wanted to load and save my scene on demand, what would be the best possibility (in regards of performance)
1) write unneeded subgraphs to a file
2) cache unneeded subgraphs (how would I do this?)
3) use NodeMask on osg::Group (would this also black out the respective subgraph?)
Looking forward for input. Thanks in advance.
Hartmut
I'm experiencing performance problems with my osg scene. I have many (up to 100k) geometries to display a tree.
I'm building my whole scene graph at the beginning. To view it only partially I inserted
root -> group -> PositionAttitudeTransform -> Switch -> (a/b)
(a) LOD -> Geode -> Geometry or LOD -> BillBoard -> Geometry
(b) Geode -> Geometry
Now when the scene is only partially visible (using osg::Switch), it's laggy nonetheless.
If I wanted to load and save my scene on demand, what would be the best possibility (in regards of performance)
1) write unneeded subgraphs to a file
2) cache unneeded subgraphs (how would I do this?)
3) use NodeMask on osg::Group (would this also black out the respective subgraph?)
Looking forward for input. Thanks in advance.
Hartmut
--
frag nicht - du könntest eine antwort erhalten
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
frag nicht - du könntest eine antwort erhalten
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de