[osg-users] PagedLOD/ProxyNode design discussion

Schmidt, Richard Richard.Schmidt at eads.com
Wed Nov 25 01:49:07 PST 2009


Hi,
got another opinion on the PagedLOD and ProxyNode topic. :-)

We have been using both nodes for stuff like pseudo loaders as well and
I would recommend to change the interface a little bit. There should be
a common interface for all pageable nodes like:

class PageingNode : public Group {}

and then:

class ProxyNode : public PageingNode {}
class PagedLOD : public PageingNode {}

and now one can easily add custom implementations on top of PageingNode
like

class MyCustomNodeWhichRefreshesTheSubgraphEvery10Seconds : public
PageableNode {}


The design of the databasepager would be cleaner as well.

Regards,
Richard




More information about the osg-users mailing list